Mail Archives: djgpp/2000/12/08/01:49:52
> From: Russ Magee <rmageeNO_SPAM AT home DOT com>
> Newsgroups: comp.os.msdos.programmer,comp.os.msdos.djgpp
> Date: Thu, 07 Dec 2000 17:38:01 -0700
>
> Is this going to be a problem? My (limited) understanding is that DPMI is
> just an API for accessing DOS calls from protected mode.
That's true.
> What changes,
> visible at the C-language level, will typically have to be made to make
> a DJGPP/DPMI app compile in Borland C?
>
> Specifically, setting up registers, pointer declarations, data struct size
> limits...
``Setting up registers'' hints of system-level programming: invoking
interrupts directly from the application, examining DOS data
structures, etc. These aspects are very different between the two
environments: the functions' names differ (__dpmi_int vs int86), the
rules for writing interrupt handlers differ, and I think the runtime
environment (registers loaded by the compiler, memory layout) differs
as well.
> (This didn't look to be covered in the FAQ
Why should a DJGPP FAQ explain how to convert code from DJGPP to BC?
- Raw text -