Login
Back to forumSee the full topicGo to last reply

Posted By

BSZ
on 2024-12-22
06:43:34
 Re: oh no. My sample player works in yape but not on hardware

I don't fully understand your code, but what is this at the beginning?

ldy #$00
tya
sta $FF01

The timer(s) in TED are quite simple, but can be set according to a specific sequence, the above does not correspond to that. (First set the Lower BYTE, then the Upper BYTE.) But if you use the timer, it's easier to set the right speed and then watch the flag in $FF09 to see when it expires.

Addendum: the first timer counts from the set value to 0, then restarts with the set value. If the bottom half was 0 to begin with, it will never take a usable value. If you stick to your solution above, use timer 2 or 3 for this purpose, starting at $FFFF after 0.



Back to top


Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon