1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-28 19:29:53 +00:00

1 byte code size donation for Fabrizio ;)

This commit is contained in:
IrgendwerA8 2018-05-26 16:33:19 +02:00
parent 95223be101
commit ea463d95e3

View File

@ -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