diff options
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 |