View menu

These settings decide how big the picture is, how much border it shows, and how it is drawn: the colors, a shader, anti-flicker. The quick switches are in the View menu, and all the settings are on the Video page of Options (see Video page). The menu can also keep the window over the others and hide a still pointer, and it shows and hides the menu bar, the toolbar, the status bar, the virtual keyboard and the input overlay.

Size

View > Size has x1 to x6: each pixel of the machine is drawn as a square of 1 x 1 to 6 x 6 screen pixels. The scale is always a whole number, so every pixel of the picture is the same size and nothing is blurred. At x1 the picture is drawn as it is, without a shader.

The window’s size follows from the scale and the border size, and changes when either of them changes.

You can also maximize the window, or resize it by dragging its edges or snapping it to half of the screen. At any size other than its scale’s own, the picture is fitted to the window as in fullscreen: as big as it fits, with more border in the room it leaves, up to the full border, and black or a side fill past that (see Fullscreen). If you pick a size in View > Size, the window gets that scale’s size back, with whole pixels. If you restore a maximized window, it gets the size it had before. On macOS the green button is fullscreen, and Option-click on it maximizes the window.

The window’s size is remembered. If you close Xpeccy+ while it is maximized, it starts maximized next time, on the same screen. If you close it at a size of its own, it starts at that size.

Border

The Border slider in the Picture group of Options > Video sets how much border is shown around the screen. The label beside it shows the size’s name and the size in machine pixels:

Size

Picture

no

256 x 192, the screen alone

tiny

272 x 208

small

288 x 224

medium

320 x 240

full

352 x 288

overscan

the whole frame the machine draws

View > Border has the same sizes. They take effect at once, whether the machine is running or paused.

The setting is the same for every machine, but some machines need more of their frame than others: ATM Turbo 2+ and ZX Evolution (BaseConf) show at least medium, the ZX Spectrum Next at least full, and ZX Evolution (TSConf) always shows its whole frame, so the slider and View > Border are grayed out there. On the others, View > Border grays out the sizes smaller than the machine shows.

Fullscreen

View > Fullscreen fills the whole screen with the picture. A double click on the picture does the same, and another one goes back (see Mouse). In fullscreen the picture is fitted to the screen rather than kept to whole pixels, unless View > Integer Scale is ticked. Fullscreen tells how to reach the menu from there.

View > Keep Aspect Ratio matters in fullscreen and in a window that is maximized or resized:

  • ticked - the picture keeps its shape, and the room it leaves (at the sides of a wide screen, above and below it in a tall window) is filled as View > Side Fill says;

  • not ticked - the picture is stretched to fill the whole screen or window.

View > Integer Scale, under it, keeps that picture to whole pixels: every dot is the same number of screen pixels, as many as fit with the border the Border size sets. The room left around the picture is filled as View > Side Fill says. It is off by default, and grayed out while Keep Aspect Ratio is not ticked.

Fit on the Video page of Options combines both: Stretch, Keep ratio or Integer scale.

View > Side Fill sets what fills the room that the picture leaves free. The first four choices first show more border there, up to the full border (with overscan chosen, as far as the machine’s frame goes), so a flashing border is seen big. The fill takes the room past the border:

  • Border + Black - black past the border, the default;

  • Border + Stretched Edges, Border + Mirror, Border + Letterbox - the fill past the border, as below.

The other four keep the border at the size the Border slider sets, and the fill starts at its edge. With no border, the fill starts at the edge of the screen itself:

  • Black - black bars;

  • Stretched Edges - the picture’s outer rows and columns carried outwards, blurred and dimmed, like a glow. With Blur at Off, they are sharp: each row of dots runs on as it is, with the shader’s scanlines, so a loading border fills the whole screen;

  • Mirror - the picture as it is shown, through the shader and with a curved screen’s black corners too, reflected at its edge, blurred and dimmed;

  • Letterbox - the screen itself, without the border, blown up to cover the whole room, blurred and dimmed. Next to the picture, its edges are carried out as with Stretched Edges and run into it, so the picture has no hard edge. It looks best with no border and a picture that reaches its edges.

