-

Changes

Jump to: navigation, search

Manual Debugger

1 byte added, 06:49, 9 November 2017
Run Time Organization
Breakpoints are inserted in the code as RST 8 instructions. A jump is placed at location 8 to the debugger's trap handler. This is unfortunate if your system happens to use RST 8 for interrupts, but this is probably no more likely than that it uses any other restart location.
:;r ;:Display the contents of all Z80 registers.
The : command has the following modifiers:
;r :Run the program from address. If address is omitted, try for the symbol start. If it is not found, the debugger will complain. With this command, extrastuff will be supplied as an argument string to the program, i.e. in the default buffer at 80H. You should ensure there is a space between the r and extrastuff. E.g.<nowiki>:</nowiki>
                        100:r arg1 arg2

Navigation menu