MS-DOS/v4.0/src/BIOS/DEFEMS.INC
Mark Zbikowski 2d04cacc53 MZ is back!
2024-04-25 22:32:27 +00:00

33 lines
1011 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

;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