This is a program that reverses words. It can be used in some sort of secret code. Try decoding this message: !EGASSEM A DEDOCED TSUJ UOY !YAROOH or this one: !EMOSEWA SI ROTALSNART OBOG EHT
The music was generated on an emulated C64, not a real one.