mirror of
https://github.com/cc65/cc65.git
synced 2024-11-03 10:07:02 +00:00
53 lines
1.9 KiB
ArmAsm
53 lines
1.9 KiB
ArmAsm
;
|
|
; Groepaz/Hitmen, 12.10.2015
|
|
;
|
|
; import/overload stubs for the soft80 implementation
|
|
|
|
.include "../soft80.inc"
|
|
|
|
; soft80_cgetc.s
|
|
.import soft80_cgetc
|
|
.export _cgetc := soft80_cgetc ; cgetc.s
|
|
|
|
; soft80_color.s
|
|
.import soft80_textcolor
|
|
.import soft80_bgcolor
|
|
.export _textcolor := soft80_textcolor ; color.s
|
|
.export _bgcolor := soft80_bgcolor ; color.s
|
|
|
|
; soft80_cputc.s
|
|
.import soft80_cputc
|
|
.import soft80_cputcxy
|
|
.import soft80_cputdirect
|
|
.import soft80_putchar
|
|
.import soft80_newline
|
|
.import soft80_plot
|
|
.export _cputc := soft80_cputc ; cputc.s
|
|
.export _cputcxy := soft80_cputcxy ; cputc.s
|
|
.export cputdirect := soft80_cputdirect ; cputc.s
|
|
.export putchar := soft80_putchar ; cputc.s
|
|
.export newline := soft80_newline ; cputc.s
|
|
.export plot := soft80_plot ; cputc.s
|
|
|
|
; soft80_kclrscr.s
|
|
.import soft80_kclrscr
|
|
.export _clrscr := soft80_kclrscr ; clrscr.s
|
|
|
|
; soft80_kplot.s
|
|
.import soft80_kplot
|
|
.export PLOT := soft80_kplot ; kplot.s
|
|
|
|
; soft80_kscreen.s
|
|
.import soft80_screensize
|
|
.export screensize := soft80_screensize ; _scrsize.s
|
|
; FIXME: use _scrsize.s/remove soft80_scrsize.s
|
|
;.export SCREEN := soft80_screensize ; kernal func (kernal.s)
|
|
|
|
; VIC sprite data for the mouse pointer
|
|
.export mcb_spritememory := soft80_spriteblock
|
|
.export mcb_spritepointer := (soft80_vram + $03F8)
|
|
|
|
; Chars used by chline () and cvline ()
|
|
.exportzp chlinechar = CH_HLINE
|
|
.exportzp cvlinechar = CH_VLINE
|