Closed Dotneteer closed 5 months ago
Hi Istavan,
I just tested and it worked fine on my KS2 with NextOS 2.09. Check 2 things
Note: the assembler does not interact with the debugger, it assembles code into memory that you can then call. It should not be impacting the debugger in any way.
BUT, you can force a break point directly in your code using the NBRK
pseudo op code. Just put that in the code where you want it to break and it will trigger the hardware debugger. On the emulator (CSpect) you can use BRK
Regards, Chris
Hi Chris,
Thanks for your help; now I can debug with the inline assembler.
Istvan
Hi Chris,
Thank you for your excellent work! Have you tried your inline assembler with the ZX Spectrum Next's built-in hardware emulator? I did not manage to stop the execution at the breakpoints set up with the NMI menu. For example, when running your "Hello, World" example with a breakpoint set to bank $00 and offset $0000 (the $c000 physical address when running the code), the hardware debugger does not stop at the specified address.
Istvan