2 ; Groepaz/Hitmen, 11.10.2015
4 ; Low level init code for soft80 screen output/console input
7 .constructor soft80_init
8 .destructor soft80_shutdown
10 .import soft80_kclrscr, soft80_charset
11 .import __textcolor, __bgcolor
13 .importzp ptr1, ptr2, ptr3
28 ; copy charset to RAM under I/O
29 ; FIXME: move charset and this constructor into init segment
40 lda #>soft80_lo_charset
42 lda #<soft80_lo_charset
44 lda #>soft80_hi_charset
46 lda #<soft80_hi_charset
72 lda 646 ; use current textcolor
76 lda VIC_BG_COLOR0 ; use current bgcolor