If you want to emulate an SN76489 in all its gory details,
ZeriBeep should do the trick.
(note that's in a PackDir archive - I think the read-only SparkFS on the Pi can open it)
It works natively in RISC OS, but I don't know if anyone has tested it on a Pi.