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