6502 command stream player, part 14
fix it up plays Manbow pretty well
This commit is contained in:
parent
79331737ce
commit
7cbc59db32
|
@ -110,8 +110,12 @@ loop:
|
||||||
|
|
||||||
; interrupt handlers
|
; interrupt handlers
|
||||||
nmi:
|
nmi:
|
||||||
|
php
|
||||||
|
pha
|
||||||
lda #1
|
lda #1
|
||||||
sta pendingTick
|
sta pendingTick
|
||||||
|
pla
|
||||||
|
plp
|
||||||
rti
|
rti
|
||||||
|
|
||||||
irq:
|
irq:
|
||||||
|
@ -121,8 +125,8 @@ irq:
|
||||||
FCS_MAX_CHAN=8
|
FCS_MAX_CHAN=8
|
||||||
FCS_MAX_STACK=10
|
FCS_MAX_STACK=10
|
||||||
|
|
||||||
fcsAddrBase=$20
|
fcsAddrBase=$30
|
||||||
fcsZeroPage=$10
|
fcsZeroPage=$0e
|
||||||
fcsGlobalStack=$200
|
fcsGlobalStack=$200
|
||||||
fcsPtr=cmdStream
|
fcsPtr=cmdStream
|
||||||
fcsVolMax=volMaxArray
|
fcsVolMax=volMaxArray
|
||||||
|
|
|
@ -298,6 +298,7 @@ fcsFullCmd:
|
||||||
|
|
||||||
fcsSpeedDialCmd:
|
fcsSpeedDialCmd:
|
||||||
lda fcsSpeedDial-224,y
|
lda fcsSpeedDial-224,y
|
||||||
|
pha
|
||||||
tay
|
tay
|
||||||
lda fcsFullCmdTable-28,y
|
lda fcsFullCmdTable-28,y
|
||||||
tay
|
tay
|
||||||
|
@ -305,6 +306,8 @@ fcsSpeedDialCmd:
|
||||||
sta fcsTempPtr
|
sta fcsTempPtr
|
||||||
lda fcsCmdReadTableHigh,y
|
lda fcsCmdReadTableHigh,y
|
||||||
sta fcsTempPtr+1
|
sta fcsTempPtr+1
|
||||||
|
pla
|
||||||
|
tay
|
||||||
jmp (fcsTempPtr)
|
jmp (fcsTempPtr)
|
||||||
|
|
||||||
fcsCall:
|
fcsCall:
|
||||||
|
|
Loading…
Reference in a new issue