1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-14 19:29:26 +00:00
cc65/libsrc/c64/soft80.inc
2015-10-12 14:40:12 +02:00

36 lines
1.1 KiB
PHP

;
; Groepaz/Hitmen, 12.10.2015
;
; internal constants for the soft80 implementation
soft80_lo_charset = $d000
soft80_hi_charset = $d400
soft80_vram = $d800 ; ram under i/o
soft80_colram = $d800 ; color ram (used for temp. storage)
soft80_bitmap = $e000
charsperline = 80
screenrows = 25
; FIXME: these should match petscii and perhaps come from a common cbm.inc?
CH_ESC = 95
CH_HLINE = 96
CH_CROSS = 123
CH_VLINE = 125
CH_PI = 126
CH_LTEE = 171
CH_URCORNER = 174
CH_LLCORNER = 173
CH_ULCORNER = 176
CH_BTEE = 177
CH_TTEE = 178
CH_RTEE = 179
CH_LRCORNER = 189
;-------------------------------------------------------------------------------
; set to 0 to disable the color-ram "voodoo" for debugging purposes
.define SOFT80COLORVOODOO 1
; set to 0 to disable special case optimization for the "space" character
.define SOFT80FASTSPACE 1