c128lib Chipset
Various chipset functionalities.
Loading...
Searching...
No Matches
Vdc Namespace Reference

Variables

label VDC_BLACK = 0
 
label VDC_DARK_GRAY = 1
 
label VDC_DARK_BLUE = 2
 
label VDC_LIGHT_BLUE = 3
 
label VDC_DARK_GREEN = 4
 
label VDC_LIGHT_GREEN = 5
 
label VDC_DARK_CYAN = 6
 
label VDC_LIGHT_CYAN = 7
 
label VDC_DARK_RED = 8
 
label VDC_LIGHT_RED = 9
 
label VDC_DARK_PURPLE = 10
 
label VDC_LIGHT_PURPLE = 11
 
label VDC_DARK_YELLOW = 12
 
label VDC_LIGHT_YELLOW = 13
 
label VDC_LIGHT_GRAY = 14
 
label VDC_WHITE = 15
 
label COLOR80 = $ce5c
 
label MODE = $d7
 
label TEXT_SCREEN_80_COL_WIDTH = 80
 
label VDCADR = $d600
 
label VDCDAT = $d601
 
label TOTALE_NUMBER_OF_HORIZONTAL_CHARACTER_POSITIONS = $00
 
label NUMBER_OF_VISIBILE_HORIZONTAL_CHARACTER_POSITIONS = $01
 
label HORIZONTAL_SYNC_POSITION = $02
 
label HORIZONTAL_VERTICAL_SYNC_WIDTH = $03
 
label NUMBER_SCREEN_ROWS = $04
 
label VERTICAL_FINE_ADJUSTMENT = $05
 
label VISIBLE_SCREEN_ROWS = $06
 
label VERTICAL_SYNC_POSITION = $07
 
label INTERLACE_MODE_CONTRO_POSITION = $08
 
label SCANLINES_PER_CHARACTER = $09
 
label CURSOR_MODE_CONTROL = $0A
 
label ENDING_SCAN_LINE = $0B
 
label SCREEN_MEMORY_STARTING_HIGH_ADDRESS = $0C
 
label SCREEN_MEMORY_STARTING_LOW_ADDRESS = $0D
 
label CURSOR_POSITION_HIGH_ADDRESS = $0E
 
label CURSOR_POSITION_LOW_ADDRESS = $0F
 
label LIGHT_PEN_VERTICAL_POSITION = $10
 
label LIGHT_PEN_HORIZONTAL_POSITION = $11
 
label CURRENT_MEMORY_HIGH_ADDRESS = $12
 
label CURRENT_MEMORY_LOW_ADDRESS = $13
 
label ATTRIBUTE_MEMORY_HIGH_ADDRESS = $14
 
label ATTRIBUTE_MEMORY_LOW_ADDRESS = $15
 
label CHARACTER_HORIZONTAL_SIZE_CONTROL = $16
 
label CHARACTER_VERTICAL_SIZE_CONTROL = $17
 
label VERTICAL_SMOOTH_SCROLLING = $18
 
label HORIZONTAL_SMOOTH_SCROLLING = $19
 
label FOREGROUND_BACKGROUND_COLOR = $1A
 
label ADDRESS_INCREMENT_PER_ROW = $1B
 
label CHARACTER_SET_ADDRESS = $1C
 
label UNDERLINE_SCAN_LINE_POSITION = $1D
 
label NUMBER_OF_BYTES_FOR_BLOCK_WRITE_OR_COPY = $1E
 
label MEMORY_READ_WRITE = $1F
 
label BLOCK_COPY_SOURCE_HIGH_ADDRESS = $20
 
label BLOCK_COPY_SOURCE_LOW_ADDRESS = $21
 
label BEGINNING_POSITION_FOR_HORIZONTAL_BLANKING = $22
 
label ENDING_POSITION_FOR_HORIZONTAL_BLANKING = $23
 
label NUMBER_OF_MEMORY_REFRESH_CYCLER_PER_SCANLINE = $24
 
label ATTRIBUTE_ALTERNATE = %10000000
 
label ATTRIBUTE_REVERSE = %01000000
 
label ATTRIBUTE_UNDERLINE = %00100000
 
label ATTRIBUTE_BLINK = %00010000
 

Variable Documentation

◆ VDC_BLACK

label VDC_BLACK = 0

Black color code

