Put this in a file named "psglog.tcl" and put it in your openMSX scripts directory (share/scripts).

Usage:

F10

start_psg_log [<filename>]     

to start recording to <filename>, if unspecified it will end up in psg.log.

To stop:

stop_psg_log
