vga_io.bi

Contains IO primitives for VGA based displays, as well as some mode setters.
Function Read3C0 Cdecl Alias "Read3C0" (ByVal index As Byte) As Unsigned Byte
Reads an value from the indexed VGA register 3C0 (Attribute Control Register)
Function Read3C2 Cdecl Alias "Read3C2" () As Unsigned Byte
Reads the value from VGA register 3C2 (Miscellaneous Output Register)
Function Read3C4 Cdecl Alias "Read3C4" (ByVal index As Byte) As Unsigned Byte
Reads an value from the indexed VGA register 3C4 (Sequencer Register)
Function Read3CE Cdecl Alias "Read3CE" (ByVal index As Byte) As Unsigned Byte
Reads an value from the indexed VGA register 3CE (Graphics Controller Register)
Function Read3D4 Cdecl Alias "Read3D4" (ByVal index As Byte) As Unsigned Byte
Reads an value from the indexed VGA register 3D4 (CRTC Register)
Sub VGAEnableDisplay Cdecl Alias "VGAEnableDisplay" ()
Enables video output on the VGA
Sub VGASet320x200Mode Cdecl Alias "VGASet320x200Mode" ()
Set the VGA registers to a 320x200 Mode
Sub VGASet320x240Mode Cdecl Alias "VGASet320x240Mode"()
Set the VGA registers to a 320x240 Mode
Sub VGASet400x300Mode Cdecl Alias "VGASet400x300Mode"()
Set the VGA registers to a 400x300 Mode
Sub VGASetModeX Cdecl Alias "VGASetModeX"()
Modifies the CRTC and Sequencer to enter planar addressing mode from a linear mode
Sub VGASetTextMode Cdecl Alias "VGASetTextMode" ()
Set the VGA registers to standard text mode
Sub VGAUnlockCRTC Cdecl Alias "VGAUnlockCRTC" ()
unlocks the CRTC registers
Sub Write3C0 Cdecl Alias "Write3C0" (ByVal index as byte,
ByVal value as Unsigned byte)
Writes an index/value pair to VGA register 3C0 (Attribute Control Register)
Sub Write3C2 Cdecl Alias "Write3C2" (ByVal value as Unsigned byte)
Writes to VGA register 3C2 (Miscellaneous Output Register)
Sub Write3C4 Cdecl Alias "Write3C4" (ByVal index as byte,
ByVal value as Unsigned byte)
Writes an index/value pair to VGA register 3C4 (Sequencer Register)
Sub Write3CE Cdecl Alias "Write3CE" (ByVal index as byte,
ByVal value as Unsigned byte)
Writes an index/value pair to VGA register 3CE (Graphics Controller Register)
Sub Write3D4 Cdecl Alias "Write3D4"(ByVal index as byte,
ByVal value as Unsigned byte)
Writes an index/value pair to VGA register 3D4 (CRTC Controller)