◆ VDC_DARK_GRAY

label VDC_DARK_GRAY = 1

Dark gray color code

◆ VDC_DARK_BLUE

label VDC_DARK_BLUE = 2

Dark blue color code

◆ VDC_LIGHT_BLUE

label VDC_LIGHT_BLUE = 3

Light blue color code

◆ VDC_DARK_GREEN

label VDC_DARK_GREEN = 4

Dark green color code

◆ VDC_LIGHT_GREEN

label VDC_LIGHT_GREEN = 5

Light green color code

◆ VDC_DARK_CYAN

label VDC_DARK_CYAN = 6

Dark cyan color code

◆ VDC_LIGHT_CYAN

label VDC_LIGHT_CYAN = 7

Light cyan color code

◆ VDC_DARK_RED

label VDC_DARK_RED = 8

Dark red color code

◆ VDC_LIGHT_RED

label VDC_LIGHT_RED = 9

Light red color code

◆ VDC_DARK_PURPLE

label VDC_DARK_PURPLE = 10

Dark purple color code

◆ VDC_LIGHT_PURPLE

label VDC_LIGHT_PURPLE = 11

Light purple color code

◆ VDC_DARK_YELLOW

label VDC_DARK_YELLOW = 12

Dark yellow color code

◆ VDC_LIGHT_YELLOW

label VDC_LIGHT_YELLOW = 13

Light yellow color code

◆ VDC_LIGHT_GRAY

label VDC_LIGHT_GRAY = 14

Light gray color code

◆ VDC_WHITE

label VDC_WHITE = 15

White color code

◆ COLOR80

label COLOR80 = $ce5c

◆ MODE

label MODE = $d7

◆ TEXT_SCREEN_80_COL_WIDTH

label TEXT_SCREEN_80_COL_WIDTH = 80

◆ VDCADR

label VDCADR = $d600

Vdc address/status register

◆ VDCDAT

label VDCDAT = $d601

Vdc data register

◆ TOTALE_NUMBER_OF_HORIZONTAL_CHARACTER_POSITIONS

label TOTALE_NUMBER_OF_HORIZONTAL_CHARACTER_POSITIONS = $00

Total number of horizontal character positions

◆ NUMBER_OF_VISIBILE_HORIZONTAL_CHARACTER_POSITIONS

label NUMBER_OF_VISIBILE_HORIZONTAL_CHARACTER_POSITIONS = $01

Number of visible horizontal character positions

◆ HORIZONTAL_SYNC_POSITION

label HORIZONTAL_SYNC_POSITION = $02

Horizontal sync position

◆ HORIZONTAL_VERTICAL_SYNC_WIDTH

label HORIZONTAL_VERTICAL_SYNC_WIDTH = $03

Horizontal and vertical sync width

◆ NUMBER_SCREEN_ROWS

label NUMBER_SCREEN_ROWS = $04

Total number of screen rows

◆ VERTICAL_FINE_ADJUSTMENT

label VERTICAL_FINE_ADJUSTMENT = $05

Vertical fine adjustment

◆ VISIBLE_SCREEN_ROWS

label VISIBLE_SCREEN_ROWS = $06

Number of visible screen rows

◆ VERTICAL_SYNC_POSITION

label VERTICAL_SYNC_POSITION = $07

Vertical sync position

◆ INTERLACE_MODE_CONTRO_POSITION

label INTERLACE_MODE_CONTRO_POSITION = $08

Interlace mode control register

◆ SCANLINES_PER_CHARACTER

label SCANLINES_PER_CHARACTER = $09

Number of scan lines per character

◆ CURSOR_MODE_CONTROL

label CURSOR_MODE_CONTROL = $0A

Cursor mode control

◆ ENDING_SCAN_LINE

label ENDING_SCAN_LINE = $0B

Ending scan line for cursor

◆ SCREEN_MEMORY_STARTING_HIGH_ADDRESS

label SCREEN_MEMORY_STARTING_HIGH_ADDRESS = $0C

Screen memory starting address (high byte)

◆ SCREEN_MEMORY_STARTING_LOW_ADDRESS

label SCREEN_MEMORY_STARTING_LOW_ADDRESS = $0D

Screen memory starting address (low byte)

◆ CURSOR_POSITION_HIGH_ADDRESS

label CURSOR_POSITION_HIGH_ADDRESS = $0E

