raydac / zxpoly

a multi-CPU ZX-Spectrum 128 concept platform
GNU General Public License v3.0
95 stars 9 forks source link

Simulate NMI button #56

Closed PakkunKinoppi closed 2 years ago

PakkunKinoppi commented 2 years ago

Hi, I have loaded this .rom in ZxPoly, in order to start it a NMI button has to be pressed. Is there any way to simulate a NMI button ?

Rom: hdt-iso.zip

Rif: The build in monitor can be invoked over NMI, the following options are available in the monitor:

1 - switch between HEX/DEC (display and input) 2 - switch between byte/text display of the memory content 3 - load the flashing stack or register 4 - load the top memory cell 5 - memory display -64 6 - memory display -1 7 - memory display +1 8 - memory display +64 9 - stack and register choice -1 0 - stack and register choice +1

symbol shift and 7 - the entered address will be processed as assembler CALL. At the end (1. RET) the program returnes to the monitor. Register contents are not considered! symbol shift and 8 - makes a relative safe jump to the BASIC editor (#1303) symbol shift and 9 - executes a RST 8 (error output) and after that to the editor symbol shift and 0 - executes a RET, continues at the point where the actual program was interrupted by a NMI pulse (if the pulse was short enough). The address to continue is displayed at the top of the stack column. SPACE - enter a byte in the actual memory cell RESET - warm start CAPS and RESET - cold start

The BASIC improvements are:

The cursor keys (6 and 7) can also used by editing in the line.

nnnn - edit line with number nnnn

PakkunKinoppi commented 2 years ago

This is the same, for insert pokes a NMI button must be pressed. POKEAROM.zip

When the .tap has loaded, and you want to poke something, press NMI button, a blue rectangle appears upper right. Type 5 numbers (the address) and enter. Then the value of the address apears. If you dont change it and press enter the program returns. If you change it and press enter, the value of the next adress apears. To return press enter without changing the value.

Haroldo64 commented 2 years ago

...another button to be added in the Menù Bar

raydac commented 2 years ago

I have added emulation of MAGIC button, you can try

PakkunKinoppi commented 2 years ago

Great ! It Works well !

thank you !!!