mirror of
https://github.com/cc65/cc65.git
synced 2024-06-30 16:29:58 +00:00
1 byte code size donation for Fabrizio ;)
This commit is contained in:
parent
95223be101
commit
ea463d95e3
|
@ -40,8 +40,8 @@ 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
|
||||||
lda #1
|
inx ; X is now 1
|
||||||
sta 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…
Reference in New Issue
Block a user