Probably the most technical forum around. It does not have to be coding related, or assembly code only. Just talk about how you can use the AY chip to do cool sounding things
- Pilot Officer
- Posts: 68
- Joined: Thu Oct 13, 2016 9:55 pm
Suppose I've set the divider for channel 0 to be 1024, and there are 63 tone ticks — i.e. 1008µs — until the tone output next toggles. I then set the divider to 15. When should I expect the next change in output level?
Phrased differently: assuming a straightforward divider -> counter, counter -> zero implementation, when does the AY reload its tone counters? Possibilities:
- only after reaching zero;
- whenever a divider is set;
- shortly after a divider is set;
- only when the fine or coarse part of a divider is set;
- some other time entirely.
Or does the assumption not hold up?
- Squad Leader
- Posts: 733
- Joined: Sat May 21, 2011 7:21 pm
- Location: Between UK and France
I would say that the AY will re-get the values from the registers on each external clock edge.
What would probably happen is that the timer is not reset but will use the new parameters.
I think it can be tested by using maybe a slower clock (even if a sub 50Mhz scope would be enough) and do the test by setting the registers and watching the output.
Who is online
Users browsing this forum: No registered users and 1 guest