Cursor position address (high byte)

◆ CURSOR_POSITION_LOW_ADDRESS

label CURSOR_POSITION_LOW_ADDRESS = $0F

Cursor position address (low byte)

◆ LIGHT_PEN_VERTICAL_POSITION

label LIGHT_PEN_VERTICAL_POSITION = $10

Light pen vertical position

◆ LIGHT_PEN_HORIZONTAL_POSITION

label LIGHT_PEN_HORIZONTAL_POSITION = $11

Light pen horizontal position

◆ CURRENT_MEMORY_HIGH_ADDRESS

label CURRENT_MEMORY_HIGH_ADDRESS = $12

Current memory address (high byte)

◆ CURRENT_MEMORY_LOW_ADDRESS

label CURRENT_MEMORY_LOW_ADDRESS = $13

Current memory address (low byte)

◆ ATTRIBUTE_MEMORY_HIGH_ADDRESS

label ATTRIBUTE_MEMORY_HIGH_ADDRESS = $14

Attribute memory starting address (high byte)

◆ ATTRIBUTE_MEMORY_LOW_ADDRESS

label ATTRIBUTE_MEMORY_LOW_ADDRESS = $15

Attribute memory starting address (low byte)

◆ CHARACTER_HORIZONTAL_SIZE_CONTROL

label CHARACTER_HORIZONTAL_SIZE_CONTROL = $16

Character horizontal size control register

◆ CHARACTER_VERTICAL_SIZE_CONTROL

label CHARACTER_VERTICAL_SIZE_CONTROL = $17

Character vertical size control register

◆ VERTICAL_SMOOTH_SCROLLING

label VERTICAL_SMOOTH_SCROLLING = $18

Vertical smooth scrolling and control register

◆ HORIZONTAL_SMOOTH_SCROLLING

label HORIZONTAL_SMOOTH_SCROLLING = $19

Horizontal smooth scrolling and control register

◆ FOREGROUND_BACKGROUND_COLOR

label FOREGROUND_BACKGROUND_COLOR = $1A

Foreground/background color register

◆ ADDRESS_INCREMENT_PER_ROW

label ADDRESS_INCREMENT_PER_ROW = $1B

Address increment per row

◆ CHARACTER_SET_ADDRESS

label CHARACTER_SET_ADDRESS = $1C

Character set address and memory type register

◆ UNDERLINE_SCAN_LINE_POSITION

label UNDERLINE_SCAN_LINE_POSITION = $1D

Underline scan-line-position register

◆ NUMBER_OF_BYTES_FOR_BLOCK_WRITE_OR_COPY

label NUMBER_OF_BYTES_FOR_BLOCK_WRITE_OR_COPY = $1E

Number of bytes for block write or copy

◆ MEMORY_READ_WRITE

label MEMORY_READ_WRITE = $1F

Memory read/write register

◆ BLOCK_COPY_SOURCE_HIGH_ADDRESS

label BLOCK_COPY_SOURCE_HIGH_ADDRESS = $20

Block copy source address (high byte)

◆ BLOCK_COPY_SOURCE_LOW_ADDRESS

label BLOCK_COPY_SOURCE_LOW_ADDRESS = $21

Block copy source address (low byte)

◆ BEGINNING_POSITION_FOR_HORIZONTAL_BLANKING

label BEGINNING_POSITION_FOR_HORIZONTAL_BLANKING = $22

Beginning position for horizontal blanking

◆ ENDING_POSITION_FOR_HORIZONTAL_BLANKING

label ENDING_POSITION_FOR_HORIZONTAL_BLANKING = $23

Ending position for horizontal blanking

◆ NUMBER_OF_MEMORY_REFRESH_CYCLER_PER_SCANLINE

label NUMBER_OF_MEMORY_REFRESH_CYCLER_PER_SCANLINE = $24

Number of memory refresh cycles per scan line

◆ ATTRIBUTE_ALTERNATE

label ATTRIBUTE_ALTERNATE = %10000000

◆ ATTRIBUTE_REVERSE

label ATTRIBUTE_REVERSE = %01000000

◆ ATTRIBUTE_UNDERLINE

label ATTRIBUTE_UNDERLINE = %00100000

◆ ATTRIBUTE_BLINK

label ATTRIBUTE_BLINK = %00010000