Search found 3 matches
- Tue Jun 30, 2026 6:24 pm
- Forum: Dragon General
- Topic: OS-9 Level 2 for (updated) Dragons
- Replies: 93
- Views: 19793
Re: OS-9 Level 2 for (updated) Dragons
On Linux, I'd just run xroar as: xroar -trace >trace.txt xroar writes its trace output to stdout using printf, so this is just redirecting stdout to a file rather than the screen. It looks like you're on Windows from the screenshots above, so I don't know if the same will work there (although > usua...
- Sat Jun 27, 2026 11:56 pm
- Forum: Dragon General
- Topic: OS-9 Level 2 for (updated) Dragons
- Replies: 93
- Views: 19793
Re: OS-9 Level 2 for (updated) Dragons
If you run xroar with the -trace option, it'll print every instruction it executes to stdout. You can redirect that to a file and then search through it afterwards. (You can turn tracing on and off at runtime too, but disk space is plentiful these days...) If it's not obvious from the trace, you mig...
- Wed Apr 08, 2026 12:10 am
- Forum: Dragon General
- Topic: Can XRoar do this?
- Replies: 2
- Views: 7443
Re: Can XRoar do this?
In MAME's debugger, how about using a watchpoint that catches all memory accesses, but with a condition that limits it to the range you want by reading the pointer? e.g.
Code: Select all
wp 0,10000,w,wpaddr >= w@1d && wpaddr < w@1d + 100,{ printf "wrote %04x = %02x\n",wpaddr,wpdata }