14 June 2015, 07:07 | #1 |
Registered User
Join Date: Oct 2014
Location: New Zealand
Posts: 62
|
WinUAE Debugger - Audio Register Breakpoints
This is probably one for Toni
I am trying to find out whereabouts the audio registers are being accessed in a game but I am confused by the syntax of the 'w' command. Looking at WinUAE's source, there is an "AUD" mask that I can use.. but what range of addresses do I run the 'w' command over? Is it the address of the custom registers themselves or the address of the entire chip memory (I am emulating a 2Meg chip Amiga). e.g. w 1 dff000 fff AUD ??? |
14 June 2015, 15:57 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
|
AUD (and others) are for breaking when enabled DMA channel accesses chip ram. CPU accesses only is the default.
If you only want to break to debugger when audio registers are accessed by CPU, w <num> dff0a0 40. If you want to break when audio dma read next sample word from chip ram, w <num> 0 200000 AUD |
14 June 2015, 21:40 | #3 |
Registered User
Join Date: Oct 2014
Location: New Zealand
Posts: 62
|
Awesome! Thank you. I thought I tried "w 1 dff000 fff R" yesterday and that didn't work.. But "w 1 dff0a0 40" worked like a charm. Thanks Toni.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WinUAE Debugger Register Display | SparkyNZ | Coders. Asm / Hardware | 3 | 11 June 2015 20:55 |
WinUAE Debugger - Breakpoints when memory read | SparkyNZ | Coders. Asm / Hardware | 5 | 07 March 2015 23:48 |
Best Audio Config in Winuae for a Creative X-Fi Audio Card | shaf | support.WinUAE | 2 | 14 June 2012 16:27 |
Can't get WinUAE to register my ROMs | xaero1 | support.WinUAE | 10 | 19 December 2008 18:01 |
Debugger: replace register value | AmiGer | request.UAE Wishlist | 2 | 06 January 2005 14:30 |
|
|