The quick answer is Yes and No. Yes, it is possible and No, because it is too difficult for you to do. Sorry if that seems condescending.Im currently writing a small program in qbasic on msdos. My question is can I use c to write a program that can run on a pc without having to load windows first. Is there any code that can run immediately the pc leaves the bios, an os free program?
No need for textbooks on DOS since the TS is asking "Is there any code that can run immediately the pc leaves the bios, an os free program?" A program requiring an OS, like DOS, would clearly not answer the question.Perfectly doable.
Firstly, you will need to find some textbooks or reference manuals on the PC BIOS and DOS.
I suggest that you learn 8086 ASM programming in order to do this. You will need to call INT functions in BIOS.
Why? All DOS does is interface to the outside world by various methods, you still need these operations regardless.I'd have thought that Windows did away with DOS long time ago .
by Jake Hertz
by Jake Hertz
by Jake Hertz