Results 1 to 5 of 5
  1. #1
    Auxilium's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,518
    Reputation
    445
    Thanks
    609
    My Mood
    Happy

    OS development - 16/I 0.0.3

    I know it was a bad idea making the I lowercase, going to change that.

    Yeah, I know, the name is not longer 32/I but now is 16/I, sorry about that.
    I realized this is my very first hobby operating system, and I wanted to keep it as simple as possible, and I realized that there was no need for 32 bit. For simplicity sake, and for the ease of programming, and since it is my first hobby OS, I just felt I wanted to be able to complete something than give up on something more complex. I'm positive i'm not going to need more than the 64k real mode limit, considering my 2nd stage loader + kernel is only 2kb large so far, and over 70% of that comes from the strings, because I love my strings.

    Either way, I worked 12 hours today, rewrote everything from scratch.

    So far it has: 2nd stage boot loader where it will do diagnostics or whatever, then the kernel which has an extremely basic CLI with 3 supported commands. Help, about and reg, which dumps the register contents.

    So far I also made a Binary to ascii, hex to ascii, and decimal to ascii, and boy, the hex to ascii was a pain to implement, then I realized I made a simple error

    Here is a GIF, over 1 minute long


  2. #2
    radnomguywfq3's Avatar
    Join Date
    Jan 2007
    Gender
    male
    Location
    J:\E\T\A\M\A\Y.exe
    Posts
    8,858
    Reputation
    381
    Thanks
    1,823
    My Mood
    Sad
    Looks like you're coming along quite well. Nice to know someone else here is into kernel development. You may want to look into to digital electronics as well (I know that is was through low-level programming that I got interested into electronics.)

    Anyway, are you testing your algorithms inside of the virtual machine? I always found that debugging the logic inside of i.e visual studios and then reimplementing it into the kernel really increased development times, since the debugging environment your virtual machine has to offer isn't much compared to what visual studios has to offer.

    You could also consider using qemu which has a (primitive but probably sufficient) debugger until you establish some sort of interface for a more advanced kernel debugger.



    There are two types of tragedies in life. One is not getting what you want, the other is getting it.

    If you wake up at a different time in a different place, could you wake up as a different person?


  3. #3
    Auxilium's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,518
    Reputation
    445
    Thanks
    609
    My Mood
    Happy
    Quote Originally Posted by Jetamay View Post
    Looks like you're coming along quite well. Nice to know someone else here is into kernel development. You may want to look into to digital electronics as well (I know that is was through low-level programming that I got interested into electronics.)

    Anyway, are you testing your algorithms inside of the virtual machine? I always found that debugging the logic inside of i.e visual studios and then reimplementing it into the kernel really increased development times, since the debugging environment your virtual machine has to offer isn't much compared to what visual studios has to offer.

    You could also consider using qemu which has a (primitive but probably sufficient) debugger until you establish some sort of interface for a more advanced kernel debugger.
    I mostly use bochs for testing, which I find is pretty nice.
    I've checked out qemu but never actually installed it.

    I only use virtual PC when I want to see the OS after I know everything should be working fine, because I think Virtual PC is superior to bochs when trying to give a genuine computer feel, though bochs is for the debugging.

    I'm going to rewrite most of the command line interface and the commands because I just whipped something together as a demo of sorts, and the code is horribly messy and rushed. As for now, I'm just working on the actual system itself

  4. #4
    Auxilium's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,518
    Reputation
    445
    Thanks
    609
    My Mood
    Happy
    Update:

    Done working for today. 16/I is now version 0.0.4 with a working exception handler! I made a suicide command just to test if my exception handler works, and it does All it does divide 0 by 0 and since the IVT now holds a pointer to my code, it will execute the death screen instead of just halt the machine.

    The death screen right now just dumps registers and says what exception happened.

    Last edited by Auxilium; 02-17-2013 at 04:09 PM.

  5. #5
    Margherita's Avatar
    Join Date
    Jan 2011
    Gender
    female
    Posts
    11,299
    Reputation
    783
    Thanks
    1,287
    My Mood
    Bashful
    Damn, good luck with this shit, you're doing good.
    PM Me | VM Me | Rules

    MARGHERITA

Similar Threads

  1. Direct-X Tutorials (Game Development)
    By Dave84311 in forum C++/C Programming
    Replies: 12
    Last Post: 02-27-2009, 11:15 AM
  2. Driver Development Kit/ Plz
    By Stefanlg14 in forum WarRock - International Hacks
    Replies: 1
    Last Post: 04-16-2007, 09:57 AM
  3. Developer's Mode // GPS for those who requested it.
    By KenCat in forum WarRock - International Hacks
    Replies: 22
    Last Post: 04-11-2007, 08:50 PM
  4. Replies: 2
    Last Post: 03-01-2007, 07:10 PM