To some of you this might be a dumb question, but is there any way to compile a C program onto a boot disk? So the program runs when the computer starts? Or do you need to use ASM?
Printable View
To some of you this might be a dumb question, but is there any way to compile a C program onto a boot disk? So the program runs when the computer starts? Or do you need to use ASM?
You mean like an autoexec.bat file, which just contains
a:\myprog.exe
Nevermind. reading this:
http://www.osdev.org/developers/guid...dex.html#About
Well sure, if you're making an OS...if you just want it to start when windows starts there's a miriad of ways...
Found this quite useful when I was looking for something similar.
http://www.nondot.org/sabre/os/files.../nasmBoot.html
Hope it helps.
I was just making a bootdisk version of PONG
guys,
anyone of you knows the author of this link
http://www25.brinkster.com/acos
ken posted the link. maybe ken knows the author... can you tell me?
lliero