]> wirehaze git hosting - MS-DOS.git/blob - v4.0/src/BIOS/DEFEMS.INC

wirehaze git hosting

MZ is back!
[MS-DOS.git] / v4.0 / src / BIOS / DEFEMS.INC
1 ;J.K. This is a temporary version of EMS function definitions needed for
2 ;IBMBIO SYSINIT.
3
4 EMS_INT equ 67h ;interrupt vector designated for EMS.
5
6 EMS_STATUS equ 40h ;status of memery manager
7 EQ_PAGES equ 42h ;get number of unallocated & total pages
8 E_GET_HANDLE equ 43h ;allocate pages
9 EMAP_L_TO_P equ 44h ;Map logical to physical page
10 EMAP_STATE equ 4Fh ;Mapping status
11 GET_MAP_STATE equ 00h
12 GET_MAP_SIZE equ 02h
13 SET_MAP_STATE equ 01h
14 EDE_ALLOCATE equ 45h ;deallocate pages
15 EMS_VERSION equ 46h ;Get EMM version number
16 GET_PAGE_FRAME equ 58h ;Get page frame address
17 GET_PAGEFRAME_TAB equ 00H
18 GET_NUM_PAGEFRAME equ 01H
19 EMS_HANDLE_NAME equ 53h
20 SET_HANDLE_NAME equ 01h
21
22 IBM_PAGE_ID equ 255 ;Physical page id that will be used by
23 ;IBMBIO and IBMDOS for buffer manipulation.
24
25 ;MAX_NUM_PAGEFRAME equ 12 ;maximum number of page frames IBMBIO can
26 ;handle
27
28 MAX_NUM_PAGEFRAME equ 64 ;maximum number of page frames MSBIO can
29 ;handle
30
31 EMSVERSION equ 40h ;4.0
32
33 \1a