Changes
PSG
,/* Bit 1 (Alternate) and Bit 0 (Hold) */
When bit3 = 1, these 2 bits determine what happens to volume and direction at the end of a period.
volume = ~volume & 0x0F if !(alternate^ hold)
direction = 0 if hold else ~direction & 1 if alternate