some cleanup, checked usage of __bgcolor and __textcolor
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
;
|
;
|
||||||
|
|
||||||
.export soft80_cgetc
|
.export soft80_cgetc
|
||||||
.import cursor ; FIX/CHECK
|
.import cursor
|
||||||
.import soft80_putcolor
|
.import soft80_putcolor
|
||||||
|
|
||||||
.include "c64.inc"
|
.include "c64.inc"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
;
|
;
|
||||||
|
|
||||||
.export soft80_textcolor, soft80_bgcolor, soft80_bordercolor
|
.export soft80_textcolor, soft80_bgcolor, soft80_bordercolor
|
||||||
.export __textcolor,__bgcolor ; CHECK/FIX
|
.export __textcolor, __bgcolor
|
||||||
|
|
||||||
.importzp tmp1,tmp2
|
.importzp tmp1,tmp2
|
||||||
|
|
||||||
@@ -89,7 +89,6 @@ soft80_bordercolor:
|
|||||||
txa
|
txa
|
||||||
rts
|
rts
|
||||||
|
|
||||||
; FIXME: shouldnt they be in zeropage?
|
|
||||||
.bss
|
.bss
|
||||||
__textcolor:
|
__textcolor:
|
||||||
.res 1
|
.res 1
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
.import popa, _gotoxy
|
.import popa, _gotoxy
|
||||||
.import xsize
|
.import xsize
|
||||||
.import soft80_kplot
|
.import soft80_kplot
|
||||||
.import __bgcolor ; FIX/CHECK
|
.import __bgcolor
|
||||||
|
|
||||||
.importzp tmp4,tmp3
|
.importzp tmp4,tmp3
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
.export soft80_kclrscr
|
.export soft80_kclrscr
|
||||||
.import soft80_kplot
|
.import soft80_kplot
|
||||||
.import __bgcolor ; FIX/CHECK
|
.import __bgcolor
|
||||||
|
|
||||||
.include "c64.inc"
|
.include "c64.inc"
|
||||||
.include "soft80.inc"
|
.include "soft80.inc"
|
||||||
|
|||||||
@@ -18,7 +18,8 @@ soft80_kplot:
|
|||||||
|
|
||||||
; calc pointer to vram
|
; calc pointer to vram
|
||||||
tya
|
tya
|
||||||
lsr a
|
lsr a ; NOTE: we can save 2 cycles here at the expense of
|
||||||
|
; making the tables twice as big (+50 bytes)
|
||||||
clc
|
clc
|
||||||
adc _vramlo,x
|
adc _vramlo,x
|
||||||
sta CRAM_PTR
|
sta CRAM_PTR
|
||||||
|
|||||||
Reference in New Issue
Block a user