summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bef3697)
modified: exmmtest.exe
modified: src/lib/16_mm.c
modified: src/lib/16_mm.h
union REGS CPURegs;
unsigned int EMSVer = 0;
union REGS CPURegs;
unsigned int EMSVer = 0;
unsigned totalEMSpages,freeEMSpages,EMSpageframe,EMSpagesmapped,EMShandle;
totalEMSpages = freeEMSpages = EMSpageframe = EMSpagesmapped = 0;
unsigned totalEMSpages,freeEMSpages,EMSpageframe,EMSpagesmapped,EMShandle;
totalEMSpages = freeEMSpages = EMSpageframe = EMSpagesmapped = 0;
mov ah,EMS_STATUS
int EMS_INT // make sure EMS hardware is present
or ah,ah
mov ah,EMS_STATUS
int EMS_INT // make sure EMS hardware is present
or ah,ah
jnz error
mov ah,EMS_VERSION
jnz error
mov ah,EMS_VERSION
boolean mmstarted, bombonerror, mmerror;
void huge *farheap;
void *nearheap;
boolean mmstarted, bombonerror, mmerror;
void huge *farheap;
void *nearheap;
unsigned totalEMSpages,freeEMSpages,EMSpageframe,EMSpagesmapped,EMShandle;
unsigned int EMSVer;
word numUMBs,UMBbase[MAXUMBS];
unsigned totalEMSpages,freeEMSpages,EMSpageframe,EMSpagesmapped,EMShandle;
unsigned int EMSVer;
word numUMBs,UMBbase[MAXUMBS];