]> git.sur5r.net Git - cc65/blob - libsrc/c64/extra/soft80mono.s
Moved initcgetc to initcputc
[cc65] / libsrc / c64 / extra / soft80mono.s
1 ;
2 ; Groepaz/Hitmen, 19.10.2015
3 ;
4 ; import/overload stubs for the monochrome soft80 implementation
5 ;
6 ; - optimized for size, almost 1k smaller footprint than the full color version
7 ; - textcolor() sets one common text color for the whole screen
8 ;
9         .include "../soft80.inc"
10
11         ; soft80mono_cgetc.s
12         .import soft80mono_cgetc
13         .export _cgetc := soft80mono_cgetc              ; cgetc.s
14
15         ; soft80mono_color.s
16         .import soft80mono_textcolor
17         .import soft80mono_bgcolor
18         .export _textcolor := soft80mono_textcolor      ; color.s
19         .export _bgcolor := soft80mono_bgcolor          ; color.s
20
21         ; soft80mono_cputc.s
22         .import soft80mono_cputc
23         .import soft80mono_cputcxy
24         .import soft80mono_cputdirect
25         .import soft80mono_putchar
26         .import soft80mono_newline
27         .import soft80mono_plot
28         .export _cputc := soft80mono_cputc              ; cputc.s
29         .export _cputcxy := soft80mono_cputcxy          ; cputc.s
30         .export cputdirect := soft80mono_cputdirect     ; cputc.s
31         .export putchar := soft80mono_putchar           ; cputc.s
32         .export newline := soft80mono_newline           ; cputc.s
33         .export plot := soft80mono_plot                 ; cputc.s
34
35         ; soft80mono_kclrscr.s
36         .import soft80mono_kclrscr
37         .export _clrscr := soft80mono_kclrscr           ; clrscr.s
38
39         ; soft80mono_kplot.s
40         .import soft80mono_kplot
41         .export PLOT := soft80mono_kplot                ; kplot.s
42
43         ; soft80_kscreen.s
44         .import soft80_screensize
45         .export screensize := soft80_screensize         ; _scrsize.s
46         ; FIXME: use _scrsize.s/remove soft80_scrsize.s
47         ;.export SCREEN := soft80_screensize             ; kernal func (kernal.s)
48
49         ; VIC sprite data for the mouse pointer
50         .export         mcb_spritememory  := soft80_spriteblock
51         .export         mcb_spritepointer := (soft80_vram + $03F8)
52
53         ; Chars used by chline () and cvline ()
54         .exportzp       chlinechar = CH_HLINE
55         .exportzp       cvlinechar = CH_VLINE