summaryrefslogtreecommitdiff
path: root/v4.0/src/BIOS/DEFEMS.INC
diff options
context:
space:
mode:
authorGravatar Mark Zbikowski2024-04-25 21:24:10 +0100
committerGravatar Microsoft Open Source2024-04-25 22:32:27 +0000
commit2d04cacc5322951f187bb17e017c12920ac8ebe2 (patch)
tree80ee017efa878dfd5344b44249e6a241f2a7f6e2 /v4.0/src/BIOS/DEFEMS.INC
parentMerge pull request #430 from jpbaltazar/typoptbr (diff)
downloadms-dos-main.tar.gz
ms-dos-main.tar.xz
ms-dos-main.zip
MZ is back!HEADmain
Diffstat (limited to 'v4.0/src/BIOS/DEFEMS.INC')
-rw-r--r--v4.0/src/BIOS/DEFEMS.INC33
1 files changed, 33 insertions, 0 deletions
diff --git a/v4.0/src/BIOS/DEFEMS.INC b/v4.0/src/BIOS/DEFEMS.INC
new file mode 100644
index 0000000..a1786d0
--- /dev/null
+++ b/v4.0/src/BIOS/DEFEMS.INC
@@ -0,0 +1,33 @@
1;J.K. This is a temporary version of EMS function definitions needed for
2;IBMBIO SYSINIT.
3
4EMS_INT equ 67h ;interrupt vector designated for EMS.
5
6EMS_STATUS equ 40h ;status of memery manager
7EQ_PAGES equ 42h ;get number of unallocated & total pages
8E_GET_HANDLE equ 43h ;allocate pages
9EMAP_L_TO_P equ 44h ;Map logical to physical page
10EMAP_STATE equ 4Fh ;Mapping status
11 GET_MAP_STATE equ 00h
12 GET_MAP_SIZE equ 02h
13 SET_MAP_STATE equ 01h
14EDE_ALLOCATE equ 45h ;deallocate pages
15EMS_VERSION equ 46h ;Get EMM version number
16GET_PAGE_FRAME equ 58h ;Get page frame address
17 GET_PAGEFRAME_TAB equ 00H
18 GET_NUM_PAGEFRAME equ 01H
19EMS_HANDLE_NAME equ 53h
20 SET_HANDLE_NAME equ 01h
21
22IBM_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
28MAX_NUM_PAGEFRAME equ 64 ;maximum number of page frames MSBIO can
29 ;handle
30
31EMSVERSION equ 40h ;4.0
32
33 \ No newline at end of file