Writing an OS (well... duh? lol ^.^)
Posted: Mon Oct 10, 2005 11:00 pm
Ok. First let me say that this is my first post here, so hi.
Second, let me say that I'm quite the experienced programmer, but in a language NO-ONE uses for normal programming. This language is in Gamemaker, and requires DirectX to do anything.
My goal with my OS: to create a platform that is DirectX (DirectDraw at least) compatible to run applications and such from Gamemaker, including the Gamemaker App itself.
Even if I can't achieve this goal, I'd at least like to get to a point where I can have a GUI.
Ok, that all said, I realize what a big undertaking OS dev is, and how long it takes, and the patience, etc, so please don't go rambling about that ^-^.
I need help with bootloaders. I'm an ASM noob, and a C noob, and a moderate Python user. I'd like to create (or use someone else's with their consent) a bootloader that can eventually lead up to a Python kernel. I'm not certain how hard this is or how to do it, and I don't know how to run a Python script w/o an interpreter, which is of course OS based. This said I may have to drop that dream. If it is possible, I'm sure I'd have to go from ASM to C to Python, in that order. If it's realistic, tell me. Otherwise:
I need help making a bootloader that can pass control of the OS to another file, bypassing the limit of 512k. I know that there are those out there, but I cannot find one that will compile and work correctly. I use FASM to write my assembly, and have NASM to compile most others' works. If someone can point me to a good tutorial and has reason (or code to use) for me to switch compilers, then feel free ^.^
After I've created this bootloader, I'll need to know how to get input besides just a "Press Any Key" function, which is all I seem to be able to find. I also need to know how to run external programs (load a .com file into memory and execute it, etc.) I have a loose grasp on how to do this in ASM, but if it can be passed to a C program to do this, explain.
Sorry if I've been too longwinded - please tell me if I have. Thanks - Yushatak (www.devportal.tk - under construction)
Second, let me say that I'm quite the experienced programmer, but in a language NO-ONE uses for normal programming. This language is in Gamemaker, and requires DirectX to do anything.
My goal with my OS: to create a platform that is DirectX (DirectDraw at least) compatible to run applications and such from Gamemaker, including the Gamemaker App itself.
Even if I can't achieve this goal, I'd at least like to get to a point where I can have a GUI.
Ok, that all said, I realize what a big undertaking OS dev is, and how long it takes, and the patience, etc, so please don't go rambling about that ^-^.
I need help with bootloaders. I'm an ASM noob, and a C noob, and a moderate Python user. I'd like to create (or use someone else's with their consent) a bootloader that can eventually lead up to a Python kernel. I'm not certain how hard this is or how to do it, and I don't know how to run a Python script w/o an interpreter, which is of course OS based. This said I may have to drop that dream. If it is possible, I'm sure I'd have to go from ASM to C to Python, in that order. If it's realistic, tell me. Otherwise:
I need help making a bootloader that can pass control of the OS to another file, bypassing the limit of 512k. I know that there are those out there, but I cannot find one that will compile and work correctly. I use FASM to write my assembly, and have NASM to compile most others' works. If someone can point me to a good tutorial and has reason (or code to use) for me to switch compilers, then feel free ^.^
After I've created this bootloader, I'll need to know how to get input besides just a "Press Any Key" function, which is all I seem to be able to find. I also need to know how to run external programs (load a .com file into memory and execute it, etc.) I have a loose grasp on how to do this in ASM, but if it can be passed to a C program to do this, explain.
Sorry if I've been too longwinded - please tell me if I have. Thanks - Yushatak (www.devportal.tk - under construction)