another size optimization, make bgcolor() much more robust

This commit is contained in:
mrdudz
2015-10-13 04:14:04 +02:00
parent f462c173fb
commit 08d7eefdd7
2 changed files with 125 additions and 71 deletions

View File

@@ -8,6 +8,7 @@
.export soft80_cputcxy, soft80_cputc
.export soft80_cputdirect, soft80_putchar
.export soft80_newline, soft80_plot
.export soft80_checkchar
.import popa, _gotoxy
@@ -470,15 +471,14 @@ soft80_putcolor:
; test if there is a space or a character at current position
;
; in: x = $34
; y must be $00
; $01 must be $34
;
; out: SEC: space
; CLC: character
; x = $34
; y = $00
soft80_checkchar:
;ldy #$00 ; is still $00
lda soft80_internal_cursorxlsb
bne @l1a