Mail Archives: djgpp/1999/04/28/06:55:37
On Sun, 27 Apr 1997, Johan Henriksson wrote:
> But you're right: Without any
> DOS-calls, it would be possible. Sadly, printf() use them...
DOS (and BIOS) calls are only one problem; there are others. For
example, some library functions use fixed absolute addresses in
conventional memory to access BIOS data area, write the screen, etc.
Other functions assume that certain hardware interrupts are hooked in a
particular way that's only true under DOS/DPMI. Etc. etc.--the list of
system dependencies goes on and on... Even the startup code won't run
without DOS underneath.
- Raw text -