maintain lsb of cursor x position internally, saves some bytes and some cycles too :)

This commit is contained in:
mrdudz
2015-10-12 15:44:41 +02:00
parent 2a0f6c420b
commit 21732e3c5b
5 changed files with 39 additions and 25 deletions

View File

@@ -9,6 +9,7 @@
.import soft80_kclrscr, soft80_charset
.export soft80_internal_textcolor, soft80_internal_bgcolor
.export soft80_internal_cursorxlsb
.importzp ptr1, ptr2, ptr3
@@ -104,4 +105,6 @@ soft80_internal_textcolor:
.res 1
soft80_internal_bgcolor:
.res 1
soft80_internal_cursorxlsb:
.res 1