There are two reasons to use a 6522 to connect a sound chip
1) Incompatible bus speed. The old PSGs, like the AY-3-8910, can't be connected directly to the 6502 bus if the CPU is running faster than 2MHz without the hassle of implementing wait-states. If you want to run your CPU faster than 2MHz, connecting older, slow devices through a 6522 is the easiest option.
2) Incompatible bus signals. Most PSGs were not designed to directly connect to the 6502 bus. As a result, they need different control signals to those on the 6502 bus, requiring logic to convert the 6502 bus signals to those needed by the PSG. While this isn't a major problem if you are implementing your system with a programmable logic device, if you are using 74HC devices, the interface between a 6502 and a PSG can require several logic devices to implement. By connecting the PSG through a 6522, the logic needed to generate the control signals for the PSG becomes a software issue instead of a hardware issue.
To summarize, if you are happy running your system at a low clock speed and it isn't too difficult to interface the PSG to the 6502's bus, there is no advantage to using a 6522 to connect the PSG. If, however, you want to run your CPU faster than 2MHz or the interfacing requirements of the PSG are complex, connecting the PSG through a 6522 is the better option.
_________________ Shift to the left,
Shift to the right,
Mask in, Mask Out,
BYTE! BYTE! BYTE!
|