1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00

some cleanup, checked usage of __bgcolor and __textcolor

This commit is contained in:
mrdudz 2015-09-28 16:10:11 +02:00
parent 7486923c17
commit 841d764a83
5 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@
;
.export soft80_cgetc
.import cursor ; FIX/CHECK
.import cursor
.import soft80_putcolor
.include "c64.inc"

View File

@ -5,7 +5,7 @@
;
.export soft80_textcolor, soft80_bgcolor, soft80_bordercolor
.export __textcolor,__bgcolor ; CHECK/FIX
.export __textcolor, __bgcolor
.importzp tmp1,tmp2
@ -89,7 +89,6 @@ soft80_bordercolor:
txa
rts
; FIXME: shouldnt they be in zeropage?
.bss
__textcolor:
.res 1

View File

@ -11,7 +11,7 @@
.import popa, _gotoxy
.import xsize
.import soft80_kplot
.import __bgcolor ; FIX/CHECK
.import __bgcolor
.importzp tmp4,tmp3

View File

@ -1,7 +1,7 @@
.export soft80_kclrscr
.import soft80_kplot
.import __bgcolor ; FIX/CHECK
.import __bgcolor
.include "c64.inc"
.include "soft80.inc"

View File

@ -18,7 +18,8 @@ soft80_kplot:
; calc pointer to vram
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
adc _vramlo,x
sta CRAM_PTR