ZXS
The scratch written Z80 core will support all undocumented features of the Z80 including MEMPTR and bits 3 & 5 of flags.
Features include:-
* ONSCREEN SPECTRUM KEYBOARD AND PC KEYBOARD SUPPORT
* SINGLE STEP DISASSEMBLY
* LOAD SNA,TAP & Z80 FILES
* SAVE SNA
* LOAD/SAVE BINARY FILES
* POKE MEMORY (INCLUDING ROM)
* PEEK MEMORY
* DUMP DISASSEMBLY & REGS TO FILE
* DISASSEMBLE TO FILE
* VIEW SCR FILE
* LOAD NIBBLE OR BYTE TO ANY REGISTER
* BREAK ON SPECIFIC NIBBLE OR BYTE IN ANY REGISTER
* BREAK ON CHANGE TO INDIVIDUAL FLAG (INCLUDING BITS 3 & 5)
* BREAK ON OPCODE (SINGLE BYTE OR 2 BYTE)
* DISPLAYS MEMPTR (USEFUL FOR MONITORING INDEX+DIS VALUES)
* MAIN REG CONTENTS SHOWN IN BINARY AND HEX/DEC
* SWITCHABLE HEX/DEC OUTPUT
* BUILT-IN KEMPSTON JOYSTICK (MAPPED TO CURSOR KEYS & LEFT CONTROL)
* NO EXTRA LIBRARIES REQUIRED
Features include:-
* ONSCREEN SPECTRUM KEYBOARD AND PC KEYBOARD SUPPORT
* SINGLE STEP DISASSEMBLY
* LOAD SNA,TAP & Z80 FILES
* SAVE SNA
* LOAD/SAVE BINARY FILES
* POKE MEMORY (INCLUDING ROM)
* PEEK MEMORY
* DUMP DISASSEMBLY & REGS TO FILE
* DISASSEMBLE TO FILE
* VIEW SCR FILE
* LOAD NIBBLE OR BYTE TO ANY REGISTER
* BREAK ON SPECIFIC NIBBLE OR BYTE IN ANY REGISTER
* BREAK ON CHANGE TO INDIVIDUAL FLAG (INCLUDING BITS 3 & 5)
* BREAK ON OPCODE (SINGLE BYTE OR 2 BYTE)
* DISPLAYS MEMPTR (USEFUL FOR MONITORING INDEX+DIS VALUES)
* MAIN REG CONTENTS SHOWN IN BINARY AND HEX/DEC
* SWITCHABLE HEX/DEC OUTPUT
* BUILT-IN KEMPSTON JOYSTICK (MAPPED TO CURSOR KEYS & LEFT CONTROL)
* NO EXTRA LIBRARIES REQUIRED
Version 0.2 can be downloaded below. Gone is the 'Art Attack' GUI of v0.1 (above), it has been replaced with a standard Windows interface. All the previous features remain with the addition of 'POKE' and 'PEEK' to the Speccy memory map (including ROM).
zxs_02.zip | |
File Size: | 630 kb |
File Type: | zip |
Brief user guide.
The monitor/disassembler is entirely mouse controlled but here's a quick rundown of all the bits'n'bobs:-
Open - opens a snapshot file (or rather it will do when I enable it)
Save SNA - Saves the memory map in SNA format (again, when it's done).
Load BIN - Loads a binary file.
Save BIN - Saves one.
Load Regs - If a register pair radio gadget option is selected top right and any or all of the hex nibbles are set (just under Load Regs button), the value of the adjusted nibbles (i.e. those that are not '*' (wildcards) will be written to the register pair. The nibbles that are set to '*' are not changed in the register pair. The '+' & '-' - Change the nibble values of the 16 bit hex word.
Breakpoint - Set breakpoint and freerun Spectrum until breakpoint condition is met.
Hex/Dec - Toggle Hex/Dec numerical output for registers and disassembly window.
TV OUT - Causes an immediate update/redraw of the Spectrum video buffer and displays it. If you load a .SCR file this routine is invoked automatically.
Poke/Peek - Fairly self explanitory. Poking to ROM is allowed.
Step - Single step the CPU one instruction at a time.
Freerun - The Spectrum will run unhindered until you stop it.
Freerun mode
TAB - Brings up the onscreen keyboard, press the onscreen keys with the mouse. All keys on the Spectrum keyboard work but you can also use PC Left Shift for CAPS SHIFT and PC Right Shift for SYMBOL SHIFT as the onscreen shift keys are non-latching.
ESC - Close the freerun screen and return to the monitor/disassembler.
I think that about covers it.
Open - opens a snapshot file (or rather it will do when I enable it)
Save SNA - Saves the memory map in SNA format (again, when it's done).
Load BIN - Loads a binary file.
Save BIN - Saves one.
Load Regs - If a register pair radio gadget option is selected top right and any or all of the hex nibbles are set (just under Load Regs button), the value of the adjusted nibbles (i.e. those that are not '*' (wildcards) will be written to the register pair. The nibbles that are set to '*' are not changed in the register pair. The '+' & '-' - Change the nibble values of the 16 bit hex word.
Breakpoint - Set breakpoint and freerun Spectrum until breakpoint condition is met.
Hex/Dec - Toggle Hex/Dec numerical output for registers and disassembly window.
TV OUT - Causes an immediate update/redraw of the Spectrum video buffer and displays it. If you load a .SCR file this routine is invoked automatically.
Poke/Peek - Fairly self explanitory. Poking to ROM is allowed.
Step - Single step the CPU one instruction at a time.
Freerun - The Spectrum will run unhindered until you stop it.
Freerun mode
TAB - Brings up the onscreen keyboard, press the onscreen keys with the mouse. All keys on the Spectrum keyboard work but you can also use PC Left Shift for CAPS SHIFT and PC Right Shift for SYMBOL SHIFT as the onscreen shift keys are non-latching.
ESC - Close the freerun screen and return to the monitor/disassembler.
I think that about covers it.
Above are some screenshots of the next issue of zxs running some Spectrum games.