Changing the size of memory or changing the ROM version forces a reset of the PET.
The emulator has an IEEE-488 device at address 8. It can be used load and save (.prg) files.
Some programs don't run on ROM1 and some require more memory than the default 8K.
After 40 years I made a new version of my PET BASIC Light Cycles game! Not fast - works on 40 and 80 column PETs
It has one bug (trail elimination can sometimes hang the game) which will be fixed in the ML version (whenever I get that done)
Also with a little effort will run on any Commodore 8-bit (with enough RAM).
Get it at: https://portcommodore.com/files/plc23.prg