- Run the File|New|Project command (Ctrl+Shift+N), select the ZX Spectrum tab and choose the ZX Spectrum Code Discovery project type. Specify a project name (use MyFirstDiscovery).
- The IDE displays a list of available Spectrum models. Select the first Spectrum 48K model (PAL - Normal Speed) from the list, and click Create.
- The IDE creates a new project with a few files and folders:
||The folder that holds Spectrum ROMs|
||This file stores the configuration information about the selected ZX Spectrum model|
||The binary ROM file for the Spectrum 48K model|
||Disassembly annotations for the Spectrum 48K ROM|
||Stores .tzx, .tap (and, in the future, other) tape files|
||The folder to put your Z80 Assembly code files in|
||A simple Z80 Assembly code file|
||The folder to put your Z80 unit tests files in|
||A simple Z80 unit test file|
||Your custom disassembly annotations are saved into this file|
- As soon as the IDE created the project, you can discover a new top-level menu, ZX Spectrum IDE:
Run the ZX Spectrum Virtual Machine
- Run the ZX Spectrum IDE|ZX Spectrum Emulator command. The IDE shows up the emulator tool window. As the title of the tool window indicates, the virtual machine is momentarily stopped.
- Click the little Play icon in the toolbar of the emulator to start the virtual machine. The ZX Spectrum comes to life. As you resize the tool window, the emulator changes its screen size, accordingly.
- Type the
LOAD ""command into the emulator. Take care that the emulator window is the active one, receiving the keyboard focus, and press the J, and then twice the Shift+P keys again. With pressing Enter, you can execute
LOAD "". Th virtual machine starts loading the
- When the game has been loaded, type the
RUNcommand into the emulator (while the emulator window is the active one, press the R key), and then, press Enter. The program starts, and displays its message:
You have just scratched the surface! There are many other features you can use in the IDE to discover the structure and internals of ZX Spectrum applications.