What a quick save keeps

Quick saves are kept per game, so a game’s saves stay together and the saves of another game do not push them out. For this, Xpeccy+ has to know which game is running, without looking inside the machine’s DOS. This page explains how it decides, where the saves go and what they carry. The settings are on the Saves page.

Which game is running

The game is the image you opened last: a tape, a snapshot or a disk in drive A. If, after that, a tape starts playing or the motor of drive A starts, as when you run a program from TR-DOS, that tape or disk becomes the game. Drives B to D and the cards never decide the game: a disk in drive B is a save disk as often as not, and a card holds a whole system.

Xpeccy+ recognizes a game by its content, not by its file name. The same game opened as a bare file, from an archive or from another folder shares one set of saves. An image over 16 MB is recognized by its path instead, because reading gigabytes at every open would take too long.

The game ends when you reset the machine - from the menu, with a key, with Hard Reset or from the Debugger - and when you change the machine. After that, saves go to the machine’s own folder until a tape or drive A starts something again. If a program jumps to address 0 by itself, that is not a reset you made, and it changes nothing. Another side of the same set - picked from its list, or put in by auto play when the tape runs out - is still the same game. When you load a save, its game comes back with it.

Where the saves go

Each game has its own folder in the saves folder. The folder’s name is the game’s name with a few characters of its fingerprint: Exolon - 3f2a91c0. If no game is running, saves go into a folder for each machine. Every save is an SZX snapshot with a picture beside it. Its name is the time it was taken, so Xpeccy+ always knows the newest one without a counter. When a kind of save - quick, on exit, timed - reaches its set number, the oldest save of that kind is deleted.

What a save carries

A save carries the tape, with its position, and the floppy disks as they are in memory at that moment, including changes not yet saved. So a save loads even after the image was moved or deleted, and the game finds on its disk what it wrote there. Hard disks and cards are not carried, because they are far too big; the save keeps only their names.

A save opens on the machine it was taken on; Xpeccy+ switches to that machine first.

Undo

Before every quick load, Xpeccy+ keeps the machine as it is in memory, with its media and its game. Undo Quick Load puts it back. Choose it again to go forward to the loaded save. This copy lives only in memory and is gone when the emulator closes.