c128lib Chipset
Various chipset functionalities.
|
label VDC_BLACK = 0 |
Black color code
label VDC_DARK_GRAY = 1 |
Dark gray color code
label VDC_DARK_BLUE = 2 |
Dark blue color code
label VDC_LIGHT_BLUE = 3 |
Light blue color code
label VDC_DARK_GREEN = 4 |
Dark green color code
label VDC_LIGHT_GREEN = 5 |
Light green color code
label VDC_DARK_CYAN = 6 |
Dark cyan color code
label VDC_LIGHT_CYAN = 7 |
Light cyan color code
label VDC_DARK_RED = 8 |
Dark red color code
label VDC_LIGHT_RED = 9 |
Light red color code
label VDC_DARK_PURPLE = 10 |
Dark purple color code
label VDC_LIGHT_PURPLE = 11 |
Light purple color code
label VDC_DARK_YELLOW = 12 |
Dark yellow color code
label VDC_LIGHT_YELLOW = 13 |
Light yellow color code
label VDC_LIGHT_GRAY = 14 |
Light gray color code
label VDC_WHITE = 15 |
White color code
label COLOR80 = $ce5c |
label MODE = $d7 |
label TEXT_SCREEN_80_COL_WIDTH = 80 |
label VDCADR = $d600 |
Vdc address/status register
label VDCDAT = $d601 |
Vdc data register
label TOTALE_NUMBER_OF_HORIZONTAL_CHARACTER_POSITIONS = $00 |
Total number of horizontal character positions
label NUMBER_OF_VISIBILE_HORIZONTAL_CHARACTER_POSITIONS = $01 |
Number of visible horizontal character positions
label HORIZONTAL_SYNC_POSITION = $02 |
Horizontal sync position
label HORIZONTAL_VERTICAL_SYNC_WIDTH = $03 |
Horizontal and vertical sync width
label NUMBER_SCREEN_ROWS = $04 |
Total number of screen rows
label VERTICAL_FINE_ADJUSTMENT = $05 |
Vertical fine adjustment
label VISIBLE_SCREEN_ROWS = $06 |
Number of visible screen rows
label VERTICAL_SYNC_POSITION = $07 |
Vertical sync position
label INTERLACE_MODE_CONTRO_POSITION = $08 |
Interlace mode control register
label SCANLINES_PER_CHARACTER = $09 |
Number of scan lines per character
label CURSOR_MODE_CONTROL = $0A |
Cursor mode control
label ENDING_SCAN_LINE = $0B |
Ending scan line for cursor
label SCREEN_MEMORY_STARTING_HIGH_ADDRESS = $0C |
Screen memory starting address (high byte)
label SCREEN_MEMORY_STARTING_LOW_ADDRESS = $0D |
Screen memory starting address (low byte)
label CURSOR_POSITION_HIGH_ADDRESS = $0E |
Cursor position address (high byte)
label CURSOR_POSITION_LOW_ADDRESS = $0F |
Cursor position address (low byte)
label LIGHT_PEN_VERTICAL_POSITION = $10 |
Light pen vertical position
label LIGHT_PEN_HORIZONTAL_POSITION = $11 |
Light pen horizontal position
label CURRENT_MEMORY_HIGH_ADDRESS = $12 |
Current memory address (high byte)
label CURRENT_MEMORY_LOW_ADDRESS = $13 |
Current memory address (low byte)
label ATTRIBUTE_MEMORY_HIGH_ADDRESS = $14 |
Attribute memory starting address (high byte)
label ATTRIBUTE_MEMORY_LOW_ADDRESS = $15 |
Attribute memory starting address (low byte)
label CHARACTER_HORIZONTAL_SIZE_CONTROL = $16 |
Character horizontal size control register
label CHARACTER_VERTICAL_SIZE_CONTROL = $17 |
Character vertical size control register
label VERTICAL_SMOOTH_SCROLLING = $18 |
Vertical smooth scrolling and control register
label HORIZONTAL_SMOOTH_SCROLLING = $19 |
Horizontal smooth scrolling and control register
label FOREGROUND_BACKGROUND_COLOR = $1A |
Foreground/background color register
label ADDRESS_INCREMENT_PER_ROW = $1B |
Address increment per row
label CHARACTER_SET_ADDRESS = $1C |
Character set address and memory type register
label UNDERLINE_SCAN_LINE_POSITION = $1D |
Underline scan-line-position register
label NUMBER_OF_BYTES_FOR_BLOCK_WRITE_OR_COPY = $1E |
Number of bytes for block write or copy
label MEMORY_READ_WRITE = $1F |
Memory read/write register
label BLOCK_COPY_SOURCE_HIGH_ADDRESS = $20 |
Block copy source address (high byte)
label BLOCK_COPY_SOURCE_LOW_ADDRESS = $21 |
Block copy source address (low byte)
label BEGINNING_POSITION_FOR_HORIZONTAL_BLANKING = $22 |
Beginning position for horizontal blanking
label ENDING_POSITION_FOR_HORIZONTAL_BLANKING = $23 |
Ending position for horizontal blanking
label NUMBER_OF_MEMORY_REFRESH_CYCLER_PER_SCANLINE = $24 |
Number of memory refresh cycles per scan line
label ATTRIBUTE_ALTERNATE = %10000000 |
label ATTRIBUTE_REVERSE = %01000000 |
label ATTRIBUTE_UNDERLINE = %00100000 |
label ATTRIBUTE_BLINK = %00010000 |