summaryrefslogtreecommitdiff
path: root/v4.0/src/BIOS/DEFEMS.INC
blob: a1786d0c5996e86d417adc8e9547acfb7dad21d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
;J.K. This is a temporary version of EMS function definitions needed for
;IBMBIO SYSINIT.

EMS_INT 	equ	67h	;interrupt vector designated for EMS.

EMS_STATUS	equ	40h	;status of memery manager
EQ_PAGES	equ	42h	;get number of unallocated & total pages
E_GET_HANDLE	equ	43h	;allocate pages
EMAP_L_TO_P	equ	44h	;Map logical to physical page
EMAP_STATE	equ	4Fh	;Mapping status
    GET_MAP_STATE     equ    00h
    GET_MAP_SIZE      equ    02h
    SET_MAP_STATE     equ    01h
EDE_ALLOCATE	equ	45h	;deallocate pages
EMS_VERSION	equ	46h	;Get EMM version number
GET_PAGE_FRAME	equ	58h	;Get page frame address
    GET_PAGEFRAME_TAB equ 00H
    GET_NUM_PAGEFRAME equ 01H
EMS_HANDLE_NAME equ	53h
    SET_HANDLE_NAME equ  01h

IBM_PAGE_ID	equ	255	;Physical page id that will be used by
				;IBMBIO and IBMDOS for buffer manipulation.

;MAX_NUM_PAGEFRAME equ	 12	;maximum number of page frames IBMBIO can
				;handle

MAX_NUM_PAGEFRAME equ	 64	;maximum number of page frames MSBIO can
				;handle

EMSVERSION	equ	40h	;4.0