Guides
Each guide explains one task. If you are new to Klive, start with Get Started; it takes you from installing Klive to debugging your first program. Come back here when you need the details.
I want to…
| I want to… | Read |
|---|---|
| pick a machine or model to emulate | Choosing a machine |
| arrange the emulator and IDE windows | The emulator window |
| type on the emulated keyboard, or use a joystick or mouse | Keyboard, joysticks and mouse |
| use my own ROM | Custom ROMs |
| record a video of the screen | Recording the screen |
| load a tape, or find what my program saved | Tapes |
| load or save a snapshot | ZX Spectrum snapshots, machine state files |
| work with floppy and hard-disk images | Tutorial: working with disks, the Disk Explorer |
| use the ZX81, ZX80, HT-1080Z, Z88, Timex or Scorpion | The ZX81 and ZX80, the HT-1080Z, the Cambridge Z88, Timex and Scorpion |
| start a new project | Creating a project, project templates |
| add my own steps to the build | The build system |
| turn my program into a tape, disk or NEX file | Exporting your program |
| do things faster by typing commands | The command prompt |
| write Z80 assembly | Klive Z80 assembler |
| write in BASIC | Boriel BASIC |
| write in C, Pascal, or sjasmplus assembly | z88dk, PASTA/80, sjasmplus |
| step through my program | Running, pausing and stepping |
| stop only when something is true | Breakpoints, conditions, hit counts and logpoints |
| see where my BASIC or C program is, and its variables | Call Stack and Variables |
| see registers, memory and the disassembly | Machine-state panels, the Memory view, the Disassembly view |
| go back in time to find a bug | Reverse debugging, the execution history |
| count the T-states a routine takes | Measuring T-states, the profiler |
| debug a NEX file | Running and inspecting NEX files, Next breakpoints |
| read the Next’s registers, memory mapping and palettes | Next registers, memory mapping and palettes |
| find out why my Next picture looks wrong | Why does my Next picture look wrong?, video layers, the sprite, tilemap and Layer 2 inspectors, the Copper view |
| find out which code changed a Next palette colour | Debugging palettes |
| draw sprites and edit palettes for the Next | Sprite and palette editors |
| use the Next’s SD card and NextZXOS | The SD card |
| check a Next core update file before I update | Core update files (TBBLUE.TBU) |
| see what the Next’s firmware holds | The firmware file (TBBLUE.FW) |
| take apart a program I did not write | Detecting code and data, annotating a disassembly, exporting a disassembly as source |
| see which code ran, and how often | Code coverage and the heat map |
| test my Z80 code automatically | Unit tests, Klive on the command line and in CI |
| control Klive from a script | Automation |
| change Klive’s language, theme or shortcuts | Settings, the display language, keyboard shortcuts |
| read a machine’s own manual | The Library: the Cambridge Z88’s User Guide and Developers’ Notes |
All guides
Choosing a machine, the emulator window, the keyboard, custom ROMs and recording the screen.
The EmulatorTapes, snapshots, machine states, RZX recordings, disks and Microdrives.
Tapes, Disks and SnapshotsThe ZX81 and ZX80, the HT-1080Z, the Cambridge Z88, and the Timex and Scorpion machines.
Other MachinesProjects, templates, file types, the build system and exporting your program.
Projects and BuildingThe editor, navigation and the command prompt.
Editing CodeThe Klive Z80 assembler, Boriel BASIC, sjasmplus, z88dk and PASTA/80.
Languages and ToolchainsStepping, breakpoints, watches, the call stack and variables, the machine-state panels, memory and disassembly, and going back in time.
DebuggingNEX files, registers and palettes, Next breakpoints, the Copper view, the inspectors and layers, the sprite and palette editors, and the SD card.
ZX Spectrum NextCode coverage, the profiler, code and data detection, annotations, the Graphics Finder and SkoolKit.
Analysis and Reverse EngineeringUnit tests in the IDE and in CI, and driving Klive from scripts.
Testing and AutomationSettings, the display language, shortcuts, syntax colours and diagnostics.
Customizing Klive