mirror of
https://github.com/cc65/cc65.git
synced 2025-02-28 20:29:46 +00:00
Saved even one more byte.
This commit is contained in:
parent
e77ac8a230
commit
49a9b88734
@ -40,8 +40,7 @@ L3: jsr KBDREAD ; Read char and return in A
|
|||||||
bne seton ; Go set it on
|
bne seton ; Go set it on
|
||||||
lda CURS_FLAG ; Is the cursor currently off?
|
lda CURS_FLAG ; Is the cursor currently off?
|
||||||
bne crs9 ; Jump if yes
|
bne crs9 ; Jump if yes
|
||||||
inx ; X is now 1
|
inc CURS_FLAG ; Mark it as off
|
||||||
stx CURS_FLAG ; Mark it as off
|
|
||||||
lda CURS_STATE ; Cursor currently displayed?
|
lda CURS_STATE ; Cursor currently displayed?
|
||||||
beq crs8 ; Jump if no
|
beq crs8 ; Jump if no
|
||||||
ldy CURS_X ; Get the character column
|
ldy CURS_X ; Get the character column
|
||||||
|
Loading…
x
Reference in New Issue
Block a user