So one thing I noticed a while ago is that in screen 128 mode, the layer 0 data actually overwrites the PSG registers. This means theoretically you could create sounds by drawing in screen 128 mode.
Sure enough, if you do a certain pset, you can turn up the volume of the PSG:
Quote
PSET 258,199,$FF
You'll notice that makes a pinkish pixel towards the bottom right, and also makes a buzzing sound. You can also change the other registers, to make whatever sound you want, like a simple square wave.
Quote
10 SCREEN 128
20 PSET 256,199,$FF
30 PSET 257,199,$01
40 PSET 258,199,$F8
50 PSET 259,199,$3F