Int 63 Function 00 - Map/Unmap Pages
This function maps one or more consecutive pages from a chip into consecutive physical pages, or unmaps one or more consecutive pages from the physical page frame. This function replaces the Int 63h function 44h in the HP 95LX.
- Input: AH = 00h
AL = Physical page#, 0, 4, 5, 6, 7, 8, 9, 0Ah, or 0Bh
BX = Logical page#
CX = Number of consecutive logical pages to map (or unmap)
DX = Device select code (0-6)
- Output: AH = Completion status;
00h Success (No Error)
83h Error - Invalid DX
8Ah Error - Invalid BX (physical page 0, logical page not multiple of 4)
8Bh Error - Invalid AL
A4h Error - Invalid CX
- Error conditions: AH non-zero (See above)
- Registers modified: AH
Special constraints apply if the physical page is 0 since page 0 is a 64-KB page. The number of pages to map must be at least 4 and the logical page number must be a multiple of 4.
Logical page# = FFFFh indicates that the physical page(s) are to be unmapped.
Device select codes (some PC board sites may be unoccupied):
- 0 -NRCE (Built-in system ROM)
- 1 - NRAS[0] Built-in RAM; hard configured to start at 00000h.
- 2 -NRAS[1] Built-in RAM
- 3 - NRAS[2] Built-in RAM
- 4 - NRAS[3] Built-in RAM
- 5 - NCS[0] Plug-in slot 0
- 6 - Unused