Annotation of hatari/tools/hconsole/example-debugger, revision 1.1

1.1     ! root        1: # Show disassembly from address in A0 when debugger is entered:
        !             2: lock regaddr disasm a0
        !             3: 
        !             4: # Track when GEMODS is called with the Dgetdrv() opcode
        !             5: # (happens e.g. when EmuTOS console prints the prompt):
        !             6: breakpoint  GemdosOpcode < 0xffff  &&  GemdosOpcode = 0x19  :info
        !             7: 
        !             8: # NOTE: "info" flag above will cause this to be just traced and
        !             9: # information specified by "lock" command above to be printed,
        !            10: # debugger won't interrupt the emulation.
        !            11: #
        !            12: # This is important when using hconsole because entering the Hatari
        !            13: # debugger (and its line editing) will mess up the terminal from
        !            14: # which hconsole is run from.  At least until user has blindly
        !            15: # typed "cont" to the Hatari debugger so that Hatari emulation
        !            16: # continues.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.