mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-09-10 08:54:51 +00:00
spacebars: only quit if escape now
This commit is contained in:
parent
543fc1004d
commit
395f08f5ff
@ -354,7 +354,7 @@ sb_no_keypress:
|
||||
|
||||
sb_handle_keypress:
|
||||
bit KEYRESET ; clear keypress ; 4
|
||||
cmp #'Q'|$80 ; 2
|
||||
cmp #27|$80 ; escape ; 2
|
||||
beq sb_exit ; 3
|
||||
; -1
|
||||
|
||||
@ -370,13 +370,16 @@ sb_check_left:
|
||||
|
||||
sb_check_right:
|
||||
cmp #$15|$80 ; 2
|
||||
bne sb_exit ; 3
|
||||
bne sb_unknown ; 3
|
||||
; -1
|
||||
inc XPOS ; 5
|
||||
|
||||
jmp sb_display_loop ; 3
|
||||
|
||||
|
||||
sb_unknown:
|
||||
nop
|
||||
nop
|
||||
jmp sb_display_loop ; 3
|
||||
|
||||
|
||||
sb_exit:
|
||||
|
Loading…
Reference in New Issue
Block a user