diff options
| author | 2024-04-25 21:24:10 +0100 | |
|---|---|---|
| committer | 2024-04-25 22:32:27 +0000 | |
| commit | 2d04cacc5322951f187bb17e017c12920ac8ebe2 (patch) | |
| tree | 80ee017efa878dfd5344b44249e6a241f2a7f6e2 /v4.0/src/BIOS/DEFEMS.INC | |
| parent | Merge pull request #430 from jpbaltazar/typoptbr (diff) | |
| download | ms-dos-main.tar.gz ms-dos-main.tar.xz ms-dos-main.zip | |
Diffstat (limited to 'v4.0/src/BIOS/DEFEMS.INC')
| -rw-r--r-- | v4.0/src/BIOS/DEFEMS.INC | 33 |
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 | |||
| 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 | \ No newline at end of file | ||