While you resize the window, the border grows with it smoothly: its edge is cut at the window’s edge, not a whole dot at a time.

Mirror in fullscreen

Letterbox in fullscreen, with no border

It is the same setting as Side fill on the Video page of Options, where you also set its blur and brightness (see Side fill). Without OpenGL, you can pick only Border + Black and Black.

Fullscreen is remembered: if you close Xpeccy+ in fullscreen, it starts in fullscreen next time.

Always on Top

View > Always on Top keeps the main window over the windows of other programs, even when another program is in use. Xpeccy+’s own windows - the Debugger, the Tape Player, Options, a message - still open over it. It is off in fullscreen and comes back when you leave fullscreen. The switch is remembered. It is also on the Appearance page of Options, as Always on top.

Auto-Hide Pointer

View > Auto-Hide Pointer hides the mouse pointer once it has stayed still over the picture for 2 seconds, in a window and in fullscreen. Moving the mouse brings it back. Over the bars, a menu or a dialog, the pointer is not hidden. It is on by default, and the switch is remembered. It is also on the Appearance page of Options, as Auto-hide pointer.

Display

A look changes the picture after it is drawn: scan lines, the mask of a CRT tube, a curved screen, the blur of a TV signal. Pick one in View > Display, or in the Display list of Options > Video. There the look shows at once, and Cancel puts back the one that was there before. The list has up to four parts:

  • None - the picture as it is - and Scanlines: plain scan lines with a hard or a soft dot, one for each line of the picture, about as bright as None;

  • the looks of a tube: Home TV - a small set with a coarse mask, a soft beam and a bulging screen; Home TV (composite) - the same set on its video input, with the colors a PAL set makes of fine patterns and at color edges; RGB monitor - the Commodore 1084S, its mask as fine as the tube’s own; Commodore 1084S - the same monitor with its slot mask as it looks close up, its slots standing apart like bricks, three screen pixels per triad at any scale; Sony PVM - a studio monitor, sharp, curved a little like a cylinder, the look a new installation starts with; Tridot - a fine dot mask, three screen pixels per triad at any scale, on a flat screen: a bright, soft picture with a glow, a little afterglow, and a set’s ghost and grain; Xpixie - soft and glowing, with afterglow, a ghost and noise;

  • the presets you saved;

  • shader files of your own, from the shaders folder of the configuration.

View > Display > Flat screen, also a tick on the Video page of Options, keeps every look flat: no Curvature or Corners. It is on at first. A look’s settings still show the look’s own values for these two, and if you move one of them, Flat screen turns off.

View > Display > Bezel draws a monitor’s cabinet around the picture - Frame, Themed Frame, Dark Monitor or Beige Monitor. Settings…, under them, lets you set it up while you watch the picture. See Bezel.

The shader files that the tube looks replaced are still there, in View > Display > Legacy shaders (deprecated) and as Legacy: items in the Options list. They will be removed in a coming release. After that, a configuration that names one of them opens the tube look nearest to it.

If a look has settings, View > Display > Settings… opens a window with them, and so does the button beside the list in Options. Scanlines has Depth (how dark the gap between two lines is; past 1, a thicker black band), Gap width, Keep brightness (turned down, less of the light the gaps take is given back, and bright things keep deep gaps too) and Softness. The picture shows every change at once, and what you set stays with the look: if you pick another look and come back, it is as you left it. Beside a setting you changed is , which puts that one setting back.

The settings of a look

