aboutsummaryrefslogtreecommitdiff
path: root/console.s
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-02-22 20:44:23 -0500
committerB. Watson <yalhcru@gmail.com>2016-02-22 20:44:23 -0500
commit220dc02d068039688ff8b4dadceba162b746be3a (patch)
treeaad2e2cf5652aac948ee4a6bef4d95be48dfd14d /console.s
parent0bd18d930c2bc88eb4a4b31d19772c74fc4af06f (diff)
downloadtaipan-220dc02d068039688ff8b4dadceba162b746be3a.tar.gz
7376 bytes free
Diffstat (limited to 'console.s')
-rw-r--r--console.s3
1 files changed, 2 insertions, 1 deletions
diff --git a/console.s b/console.s
index 1930303..18b22bf 100644
--- a/console.s
+++ b/console.s
@@ -35,7 +35,8 @@ _clr_screen: ; same as gotoxy(0,0); clrtobot();
_clrtobot: ; same as clrtoline(24);
lda #24
- bne _clrtoline
+ ;bne _clrtoline ; we'd have to do this if ROWCRS were non-zero-page
+ .byte $2c ; see "bit trick" explanation below
_clrtoeol:
lda ROWCRS