mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-02-03 23:34:02 +00:00
pt3_player: making sure we match most recen pt3_lib
have reports it breaks on some machines
This commit is contained in:
parent
98b2178304
commit
42402e19c5
@ -21,7 +21,8 @@
|
||||
TIME_OFFSET = 13
|
||||
|
||||
interrupt_handler:
|
||||
php
|
||||
php ; save status flags
|
||||
cld ; clear decimal mode
|
||||
pha ; save A ; 3
|
||||
; A is saved in $45 by firmware
|
||||
txa
|
||||
@ -207,10 +208,9 @@ exit_interrupt:
|
||||
tay ; restore Y
|
||||
pla
|
||||
tax ; restore X
|
||||
pla ; restore A ; 4
|
||||
|
||||
pla ; restore a ; 4
|
||||
|
||||
; this is needed on II+/IIe not not IIc
|
||||
; on II+/IIe (but not IIc) we need to do this?
|
||||
interrupt_smc:
|
||||
lda $45 ; restore A
|
||||
plp
|
||||
|
@ -34,7 +34,8 @@ pt3_loop_smc:
|
||||
sta current_subframe_smc+1
|
||||
sta DONE_SONG ; undo the next song
|
||||
|
||||
beq done_pt3_irq_handler ; branch always
|
||||
; beq done_pt3_irq_handler ; branch always
|
||||
beq pt3_play_music ; branch always
|
||||
|
||||
move_to_next:
|
||||
; same as "press right"
|
||||
|
@ -1,7 +1,7 @@
|
||||
; read any file slot 6 version
|
||||
; based on FASTLD6 and RTS copyright (c) Peter Ferrie 2011-2013,2018
|
||||
|
||||
; modified to assembled with ca64 -- vmw
|
||||
; modified to assembled with ca65 -- vmw
|
||||
; added code to patch it to run from current disk slot -- vmw
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user