Module pcbios.inc - PC platform BIOS and related constants
PC platform BIOS and related constants. This file defines various constants for the PC BIOS and related memory spaces.
Index
-
Group
BIOS.CFG- Offsets in the BIOS configuration area-
Constant
BIOS.CFG.BIOSCTL- PS/2 bios control flags (8-bit) -
Constant
BIOS.CFG.COM1- First serial port (16-bit) -
Constant
BIOS.CFG.COM2- Second serial port (16-bit) -
Constant
BIOS.CFG.COM3- Third serial port (16-bit) -
Constant
BIOS.CFG.COM4- Fourth serial port (16-bit) -
Constant
BIOS.CFG.DISKPORTOFF- Port offset to current fixed disk adapter (8-bit) -
Constant
BIOS.CFG.DRECAL- Drive recalibration status (8-bit) -
Constant
BIOS.CFG.EBDA- Extended BIOS data area for EISA and MCA systems (16-bit) -
Constant
BIOS.CFG.EQUIP- Equipment list flags (16-bit) -
Constant
BIOS.CFG.IRKYBERR- PCjr: number of infrared keyboard link errors (8-bit) -
Constant
BIOS.CFG.LPT1- First parallel port (16-bit) -
Constant
BIOS.CFG.LPT2- Second parallel port (16-bit) -
Constant
BIOS.CFG.LPT3- Third parallel port (16-bit) -
Constant
BIOS.CFG.LPT4- Fourth parallel port (16-bit) -
Constant
BIOS.CFG.MEMSIZE- Machine base memory size (in KiB -1) (16-bit) -
Constant
BIOS.CFG.MSTATE- Drive 0-4 media state (4 * 8-bit) -
Constant
BIOS.CFG.NDISKS- Number of hard-disks attached (8-bit)
-
Constant
-
Constant
BIOS.CFG.MEMBASE- BIOS configuration area address -
Group
BIOS.EQUIP- BIOS equipment list flags bits (BIOS.CFG.EQUIP)-
Constant
BIOS.EQUIP.GAME- Game adapter installed -
Constant
BIOS.EQUIP.INTMODEM- Internal modem -
Constant
BIOS.EQUIP.IPL- IPL disk installed -
Constant
BIOS.EQUIP.MATH- Math co-processor installed -
Constant
BIOS.EQUIP.NDISK.MASK- Number of disk-drives minus 1 (if .IPL = 1) -
Constant
BIOS.EQUIP.NDISK.SHIFT- Shift to get number of disk drives -
Constant
BIOS.EQUIP.NODMA- 0 if DMA installed -
Constant
BIOS.EQUIP.NPRINT.MASK- Number of printer ports installed -
Constant
BIOS.EQUIP.NPRINT.SHIFT- Shift to get number of printer ports -
Constant
BIOS.EQUIP.NSERIAL.MASK- Number of serial ports (0-7) -
Constant
BIOS.EQUIP.NSERIAL.SHIFT- Shift to get number of serial ports -
Constant
BIOS.EQUIP.POINTER- Pointing device installed -
Constant
BIOS.EQUIP.VMODE.4025C- 40x25 colour -
Constant
BIOS.EQUIP.VMODE.8025C- 80x25 colour -
Constant
BIOS.EQUIP.VMODE.8025M- 80x25 monochrome -
Constant
BIOS.EQUIP.VMODE.MASK- Video mode mask -
Constant
BIOS.EQUIP.VMODE.NONE- Unused/invalid
-
Constant
-
Group
BIOS.MSTATE- BIOS disk media state bits (BIOS.CFG.MSTATE)-
Constant
BIOS.MSTATE.MEDIA.MASK- Media state media mask -
Constant
BIOS.MSTATE.MEDIA.NO1212- No 1.2M disk in 1.2M drive -
Constant
BIOS.MSTATE.MEDIA.NO36012- No 360k disk in 1.2M drive -
Constant
BIOS.MSTATE.MEDIA.NO360360- No 360k disk in 360k drive -
Constant
BIOS.MSTATE.MEDIA.OTHER- None of the above -
Constant
BIOS.MSTATE.MEDIA.YES1212- Yes 1.2M disk in 1.2M drive -
Constant
BIOS.MSTATE.MEDIA.YES36012- Yes 360k disk in 1.2M drive -
Constant
BIOS.MSTATE.MEDIA.YES360360- Yes 360k disk in 360k drive
-
Constant
-
Constant
BIOS.VGA.CONTROL.BUF- VGA control port start -
Constant
BIOS.VGA.CONTROL.BUF.LEN- VGA control port length (number of ports) -
Constant
VGA.GRAPHICS.MEM- VGA graphics framebuffer address -
Constant
VGA.GRAPHICS.MEM.LEN- VGA graphics framebuffer length; -
Constant
VGA.TEXT.FRAMEBUF- VGA text framebuffer address -
Constant
VGA.TEXT.FRAMEBUF.LEN- VGA text framebuffer length
Declarations
pcbios.inc:25Constant VGA.TEXT.FRAMEBUF
VAL INT VGA.TEXT.FRAMEBUF
VGA text framebuffer address.
pcbios.inc:27Constant VGA.TEXT.FRAMEBUF.LEN
VAL INT VGA.TEXT.FRAMEBUF.LEN
VGA text framebuffer length.
pcbios.inc:29Constant VGA.GRAPHICS.MEM
VAL INT VGA.GRAPHICS.MEM
VGA graphics framebuffer address.
pcbios.inc:31Constant VGA.GRAPHICS.MEM.LEN
VAL INT VGA.GRAPHICS.MEM.LEN
VGA graphics framebuffer length;
pcbios.inc:33Constant BIOS.VGA.CONTROL.BUF
VAL INT BIOS.VGA.CONTROL.BUF
VGA control port start.
pcbios.inc:35Constant BIOS.VGA.CONTROL.BUF.LEN
VAL INT BIOS.VGA.CONTROL.BUF.LEN
VGA control port length (number of ports).
pcbios.inc:38Constant BIOS.CFG.MEMBASE
VAL INT BIOS.CFG.MEMBASE
BIOS configuration area address.
pcbios.inc:40Group BIOS.CFG
Offsets in the BIOS configuration area.
pcbios.inc:41Constant BIOS.CFG.COM1
VAL INT BIOS.CFG.COM1
First serial port (16-bit).
pcbios.inc:42Constant BIOS.CFG.COM2
VAL INT BIOS.CFG.COM2
Second serial port (16-bit).
pcbios.inc:43Constant BIOS.CFG.COM3
VAL INT BIOS.CFG.COM3
Third serial port (16-bit).
pcbios.inc:44Constant BIOS.CFG.COM4
VAL INT BIOS.CFG.COM4
Fourth serial port (16-bit).
pcbios.inc:45Constant BIOS.CFG.LPT1
VAL INT BIOS.CFG.LPT1
First parallel port (16-bit).
pcbios.inc:46Constant BIOS.CFG.LPT2
VAL INT BIOS.CFG.LPT2
Second parallel port (16-bit).
pcbios.inc:47Constant BIOS.CFG.LPT3
VAL INT BIOS.CFG.LPT3
Third parallel port (16-bit).
pcbios.inc:48Constant BIOS.CFG.LPT4
VAL INT BIOS.CFG.LPT4
Fourth parallel port (16-bit).
pcbios.inc:49Constant BIOS.CFG.EBDA
VAL INT BIOS.CFG.EBDA
Extended BIOS data area for EISA and MCA systems (16-bit).
pcbios.inc:50Constant BIOS.CFG.EQUIP
VAL INT BIOS.CFG.EQUIP
Equipment list flags (16-bit).
pcbios.inc:51Constant BIOS.CFG.IRKYBERR
VAL INT BIOS.CFG.IRKYBERR
PCjr: number of infrared keyboard link errors (8-bit).
pcbios.inc:52Constant BIOS.CFG.MEMSIZE
VAL INT BIOS.CFG.MEMSIZE
Machine base memory size (in KiB -1) (16-bit).
pcbios.inc:53Constant BIOS.CFG.BIOSCTL
VAL INT BIOS.CFG.BIOSCTL
PS/2 bios control flags (8-bit).
pcbios.inc:54Constant BIOS.CFG.DRECAL
VAL INT BIOS.CFG.DRECAL
Drive recalibration status (8-bit).
pcbios.inc:55Constant BIOS.CFG.NDISKS
VAL INT BIOS.CFG.NDISKS
Number of hard-disks attached (8-bit).
pcbios.inc:56Constant BIOS.CFG.DISKPORTOFF
VAL INT BIOS.CFG.DISKPORTOFF
Port offset to current fixed disk adapter (8-bit).
pcbios.inc:57Constant BIOS.CFG.MSTATE
VAL INT BIOS.CFG.MSTATE
Drive 0-4 media state (4 * 8-bit).
pcbios.inc:61Group BIOS.EQUIP
BIOS equipment list flags bits (BIOS.CFG.EQUIP).
pcbios.inc:62Constant BIOS.EQUIP.IPL
VAL INT16 BIOS.EQUIP.IPL
IPL disk installed.
pcbios.inc:63Constant BIOS.EQUIP.MATH
VAL INT16 BIOS.EQUIP.MATH
Math co-processor installed.
pcbios.inc:64Constant BIOS.EQUIP.POINTER
VAL INT16 BIOS.EQUIP.POINTER
Pointing device installed.
pcbios.inc:65Constant BIOS.EQUIP.VMODE.MASK
VAL INT16 BIOS.EQUIP.VMODE.MASK
Video mode mask.
pcbios.inc:66Constant BIOS.EQUIP.VMODE.NONE
VAL INT16 BIOS.EQUIP.VMODE.NONE
Unused/invalid.
pcbios.inc:67Constant BIOS.EQUIP.VMODE.4025C
VAL INT16 BIOS.EQUIP.VMODE.4025C
40x25 colour.
pcbios.inc:68Constant BIOS.EQUIP.VMODE.8025C
VAL INT16 BIOS.EQUIP.VMODE.8025C
80x25 colour.
pcbios.inc:69Constant BIOS.EQUIP.VMODE.8025M
VAL INT16 BIOS.EQUIP.VMODE.8025M
80x25 monochrome.
pcbios.inc:70Constant BIOS.EQUIP.NDISK.MASK
VAL INT16 BIOS.EQUIP.NDISK.MASK
Number of disk-drives minus 1 (if .IPL = 1).
pcbios.inc:71Constant BIOS.EQUIP.NDISK.SHIFT
VAL INT BIOS.EQUIP.NDISK.SHIFT
Shift to get number of disk drives.
pcbios.inc:72Constant BIOS.EQUIP.NODMA
VAL INT16 BIOS.EQUIP.NODMA
0 if DMA installed.
pcbios.inc:73Constant BIOS.EQUIP.NSERIAL.MASK
VAL INT16 BIOS.EQUIP.NSERIAL.MASK
Number of serial ports (0-7).
pcbios.inc:74Constant BIOS.EQUIP.NSERIAL.SHIFT
VAL INT BIOS.EQUIP.NSERIAL.SHIFT
Shift to get number of serial ports.
pcbios.inc:75Constant BIOS.EQUIP.GAME
VAL INT16 BIOS.EQUIP.GAME
Game adapter installed.
pcbios.inc:76Constant BIOS.EQUIP.INTMODEM
VAL INT16 BIOS.EQUIP.INTMODEM
Internal modem.
pcbios.inc:77Constant BIOS.EQUIP.NPRINT.MASK
VAL INT16 BIOS.EQUIP.NPRINT.MASK
Number of printer ports installed.
pcbios.inc:78Constant BIOS.EQUIP.NPRINT.SHIFT
VAL INT16 BIOS.EQUIP.NPRINT.SHIFT
Shift to get number of printer ports.
pcbios.inc:80Group BIOS.MSTATE
BIOS disk media state bits (BIOS.CFG.MSTATE).
pcbios.inc:81Constant BIOS.MSTATE.MEDIA.MASK
VAL BYTE BIOS.MSTATE.MEDIA.MASK
Media state media mask.
pcbios.inc:82Constant BIOS.MSTATE.MEDIA.NO360360
VAL BYTE BIOS.MSTATE.MEDIA.NO360360
No 360k disk in 360k drive.
pcbios.inc:83Constant BIOS.MSTATE.MEDIA.NO36012
VAL BYTE BIOS.MSTATE.MEDIA.NO36012
No 360k disk in 1.2M drive.
pcbios.inc:84Constant BIOS.MSTATE.MEDIA.NO1212
VAL BYTE BIOS.MSTATE.MEDIA.NO1212
No 1.2M disk in 1.2M drive.
pcbios.inc:85Constant BIOS.MSTATE.MEDIA.YES360360
VAL BYTE BIOS.MSTATE.MEDIA.YES360360
Yes 360k disk in 360k drive.
pcbios.inc:86Constant BIOS.MSTATE.MEDIA.YES36012
VAL BYTE BIOS.MSTATE.MEDIA.YES36012
Yes 360k disk in 1.2M drive.
pcbios.inc:87Constant BIOS.MSTATE.MEDIA.YES1212
VAL BYTE BIOS.MSTATE.MEDIA.YES1212
Yes 1.2M disk in 1.2M drive.
pcbios.inc:88Constant BIOS.MSTATE.MEDIA.OTHER
VAL BYTE BIOS.MSTATE.MEDIA.OTHER
None of the above.