2015-10-12 12:40:12 +00:00
|
|
|
;
|
|
|
|
; Groepaz/Hitmen, 12.10.2015
|
|
|
|
;
|
|
|
|
; internal constants for the soft80 implementation
|
2015-09-27 16:12:25 +00:00
|
|
|
|
|
|
|
soft80_lo_charset = $d000
|
|
|
|
soft80_hi_charset = $d400
|
2015-09-28 13:10:57 +00:00
|
|
|
soft80_vram = $d800 ; ram under i/o
|
2015-09-27 16:12:25 +00:00
|
|
|
soft80_colram = $d800 ; color ram (used for temp. storage)
|
2015-10-12 21:39:47 +00:00
|
|
|
soft80_spriteblock = $dc00 ; 64 bytes reserved for pointer sprite data
|
|
|
|
|
|
|
|
; tables for kplot
|
|
|
|
soft80_bitmapxlo = $dc40 ; (80 bytes)
|
|
|
|
soft80_bitmapxhi = $dc40 + 80 ; (80 bytes)
|
|
|
|
soft80_vramlo = $dc40 + 160 ; (25 bytes)
|
|
|
|
; align to next page for speed
|
|
|
|
soft80_vramhi = $dd00 ; (25 bytes)
|
|
|
|
soft80_bitmapylo = $dd00 + 25 ; (25 bytes)
|
|
|
|
soft80_bitmapyhi = $dd00 + 50 ; (25 bytes)
|
|
|
|
|
2015-09-27 16:12:25 +00:00
|
|
|
soft80_bitmap = $e000
|
|
|
|
|
|
|
|
charsperline = 80
|
|
|
|
screenrows = 25
|
|
|
|
|
2015-10-12 12:40:12 +00:00
|
|
|
; FIXME: these should match petscii and perhaps come from a common cbm.inc?
|
2015-09-27 16:12:25 +00:00
|
|
|
CH_ESC = 95
|
|
|
|
CH_HLINE = 96
|
|
|
|
CH_CROSS = 123
|
|
|
|
CH_VLINE = 125
|
|
|
|
CH_PI = 126
|
2015-09-28 13:10:57 +00:00
|
|
|
CH_LTEE = 171
|
|
|
|
CH_URCORNER = 174
|
|
|
|
CH_LLCORNER = 173
|
|
|
|
CH_ULCORNER = 176
|
|
|
|
CH_BTEE = 177
|
|
|
|
CH_TTEE = 178
|
|
|
|
CH_RTEE = 179
|
|
|
|
CH_LRCORNER = 189
|
2015-10-08 18:43:25 +00:00
|
|
|
|
|
|
|
;-------------------------------------------------------------------------------
|
|
|
|
; 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
|
|
|
|
|