2 ; Groepaz/Hitmen, 19.10.2015
4 ; import/overload stubs for the monochrome soft80 implementation
6 ; - optimized for size, almost 1k smaller footprint than the full color version
7 ; - textcolor() sets one common text color for the whole screen
9 .include "../soft80.inc"
12 .import soft80mono_cgetc
13 .export _cgetc := soft80mono_cgetc ; cgetc.s
16 .import soft80mono_textcolor
17 .import soft80mono_bgcolor
18 .export _textcolor := soft80mono_textcolor ; color.s
19 .export _bgcolor := soft80mono_bgcolor ; color.s
23 .export _cpeekc := soft80_cpeekc ; cpeekc.s
25 ; soft80mono_cpeekcolor.s
26 .import soft80mono_cpeekcolor
27 .export _cpeekcolor := soft80mono_cpeekcolor ; cpeekcolor.s
29 ; soft80mono_cpeekrevers.s
30 .import soft80_cpeekrevers
31 .export _cpeekrevers := soft80_cpeekrevers ; cpeekrevers.s
35 .export _cpeeks := soft80_cpeeks ; cpeeks.s
38 .import soft80mono_cputc
39 .import soft80mono_cputcxy
40 .import soft80mono_cputdirect
41 .import soft80mono_putchar
42 .import soft80mono_newline
43 .import soft80mono_plot
44 .export _cputc := soft80mono_cputc ; cputc.s
45 .export _cputcxy := soft80mono_cputcxy ; cputc.s
46 .export cputdirect := soft80mono_cputdirect ; cputc.s
47 .export putchar := soft80mono_putchar ; cputc.s
48 .export newline := soft80mono_newline ; cputc.s
49 .export plot := soft80mono_plot ; cputc.s
51 ; soft80mono_kclrscr.s
52 .import soft80mono_kclrscr
53 .export _clrscr := soft80mono_kclrscr ; clrscr.s
56 .import soft80mono_kplot
57 .export PLOT := soft80mono_kplot ; kplot.s
60 .import soft80_screensize
61 .export screensize := soft80_screensize ; _scrsize.s
62 ; FIXME: use _scrsize.s/remove soft80_scrsize.s
63 ;.export SCREEN := soft80_screensize ; kernal func (kernal.s)
65 ; VIC sprite data for the mouse pointer
66 .export mcb_spritememory := soft80_spriteblock
67 .export mcb_spritepointer := (soft80_vram + $03F8)
69 ; Chars used by chline () and cvline ()
70 .exportzp chlinechar = CH_HLINE
71 .exportzp cvlinechar = CH_VLINE
74 .export _doesclrscrafterexit := return1