JavaScript is required to use

  • 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

    65 Members
    Total number of users that have joined this group
    4 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


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:


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

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