A tube’s settings are in frames, one for each part of the tube. A frame with a tick is a part that you can switch off, and then it costs nothing:

  • Signal - Input, the cable: RGB as a monitor gets it, Composite or RF as a PAL TV set does, with the colors a real set made of fine patterns and at color edges, or SECAM, a set of that system, on which a fine pattern turns one flat warm color; Color, how strong they are; Ghost, a faint second picture beside the first; Noise. Under All settings: Color carrier, the encoder the picture comes through, whatever the machine - a 128K’s, whose color pattern stands still (programs that paint with it, such as Chromatrons Attack, need this one), or a 48K’s, whose pattern crawls; Phase, one of the eight ways a 128K’s pattern can fall (the machine picks one at power-on), numbered P1 - P8 as a phase test program on a real +2 numbers them; Field order, the other thing the machine picks at power-on: which of two frames starts the switch of the color’s sign from line to line. Only a picture that changes every frame shows it, such as the rainbow tests: with the other order, their colors come in the reverse order. A snapshot opens the same way each time, but a program loaded from tape may start on either frame and need the other order; Shimmer, how much of the pattern’s flicker from frame to frame shows; Interference, a wave that pushes the lines aside;

  • Mask - Aperture grille, Slot mask or Shadow mask, its Strength and Fineness: how many triads of the mask a dot of the picture has. The mask is drawn in whole screen pixels, so in a small window it is coarser than the number says. Size instead keeps a triad the same width on your screen at any scale: 2 pixels (magenta and green, the colors run together), 3 pixels or 6 pixels. Bridges, under All settings: how dark the bars between a slot mask’s openings are. A fine mask is drawn with the display’s own subpixels. If its colors look wrong, set Display’s subpixels under All settings to your display’s order, RGB or BGR, or to Other for a mask without colors;

  • Beam - Scanlines, how dark the gap between two lit lines is (past 1, the beam gets thinner and a black band opens between the lines; at 1.9, a line is a tenth of its row); Gap width, how much of a line its soft edges take; Focus, how sharp a dot’s edge is along the line; Spot, how wide the beam’s spot is (with it, a dot’s ends come out round, and a bright line comes out a little thicker than a dim one, as on a tube). Under All settings: Wider where brighter, how much of its gap a bright line fills; Roll, how fast the scanlines slowly drift down the screen, just for the look: they become bands a little shorter than a line, and the picture itself stays where it is;

  • Screen - Curvature, Corners, Vignette, Brightness; Keep brightness - the light the mask and the scanlines take is given back to the lit lines, so the picture stays as bright as without a look. Turned down, less of it is given back, and the picture is darker, with deeper gaps on bright things; Bloom - the mask and the scanlines take light, and a pixel cannot give all of it back to what is already bright. With Bloom, the brightest things keep their light, and the mask and the scanlines fade on them instead. A small picture, under about three screen pixels per dot, stays flat. A curved picture goes on to the edge of its place as its border does, and the corners are rounded there;

  • Glow - light around bright things;

  • Divergence - how far the red and the blue beams land from the green one, more so towards the screen’s edges. Under All settings, All over makes a share of it the same all over the screen, as with beams that are out of alignment;

  • Afterglow - how much of a lit dot is left a frame later.

Under the frames, GPU time shows how long the graphics card takes to draw the look for one frame, and in brackets what share that is of the time between two refreshes of your display. Near 100%, the card falls behind.

  • All settings - shows the finer ones too;

  • Defaults - puts every setting of this look back;

  • Save as preset… - saves the look as it stands under a name of yours; it joins the list;

  • Delete preset - removes a preset of yours.

Your changes to the looks go into the file that Export settings… writes, and Reset to defaults puts every look back as it came with Xpeccy+ (see Application page). Your presets stay.

A look is not used at x1, where there is no room for its effect. With None, if a picture is not a whole number of screen pixels per dot (in fullscreen, or in a maximized window), only the seams between dots are softened, so every dot keeps the same width and the picture stays sharp. If the computer’s graphics cannot run shaders, the list holds only None. If there is no usable OpenGL at all, on an old graphics chip, the picture is drawn without it, and the window says so at the start. --no-gl does the same on purpose.

