JavaScript is required to use Bungie.net

  • Mission Statement

    A Group for programmers and developers of every area of computing, be it web or client, C# or CSS, this is the place to discuss your projects, problems, ambitions and more. Feel at home in this group, come on in.

  • Membership

    66 Members
    Total number of users that have joined this group
    11 Years as a Group
    Total number of years this group has been active
  • Admins

  • Tagged

originally posted in:Programmers and Devs
Edited by Funkbrotha10: 3/27/2013 11:21:55 PM
3

0x10c

I wrote a BIOS for Notch's next game. Long story short, in Notch's next game you will control a space ship via a 16 bit computer ( The DCPU16 ) you will have to program this computer with assembly. Or you can use a higher level language if someone writes a compiler for it ( there are already C compilers out there for the DCPU16 ) I wrote this simple BIOS. Designed to mimic the standard x86 boot process. Right now it will load a 512 word bootsector from a simulated floppy drive, and then transfer control over to that 512 byte chunk of code. I linked the source on pastebin if anyone is interested in this kind of thing. next up I will impliment a "hibernation mode" where the entire state of the system is written to the disk. And then restored from the disk at a later time. and eventually a multitasking / threading system. One thing you will immediately notice when writing OS level code is there is nothing to start with, there is no #include <iostream> no printf. You will have to impliment all of those yourself if you want to have that functionality. here is a bit of C from my BIOS that prints a string to the screen int VPTR = 0x8000; void bios_print_string ( char* str ) { --------if ( *str != 0x0000 ) --------{ -------------*VPTR = *str; -------------*VPTR |= 0xF000; -------------VPTR++; -------------str++; -------------bios_print_string ( str ); --------} }

Posting in language:

 

Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • What is the game's goal exactly? We have to program to make the ship move autonomously or what? I'm learning Assembly next semester, so this would be a fun game to practice with. xD

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

    2 Replies
    • Is there any expected date of release or anything for 0x10c? I heard him talking about it ages ago, but I've hardly heard a thing since. So that is assembly? It doesn't look as bad as I was expecting, but it is still rather sparse. This'll certainly be interesting when it releases. Hopefully I can be motivated to learn some assembly then too.

      Posting in language:

       

      Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

      2 Replies
      • Jesus... That looks intense.

        Posting in language:

         

        Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

      You are not allowed to view this content.
      ;
      preload icon
      preload icon
      preload icon