bga_regs.bi

BGA Registers

Author

Marcel Sondaar

License

Public Domain

Summary
bga_regs.biBGA Registers
Constants
BGA_INDEX_PORTThe default offset for the 16-bit BGA index port
BGA_DATA_PORTThe default offset for the 16-bit BGA data port
bga_regsLists all the registers of the BGA interface
Constants
INDEX_ID16-bit register containing the emulated interface version
bga_regs_enableBitmasks for the <bga_regs.INDEX_ENABLE> register

Constants

BGA_INDEX_PORT

The default offset for the 16-bit BGA index port

BGA_DATA_PORT

The default offset for the 16-bit BGA data port

bga_regs

Lists all the registers of the BGA interface

Summary
Constants
INDEX_ID16-bit register containing the emulated interface version

Constants

INDEX_ID

16-bit register containing the emulated interface version

Normally takes values in the range 0xB0C0-0xB0C4 (at the time of writing).  You can write a different value to set a different emulation.  If the number is invalid the register is left unchanged

Note that bochs will panic with a wrong number because it thinks the VGA bios doesn’t match with the interface.

bga_regs_enable

Bitmasks for the <bga_regs.INDEX_ENABLE> register