Put your own shaders in the shaders folder of the settings folder, as .txt files. Your presets are kept there too, as .preset files. A file there with the name of a built-in shader replaces that shader. The file holds two parts in GLSL: a line vertex: followed by the vertex shader, and a line fragment: followed by the fragment shader. The picture comes in as the texture rubyTexture, with its size in rubyInputSize and rubyTextureSize. The size of the picture on the screen is in rubyOutputSize. A file can also hold several passes, each drawn into a picture of its own that the next pass reads, with textures, and with parameters, which are the settings of its window. config/shaders/README.md describes the format.

If the shader does not work, the message shader error appears on the picture, and the picture is shown without a shader. The button Error: check the log then appears beside the Display list of Options > Video. Its tooltip has the first error with the file’s line, and a click on the button opens all of them. The shader stays chosen, so you can correct the file and read it again.

The Reload Shader action reads the shader file again, so you can see a change you have just saved, and says shader reloaded. It has no key by default. You can give it one on the Hotkeys page of Options (see Hotkeys page).

ZX Palette

The 16 colors of the ZX picture can be taken from several palettes. Pick one in View > ZX Palette, or in the Palette list of Options > Video. Xpeccy+ is the built-in palette; the others are listed by their file names, without the extension.

To change the colors of a palette, pick it in Options > Video and click the edit button beside the list. The Palette Editor shows the 16 colors in four rows: the eight normal colors in the top two rows, the eight bright ones below them. Click a color to choose another one, then click OK. The change takes effect only after Apply or OK in Options. Cancel there discards it. The edited palette is saved under the same name in the palettes folder of the settings folder (see Where the settings are), and from then on that file is used instead of the bundled one. You cannot edit the built-in Xpeccy+ palette, so the edit button is grayed out for it.

If you have edited a bundled palette, a second button, , appears beside the edit button. It asks first, then deletes your edited copy, and the palette is again the one that came with Xpeccy+.

A palette of your own is a text file in the same palettes folder: 16 lines, one color on each, written as #RRGGBB - black, blue, red, magenta, green, cyan, yellow, white, then the same eight colors bright. A file with fewer than 16 colors is not used, and the built-in palette is shown instead.

Grayscale in the Picture group of Options > Video draws the picture in shades of gray.

If you change the palette or Grayscale while the machine is paused, the change shows at once, unless a tape is playing. The picture is drawn again in the new colors, and the machine stays where it was.

A machine with ULA+ can show 64 colors when a program asks for them. You switch ULA+ on with ULA plus in the machine’s advanced settings (see Advanced settings).

Virtual Keyboard

The Virtual Keyboard

View > Virtual Keyboard > Show (Alt+K) opens a picture of the Spectrum keyboard. The keys that are pressed on the machine light up, whether they come from the PC keyboard, a joystick on keys or a click here.

  • Left button on a key - holds the key down while the button is held. On Caps Shift and Symbol Shift it locks the key down instead, and a second click releases it: click Caps Shift, then a digit, to get a cursor key.

  • Right button on a key - locks the key down; a second right click releases it.

  • Middle button on a key - releases all the keys.

