Click on a module to its source.
NOTE: These source files (not all have been made public--in particular
the voxel engine source is not here) are intended to help future users of
DJGPP/NASM in performing basic functions such as loading/saving files and
allocating memory. They all use the C-function-emulator macro file myC32.mac,
which provides the invoke macro and various other macros to make writing
procedures much more similar to MASM.
DPMI Interrupt Interface (dpmi_int.asm, dpmi_int.inc)
Provides easy way to execute a software interrupt through DPMI. Used almost
exclusively by the file access functions.
DPMI Memory Interface (dpmi_mem.asm, dpmi_mem.inc)
Provides easy way to allocate and free various critical memory blocks through
DPMI. Used by the main program and the VESA graphics routines.
File Access Interface (filefunc.asm, filefunc.inc)
Allows near-transparent file opening, reading, and writing by doing the grunt
work of moving data to DOS through the DPMI transfer buffer.
DJGPP Loader (myloader.asm)
Provides the external main function called by DJGPP on program load. Gets
a couple DPMI descriptors and then passes control to the main program.
32-bit C Macros (myC32.mac)
Provides the macros used to easily write functions using the C calling convention in NASM.