![]() |
![]() |
#1 |
Registered User
Join Date: Oct 2014
Location: New Zealand
Posts: 62
|
![]()
Is it possible to watch for the contents of an address or address range being put into a specific address register?
Say for example, that I have some data that lies within address range $70000-$71000 and I want to add a break point when $70200 is moved into A1. Is this possible with the WinUAE debugger? Its the actual move of the address into the register that I'm interested in, not the access of the address itself. |
![]() |
![]() |
#2 |
Registered User
Join Date: Oct 2014
Location: New Zealand
Posts: 62
|
I'll answer my own question: No, it's not possible with the current version of WinUAE.
OK, so I've been doing some digging within the WinUAE source myself and I have found that what I'm interested in are changes in state of regs.regs[ 8 thru 15 ] which are the values of A0-A7. I can put some trigger/breakpoints of my own in to look for what I'm interested in. |
![]() |
![]() |
#3 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,573
|
Sorry, forgot to answer.
It can be done if it is acceptable that "register breakpoints" are only checked when CPU does memory accesses. Immediate check would make whole emulation slower which is not acceptable. I guess something like "if ((register[x] & mask) == value) then break" where x = reg num, mask and value are breakpoint parameters would work? |
![]() |
![]() |
#4 | |
Registered User
Join Date: Oct 2014
Location: New Zealand
Posts: 62
|
Quote:
![]() Last edited by SparkyNZ; 17 June 2015 at 03:10. |
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
WinUAE Debugger - Audio Register Breakpoints | SparkyNZ | Coders. Asm / Hardware | 2 | 14 June 2015 21:40 |
WinUAE Debugger Register Display | SparkyNZ | Coders. Asm / Hardware | 3 | 11 June 2015 20:55 |
Watchpoints in debugger | Zbir | support.WinUAE | 6 | 22 November 2010 18:56 |
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 |
|
|