A key takes clicks on itself and on the words over and under it. For the keyboard’s settings, right-click between the rows or beside the keys. They are also under Show in View > Virtual Keyboard, and in the Virtual Keyboard submenu of the picture’s right-click menu, which is easier with the 128K’s close-set keys:

  • Zoom x1, Zoom x1.5, Zoom x2, Zoom x3 - the size of the window. You can also drag its edge: the picture keeps its shape and is drawn sharp at any size.

  • Skin - 48K (Classic), 48K (White), 128K (Classic), 128K (White), Next (Black), Next (White), Next (Magenta), Klava, Klava (Washed), Robik or Robik (Full-Size). A skin you pick here stays, whatever the machine. Klava is the 58-key keyboard of many clones of the early 1990s, worn, with some caps crooked and the cream ones yellowed. Klava (Washed) is the same keyboard clean. Robik, shown below, is the Robik’s keyboard with a narrow rim of its case around the keys. Robik (Full-Size) shows it in its whole case, with the keys smaller in the window. By machine, on by default, shows the Next keyboard on the ZX Spectrum Next, the 128K one on a 128K, +2, +2A or +3, the 48K one on a 48K, Robik on the Robik and Klava on the other clones (Pentagon, Scorpion, Profi, ATM, ZX Evolution and the rest). It shows them in the tone you picked last: Klava (Washed) if you picked that one. Only the Next has a Magenta skin, so the others then show their classic one. The window’s title shows the name of the skin.

  • Dock under the emulator - the keyboard loses its frame and sits under the main window, as wide as the main window, and moves with it. In fullscreen, or if there is no room below, it lies over the bottom of the picture.

  • Highlight the key under the pointer - the key the mouse is over lights up as a pressed one does, but dimly, so you can see which key a click will take. On by default.

  • Release all keys - releases every key.

Keys you type while the window is in front go to the machine. Esc closes the window. If it is not docked, it opens again where you left it.

The Spectrum 128 skin

On the 128 keyboard the extra keys (True Video, Edit, Delete, the cursor keys and the rest) press Caps Shift or Symbol Shift together with a key, as on the real keyboard. A right click locks such a key down whole.

Such a key lights up while you hold it here, or while you hold the PC key that makes it (Backspace for Delete, the arrows for the cursor keys, and so on). The two keys it presses light up dimly. If you press them one by one, they light up fully, and the extra key stays dark. On the 48K keyboard, which has no such keys, the two keys light up fully. Of the two Caps Shifts and the two Symbol Shifts, only one lights up: the one you clicked; if you did not click one, the one on the same side as the PC key that holds it (the right Shift lights the right one); otherwise the left one.

The Robik skin

The Robik keyboard has keys the Spectrum has not:

  • The cursor block on the right and the key with the crosshair are the Kempston joystick: up, down, left, right and fire. They light up while the joystick is pressed, from a gamepad too.

  • The two RES keys, pressed together, reset the machine, as on the real one. A click on one only holds it down. Right-click one RES to lock it down, then click the other.

  • On the Robik, Edit, Del, the full stop, the comma, Х, Ж, Э, Б, Ю, C and L are its own keys. On other machines, Edit and Del are Caps Shift with 1 and with 0, the full stop and the comma are Symbol Shift with M and with N, and the rest do nothing.

  • MF does nothing: on the Robik it is wired to nothing.

  • The red light under the logo is the power light, and it is always on.

For layout authors: a file zx-black.json, zx-white.json, zx-128.json, zx-128-white.json, zx-next.json, zx-next-white.json, zx-next-magenta.json, zx-kopir.json, zx-kopir-worn.json, zx-robik.json or zx-robik-compact.json in the vkbd folder of the settings folder (see Where the settings are) is drawn instead of the built-in skin of that name, and is drawn again each time you save the file. A file with any other name there, zx-<name>.json, is a skin of its own: it appears in the Skin menu under that name, after the built-in ones.

Input Overlay

View > Input Overlay draws the keys, the joystick and the mouse over the picture, lit while they are pressed. It is marked EXPERIMENTAL in the menu.

  • Show - the overlay on or off.

  • Keyboard, Joystick, Mouse - which parts to draw: the 40 Spectrum keys, the Kempston joystick with its fire buttons, the Kempston mouse with its buttons and wheel. A joystick or mouse the machine does not have is drawn faint.

  • Source - where the overlay takes the input from: Auto: replay or your keys - what the program read while an RZX replay plays, and what you press the rest of the time; What the program reads - only the keys and buttons a program has read; What you press - everything you press, read or not.

  • Position - Bottom left, Bottom, Bottom right (the default), Top left, Top or Top right.

  • Size - Small, Medium or Large.

  • Opacity - from 40% to 100%.