Page 1 of 1

Debugger/Monitor TRACE functionality

Posted: Tue Mar 13, 2007 2:21 am
by Pugsy
What's the chance of adding a TRACE to file function to the debugger?

Eg.

TRACE filename.txt
would create a file in this sort of format:-

Code: Select all

11D7: lsr  $06
11D9: bcs  $11F0
11F0: lda  #$07
11F2: and  $1C
11F4: tax  
11F5: lda  $1221,x
11F8: sta  ($00),y
11FA: dey  
11FB: sec  
11FC: sbc  #$01
11FE: sta  ($00),y
1200: dey  
1201: jmp  $11E4
11E4: dec  $1D
11E6: bpl  $11D7

   (loops for 90 instructions)

11E8: dec  $04
11EA: dec  $1E
11EC: bpl  $1204
The TRACE would run until something like TRACE OFF was entered, obviously this if left could make massive files on the HD but would be really useful for debugging/trainer making.