top of page
pc-98 bios
pc-98 bios

Bios - Pc-98

AH = 22h Returns: DH = row, DL = column

AH = 41h DL = drive CX = track number (0–79 for 2HD) DH = head (0 or 1) CH = sector number (1–8 for 2HD) AL = number of sectors ES:BX = buffer INT 18h Returns: CF = 0 if OK pc-98 bios

| Feature | IBM PC | PC-98 | |--------|--------|-------| | BIOS entry point | INT 0x10 (video), 0x13 (disk), etc. | INT 18h (main dispatcher) | | Video memory | Segmented (B800h) | Plane-based (0xA0000–0xAFFFF) | | Text mode | 80x25, 16 colors | 80x25 or 80x28 (640x400) 8/16 colors | | Disk access | CHS via INT 13h | FDC + BIOS via INT 18h AH=xx | | Real-time clock | CMOS INT 1Ah | Dedicated I/O ports / BIOS calls | | Keyboard | INT 16h | INT 18h AH=10h–17h, scancode translation | | Interrupt controller | Dual 8259 (master/slave) | Single 8259 (IRQ 0–7, no cascade) | | Memory map | 640KB base, A0000–FFFFF reserved | 640KB–1MB: video, system BIOS, I/O | Critical: Do not assume INT 10h works. It will crash or do nothing. 2. Main BIOS Dispatcher: INT 18h All PC-98 BIOS services go through INT 18h with function code in AH . Standard calling convention: AH = function number Other registers = parameters INT 18h Results in registers (often AL, BX, CX, DX) Common function groups (AH values): | AH | Description | |----|-------------| | 00h–0Fh | System / reset / configuration | | 10h–17h | Keyboard | | 20h–2Fh | Display (text mode, cursor, scroll) | | 30h–3Fh | Graphics (GDC commands) | | 40h–4Fh | Disk I/O (FDD, HDD) | | 50h–5Fh | Printer / serial | | 60h–6Fh | Timer / date / time | | 70h–7Fh | System information | | 80h–8Fh | Extended memory (EMS / BIOS) | | 90h–9Fh | Sound / beep | | C0h–CFh | Mouse | 3. Useful BIOS Calls by Category 🔹 Keyboard (AH=10h–17h) Read character with wait AH = 22h Returns: DH = row, DL

AH = 63h CX:DX = microseconds INT 18h (blocks) Get BIOS version Useful BIOS Calls by Category 🔹 Keyboard (AH=10h–17h)

AH = 42h (same registers as read)

bottom of page