mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
Turbo Mode on Start key (A5200)
This commit is contained in:
@@ -234,7 +234,7 @@ EndOfCreditsVBI
|
|||||||
mva #consol_reset consol
|
mva #consol_reset consol
|
||||||
mva #@kbcode._none kbcode
|
mva #@kbcode._none kbcode
|
||||||
@
|
@
|
||||||
|
exit
|
||||||
pla
|
pla
|
||||||
tay
|
tay
|
||||||
pla
|
pla
|
||||||
@@ -245,14 +245,15 @@ EndOfCreditsVBI
|
|||||||
.endp
|
.endp
|
||||||
.IF TARGET = 5200
|
.IF TARGET = 5200
|
||||||
.proc kb_continue
|
.proc kb_continue
|
||||||
|
mvx #%00000111 CONSOL ; virtual CONSOL keys not pressed
|
||||||
|
cmp #$0c ; START key on 5200 keypad
|
||||||
|
beq StartPressed
|
||||||
sta kbcode ;Store key code in shadow.
|
sta kbcode ;Store key code in shadow.
|
||||||
mva #0 SkStatSimulator
|
mva #0 SkStatSimulator
|
||||||
exit pla
|
beq VBLinterrupt.exit
|
||||||
tay
|
StartPressed
|
||||||
pla
|
mvx #%00000110 CONSOL ; virtual CONSOL Start key pressed
|
||||||
tax
|
bne VBLinterrupt.exit
|
||||||
pla
|
|
||||||
rti
|
|
||||||
.endp
|
.endp
|
||||||
.ENDIF
|
.ENDIF
|
||||||
|
|
||||||
|
|||||||
BIN
Binary file not shown.
Reference in New Issue
Block a user