1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-03 10:07:02 +00:00
cc65/libsrc/c64/soft80.inc

47 lines
1.5 KiB
PHP
Raw Normal View History

2015-10-12 12:40:12 +00:00
;
; Groepaz/Hitmen, 12.10.2015
;
; internal constants for the soft80 implementation
soft80_lo_charset = $d000
soft80_hi_charset = $d400
2015-09-28 13:10:57 +00:00
soft80_vram = $d800 ; ram under i/o
soft80_colram = $d800 ; color ram (used for temp. storage)
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)
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?
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
;-------------------------------------------------------------------------------
; 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