Skip to Content
GuidesOverview

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 emulateChoosing a machine
arrange the emulator and IDE windowsThe emulator window
type on the emulated keyboard, or use a joystick or mouseKeyboard, joysticks and mouse
use my own ROMCustom ROMs
record a video of the screenRecording the screen
load a tape, or find what my program savedTapes
load or save a snapshotZX Spectrum snapshots, machine state files
work with floppy and hard-disk imagesTutorial: working with disks, the Disk Explorer
use the ZX81, ZX80, HT-1080Z, Z88, Timex or ScorpionThe ZX81 and ZX80, the HT-1080Z, the Cambridge Z88, Timex and Scorpion
start a new projectCreating a project, project templates
add my own steps to the buildThe build system
turn my program into a tape, disk or NEX fileExporting your program
do things faster by typing commandsThe command prompt
write Z80 assemblyKlive Z80 assembler
write in BASICBoriel BASIC
write in C, Pascal, or sjasmplus assemblyz88dk, PASTA/80, sjasmplus
step through my programRunning, pausing and stepping
stop only when something is trueBreakpoints, conditions, hit counts and logpoints
see where my BASIC or C program is, and its variablesCall Stack and Variables
see registers, memory and the disassemblyMachine-state panels, the Memory view, the Disassembly view
go back in time to find a bugReverse debugging, the execution history
count the T-states a routine takesMeasuring T-states, the profiler
debug a NEX fileRunning and inspecting NEX files, Next breakpoints
read the Next’s registers, memory mapping and palettesNext registers, memory mapping and palettes
find out why my Next picture looks wrongWhy 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 colourDebugging palettes
draw sprites and edit palettes for the NextSprite and palette editors
use the Next’s SD card and NextZXOSThe SD card
check a Next core update file before I updateCore update files (TBBLUE.TBU)
see what the Next’s firmware holdsThe firmware file (TBBLUE.FW)
take apart a program I did not writeDetecting code and data, annotating a disassembly, exporting a disassembly as source
see which code ran, and how oftenCode coverage and the heat map
test my Z80 code automaticallyUnit tests, Klive on the command line and in CI
control Klive from a scriptAutomation
change Klive’s language, theme or shortcutsSettings, the display language, keyboard shortcuts
read a machine’s own manualThe Library: the Cambridge Z88’s User Guide and Developers’ Notes

All guides

Last updated on