Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

38 lignes
1.1KB

  1. ; Full VICE debug session for c64os.prg
  2. ; Launch with examples/vice-debug-c64os.bat, then in the monitor run:
  3. ; playback "examples/vice-monitor-c64os-debug.txt"
  4. radix H
  5. device c:
  6. sidefx off
  7. ; Give useful labels to the known startup locations.
  8. add_label $0801 .basic_stub
  9. add_label $0810 .start
  10. ; Break when BASIC transfers control to the machine code entry.
  11. break exec .start
  12. ; Watch memory banking changes and dump the CPU port state when they happen.
  13. watch store $0001
  14. command 2 "m $0000 $0002"
  15. ; Watch IRQ vector changes in case startup or later code patches them.
  16. watch store $0314 $0315
  17. ; Show the BASIC stub, startup code, and current CPU port state.
  18. d .basic_stub $0840
  19. m $0000 $0002
  20. r
  21. ; Helpful follow-up commands once the first breakpoint triggers:
  22. ; step ; step into the next instruction
  23. ; next ; step over KERNAL calls
  24. ; return ; run until the current subroutine exits
  25. ; bt ; show JSR call chain
  26. ; io $d000 ; inspect VIC-II registers
  27. ; io $dc00 ; inspect CIA #1 registers
  28. ; keybuf "help\x0d" ; inject a HELP command into the shell
  29. stop

Powered by TurnKey Linux.