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