bga_io.bas

Bochs Graphics Adapter access functions

Author

Marcel Sondaar

License

Public Domain

Summary
bga_io.basBochs Graphics Adapter access functions
Functions
BGA_WriteWrites a BGA register
BGA_ReadWrites a BGA register

Functions

BGA_Write

Sub BGA_Write(ByVal index As Integer,
ByVal contents As Unsigned Short)

Writes a BGA register

In

indexregister to access
contentsvalue to write

Out

none

BGA_Read

Function BGA_Read(ByVal index As Integer) As Unsigned Short

Writes a BGA register

In

indexregister to access

Out

returnvalue of the register
Sub BGA_Write(ByVal index As Integer,
ByVal contents As Unsigned Short)
Writes a BGA register
Function BGA_Read(ByVal index As Integer) As Unsigned Short
Writes a BGA register