File types page

The File types page

Here you choose what opening a tape or a disk does - run it, mount it, or ask - and whether the media in the drives come back at the next start. The table shows which machine each kind of file opens on.

Run a program explains what a file needs and which machine it switches to. On the File types page of Options you set this for each format.

The General group at the top of the page:

  • Run opened media, Mount opened media or Ask: run or mount - what opening a tape or a disk does. Ask shows the Open Media question. If you tick Remember my choice there, your answer is saved in this setting.

  • Remember mounted media - the tape and the disks in the drives are opened again at the next start.

The File types group has a row per format:

  • Format - the kind of file.

  • Needs - what a machine must have to run it: any machine, Beta Disk (TR-DOS), +3 disk drive, TSConf, ZX Spectrum Next, read from the file (a .z80 names its model, a .sna names only 48K or 128K), the machine it was made on (SZX) or the machine it was recorded on (RZX).

  • Opened on - Auto, Ask, Keep current, or one machine from the list.

A tape runs on any machine, so the tape rows have no Ask. In these rows, Auto only switches back to your own machine after another file switched away from it. If you pick a machine in Opened on, it is used for every file of that format that it can run. Restore defaults sets every row back to Auto.

Only a file that is about to run can switch the machine. A snapshot always can. A tape or a disk can only when it is run, and a disk only from drive A. A screen file never switches the machine.

A .z80 names the model it was taken on, as an .szx does, and Auto opens it on that model. A 48K snapshot opens on the 48K, and a 128K one on the 128K rather than on a +2 or a Pentagon. The 48K, the 128K and the Pentagon each have a frame of a different length, so a program timed to the screen runs right only on its own machine. A Pentagon 1024 counts as a Pentagon. Keep current opens the snapshot on the machine you are on.

Any other snapshot - a .sna, or a .z80 with Ask or a machine picked in Opened on - runs on any machine that has its memory paging. A snapshot taken inside the ROM - in the 128K menu or the BASIC editor, or in the middle of a ROM routine - also needs the very same ROM:

  • A .z80 taken in the menu or editor runs only on the model it names. Even the clones’ ROMs differ there: the Pentagon’s menu has a TR-DOS item that the 128K’s menu does not have. The +2A and +3 share their ROMs, but a +3’s disk system is set up for its drive. A snapshot stopped in a routine of 48 BASIC needs the same editor too, because 128 BASIC calls 48 BASIC with its own addresses on the stack: one taken on a 128K runs on the 128K and the clones, but not on the +2, +2A or +3.

  • A .sna does not name a model. If it was taken in the menu or editor, Xpeccy+ tells a +2, a +2A or a +3 apart by what the ROM left in memory. The 128K and its clones share that code, so for them, and whenever the snapshot gives no clue, Auto asks which machine to use, as Ask does. To keep the model, save the snapshot as .z80 or .szx.

  • A .sna of a program running in RAM stays on the current machine: Xpeccy+ looks into a .sna only if it was stopped inside the ROM. A .z80 of a program that keeps the 128K editor’s ROM paged in needs a machine with that editor, and the +2, +2A and +3 do not have it.

A machine of your own counts by its hardware, whatever ROM files it has.