Speed and time¶
The machine normally runs at the speed of the real one, about 50 frames a second. The
Machine menu has the commands that change that: Pause, Fast Mode,
Slow Motion and Fast Forward. The same commands, and
Rewind
too, are at the right end of the toolbar. Their settings are on the
Emulation page of Options.
Pause¶
Machine > Pause stops the machine, and choosing it again lets the machine continue. The status bar says paused, and a pause sign shows in the top right corner of the picture. The key is Pause in both presets.
The machine also waits while Options, a file dialog or the Debugger is open, and continues when that window closes.
The Pause group on the Emulation page of Options offers three more ways to pause:
Pause when inactive - the machine stops whenever you switch to another program, and continues when you come back to the window. Off by default.
Pause in menus - the machine waits while a menu of the window is open: the menu bar, the right-click menu, the menus over the picture in fullscreen, a list from the toolbar. It continues when the menu closes. If you choose a command that opens a window, the machine stays stopped until that window closes. The volume slider does not stop it, because you set the volume by ear. Save History also holds the machine while you pick a save from it, whether you open it from the menu or by its key. On by default.
Resume by input - after Machine > Pause, the machine goes on at the first key you press, a click in the picture, a click on the Virtual Keyboard or a pad button. The key and the pad button reach the game, so the character moves at once. The click only ends the pause; the game does not get it as a mouse fire. Hotkeys work while the machine is paused and do not end the pause, and neither do Shift, Ctrl, Alt or the lock keys pressed alone. This ends only your own pause, not the pause of Options, a dialog, the Debugger, an RZX recording’s player or Pause when inactive. Off by default.
A menu never takes your own pause off: if you paused the machine, it stays paused after the menu closes.
Fast Mode¶
Machine > Fast Mode runs the machine as fast as the computer can, with no sound. Use it to get through a long wait - a slow loader, a long calculation. The title bar says fast while it is on, and anti-flicker is not applied.
The Fast Mode render row of the Emulation page sets how many frames a second Fast Mode shows, from 1 to 100 (30 by default). The frames in between are not drawn. Fast loading of a tape shows the same number of frames a second.
Any pause ends Fast Mode. Machine > Pause first lets the machine finish the frame, so the picture is whole. You cannot start Fast Mode while the machine is paused.
Slow Motion and Fast Forward¶
Machine > Slow Motion runs the whole machine slower, picture and sound alike: 1/2, 1/4 (the default) or 1/8 of the normal speed. Machine > Fast Forward runs it faster: x2, x4 (the default), x8 or x16, and the sound plays faster too. You set the speeds in the Slow Motion and Fast Forward rows of the Emulation page of Options.
The Faster and Slower hotkeys, Shift+Num++ and Shift+Num+- in both presets, step through all of these: 1/8, 1/4, 1/2, normal speed, x2, x4, x8, x16. If you hold one down, it keeps stepping. These hotkeys do not change the speeds set for Slow Motion and Fast Forward: the keys and buttons of those two modes always use the speeds set for them.
How fast x8 and x16 really run depends on your computer. If it cannot keep up, the machine runs as fast as the computer can. The ZX Evolution in TSConf mode and the ZX Spectrum Next need the most from the computer.
Switching one of them on switches the other off. The Overclock slider is a separate setting. It stays where it is in both modes, and moving it does not end either of them. Opening a file or switching to another machine brings the speed back to normal.
A sign in the top right corner of the picture shows which mode is on.
How the keys work¶
The Slow Motion, Fast Forward and Fast Mode, no limit rows of the Emulation page each end in a list that says how the key of that mode works:
Toggle - a press switches the mode on, the next press switches it off;
Hold - the mode is on only while the key is held down;
Tap or hold (the default) - a short tap switches it on or off, a longer press keeps it on only while the key is held.
The
Slow Motion,
Fast Forward and
Fast Mode buttons on the toolbar work the same way as their keys:
pressing a button is like pressing the key, and letting go is like releasing it. In the
Machine menu, a click switches the mode on or off, whatever the key setting is. The
Slow Motion and Fast Forward icons show the speed set for them.
Rewind¶
Rewind takes you back in time. Hold down the Rewind (Hold) key (Del in both presets)
or the
Rewind button on the toolbar. The picture runs
backwards, with the sound played backwards too, and the sign in the top right corner shows
how many seconds back you are. Let go, and the machine continues from the picture on the
screen. Everything that came after that picture is gone.
Rewind is on by default. Machine > Allow Rewind switches it off and on. While it is off, the Rewind button is grayed out. While it is on, Xpeccy+ keeps a history of the machine in memory, a snapshot every few frames. This takes 20 to 45 MB with the default settings and costs a little emulation speed. How the history is kept is described in Keeping time and going back.
Rewind on the Emulation page of Options is the same switch, with two settings beside it:
Step - the number of frames between two snapshots, from 1 to 50 (3 by default). When you rewind, each frame shown is one snapshot earlier, so a smaller step rewinds more slowly and smoothly, and keeps more snapshots in memory.
History - how far back you can go, from 5 to 300 seconds (30 by default).
The history starts over when:
the machine writes to a floppy disk, a hard disk or an SD card, because the disk could not be put back as it was;
you switch to another machine, or change a machine setting in Options that the history depends on;
you change Step or History;
an RZX recording starts or ends, or an RZX file starts or stops playing.
While a tape is being recorded, no history is kept and rewind does not start. Fast loading of a tape is not kept either: when you rewind, the picture jumps over it.
Overclock and Turbo Mode¶
Two more controls change how fast the CPU runs. They are described in Turbo Mode and Overclock:
Machine > Turbo Mode is the board’s own turbo, a part of the machine, as on the real one. A program can switch it by itself.
The Overclock slider on the Machine page of Options belongs to the emulator. It makes only the CPU faster. The frame rate, the music and everything timed by the frame stay at normal speed, while a program that is slow because of the CPU, such as a 3D game, runs faster. The Overclock Up and Overclock Down hotkeys move the slider.
Fast Forward is different from both: it speeds up the whole machine, frames and sound included, as if time ran faster.
While the CPU runs at a clock other than its base clock, the CPU clock indicator can show that clock over the picture (see Indicators on the picture). The status bar shows the clock all the time.