Get the source code of your favourite console emulator. Insert random floating point errors or reverse the meaning of some of the branch opcodes. Enjoy. The older the game, the more likely it will still work, and the more likely it will look like going on a bad trip.