Results 1 to 5 of 5
  1. #1
    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,813
    My Mood
    Sad

    JetaOS - DarkCPU

    Soh as you guys might have heard, I've been trying to write a kernel for the DCPU.

    Although I had to severely cut down on my studying, I spent all of today and yesterday building a kernel and it has actually come pretty far. I won't actually post the source code because I don't want my competitors (other 0x10c players) to jack it, but so far I've got:

    Heap Management
    Graphics (Text, I would implement interfacing directly with palette but the resolution is so small it would be useless.)
    Timing module
    Multi-threading
    Executable Image Loader
    UserInterface manager
    Import\Export Tables, IE interprocess communication.

    The only good that comes out of having an entire operating system stuck in the same address space is that it is so easy to communicate with other modules and plug in drivers etc...

    Sometime this week (if I can find any time, which is highly unlikely) I am going to finish programming the shell application, then implement a file-system driver and finally start working on networking.

    Here is a look at the kernel export table for now (and the structure of an image header)
    Code:
    kernel_image_header:
    kernel_signature:
        DAT PEIMAGE_SIGNATURE
    
    kernel_header_next:
        DAT    0xFFFF
    
    kernel_name:
        DAT "kernel", 0, 0, 0, 0
    
    kernel_rva_ep:
        DAT main
    
    kernel_rva_import:
        DAT kernel_import_table
    kernel_rva_export:
        DAT kernel_export_table
    
    kernel_import_table:
        DAT 0
        DAT 0
    
    kernel_export_table:
        DAT memory_reserve                        ; 0
        DAT memory_allocateMemory
        DAT memory_freeMemory
        
        DAT bitmap_set                            ; 3
        DAT bitmap_clear
        DAT bitmap_get
        
        DAT graphics_writeString                ; 6
        
        DAT userInterfaceState_createState        ; 7
        DAT userInterfaceState_destroyState
        DAT userInterfaceState_getVram
        DAT userInterfaceState_setActive
        DAT userInterfaceState_clearActiveState
        
        DAT threading_createThread                ;12
        DAT threading_removeThread
        DAT threading_lock
        DAT threading_release
        
        DAT peLoader_findModule                    ;16
        DAT peLoader_create
        
        DAT clock_getTicks                        ;18
        
        DAT 0



    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?


  2. #2
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,196
    Reputation
    205
    Thanks
    1,439
    My Mood
    Mellow
    You should work on your JetaOS that you started for the 8086 instead.

  3. #3
    Dave84311's Avatar
    Join Date
    Dec 2005
    Gender
    male
    Location
    The Wild Wild West
    Posts
    29,798
    Reputation
    4042
    Thanks
    37,634
    My Mood
    Devilish
    Why the fuck, would you fucking, make a fucking os, for that shitty game?

    Jetamay problems.





    THE EYE OF AN ADMINISTRATOR IS UPON YOU. ANY WRONG YOU DO IM GONNA SEE, WHEN YOU'RE ON MPGH, LOOK BEHIND YOU, 'CAUSE THATS WHERE IM GONNA BE


    "First they ignore you. Then they laugh at you. Then they fight you. Then you lose.” - Dave84311

    HAD VIRTUAL DETOX

  4. #4
    Obey's Avatar
    Join Date
    Jan 2008
    Gender
    male
    Location
    The Magical Mushroom
    Posts
    24,734
    Reputation
    878
    Thanks
    3,451
    My Mood
    Buzzed
    Quote Originally Posted by Dave84311 View Post
    Why the fuck, would you fucking, make a fucking os, for that shitty game?

    Jetamay problems.
    What Dave said.............

  5. #5
    Hux's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    Candy Kingdom
    Posts
    6,830
    Reputation
    588
    Thanks
    779
    My Mood
    Brooding
    good luck with that.

Similar Threads

  1. JetaOs bootsector
    By radnomguywfq3 in forum Assembly
    Replies: 7
    Last Post: 10-23-2009, 01:03 PM
  2. Jetaos 0.1b source
    By radnomguywfq3 in forum C++/C Programming
    Replies: 2
    Last Post: 10-17-2009, 05:48 PM
  3. JetaOs -- Looking for contributers from MPGH
    By radnomguywfq3 in forum C++/C Programming
    Replies: 20
    Last Post: 10-13-2009, 08:39 PM
  4. JetaOs -- Looking for contributers from MPGH
    By radnomguywfq3 in forum General
    Replies: 4
    Last Post: 10-13-2009, 03:49 AM
  5. jetaos
    By radnomguywfq3 in forum General
    Replies: 58
    Last Post: 10-09-2009, 04:40 AM