Date: Wed, 28 Apr 1999 10:23:30 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Johan Henriksson cc: djgpp AT delorie DOT com Subject: Re: Writing an OS In-Reply-To: <004401bc533f$3d529a80$cef9c6c3@johans-dator> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.