home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
misc
/
psy_kit.zip
/
32BMM.INC
< prev
next >
Wrap
Text File
|
1993-07-18
|
995b
|
48 lines
; 32bMM.INC
; 32 Bits Memory Manager was coded by LCA of Psychose Inc.
; (C)opyright 1993 by LCA of Psychose Inc.
; EXTERNALS:
; ▀▀▀▀▀▀▀▀▀▀
Extrn Init32bMM : far
; CALL : Nothing
; RETURN : AL=Processor
; AH=MemoryMode
; Other registers may be modified
Extrn End32bMM : far
; CALL : Nothing
; RETURN : Registers may be modified
Extrn AskRAM : far
; CALL : AX=Size in Kilo-Bytes of asked RAM
; RETURN : if EAX=0 then ERROR
; else GS:EAX=Pointer of the asked-block
; CL=MemoryMode (DOS or XMS)
; DX=Handle number
; Other registers not modified
Extrn LetRAM : far
; CALL : CL=MemoryMode of selected block
; DX=Handle number of selected block
; RETURN : Nothing (Registers not modified)
Extrn Processor : byte
; See CPUxxxx Constants
Extrn MemoryMode : byte
; See xxx_Mode Constants
; CONSTANTS
; ▀▀▀▀▀▀▀▀▀
DOS_Mode = 0
XMS_Mode = 1
CPU386P = 4
CPU386 = 3
CPU286 = 2
CPU8086 = 0