diff options
author | B. Watson <yalhcru@gmail.com> | 2016-02-17 23:47:59 -0500 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2016-02-17 23:47:59 -0500 |
commit | 3abf7993ce2d2deb1c0596f3404b2bfa27324564 (patch) | |
tree | 67b4cb01fb3b303a14edf41f6ffa56243d33af3a /console.s | |
parent | b2f7604ac51db075201ea0aa40d002d3d5e7e071 (diff) | |
download | taipan-3abf7993ce2d2deb1c0596f3404b2bfa27324564.tar.gz |
make the cursor behave *much* better, via custom conio function
Diffstat (limited to 'console.s')
-rw-r--r-- | console.s | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -1,7 +1,7 @@ .include "atari.inc" - .export _clrtobot, _clrtoeol, _clrtoline, _cspaces + .export _clrtobot, _clrtoeol, _clrtoline, _cspaces, _cblank .import mul40 ; from cc65's runtime .importzp tmp3 ; ditto @@ -80,3 +80,17 @@ _cspaces: dec tmp3 bne @lp rts + +_cblank: + tax + lda COLCRS + pha + lda ROWCRS + pha + txa + jsr _cspaces + pla + sta ROWCRS + pla + sta COLCRS + rts |