05 May 2024, 23:20 | #1 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,360
|
memory watchpoints
Toni hinted at the fact that it's possible to use watchpoints for other chips than CPU
It seems to be the case, but it's not documented in the help which is a pity, you have to check the source to find the identifiers: https://github.com/tonioni/WinUAE/blob/master/debug.cpp Code:
>w 0 $200 1 0: 00000200 - 00000200 (1) RWI CPU >w 0 $200 1 BLT 0: 00000200 - 00000200 (1) RWI BLT first watchpoint is "classic" read/write from CPU, but second watchpoint watches read/write from blitter. There's also a wider "DMA" type, and "AUD". You can also specify which blitter source you want (BLTD)... On the other hand, I have some change that I'm sure the blitter does and the blitter watchpoint doesn't detect it. Last edited by jotd; 05 May 2024 at 23:27. |
07 May 2024, 09:14 | #2 |
German Translator
Join Date: Aug 2018
Location: Drübeck / Germany
Age: 49
Posts: 193
|
I have tested it and for me it works better than I expected.
Code:
>w 1 $10508 10 BLT 1: 00010508 - 00010517 (16) RWI BLT >g Memwatch 1: break at 00010508.W W 00000000 PC=0002A718 BLTDN (000) Blitter registers at start: PT A=00019BC0 B=00001004 C=0000E348 D=00010508 CON0=0100 CON1=0000 DAT A=0000 B=FFFF C=8000 AFWM=FFFF ALWM=FFFF MOD A=0000 B=FFF8 C=004C D=0000 COP=0 PC=0002A710 Blitter registers now: PT A=00019BC0 B=00001004 C=0000E348 D=0001050A CON0=0100 CON1=0000 DAT A=0000 B=FFFF C=8000 AFWM=FFFF ALWM=FFFF MOD A=0000 B=FFF8 C=004C D=0000 PC=0002A720 DMA=1 Cycles: 9 Chip, 18 CPU. (V=80 H=105 -> V=80 H=114) VPOS: 080 ($050) HPOS: 117 ($075) COP: $0001ede4 ... |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WinUAE 3.2.1. memory dump for fake fast memory areas broken | StingRay | support.WinUAE | 1 | 14 December 2015 20:39 |
WinUAE Debugger - Address Register Watchpoints | SparkyNZ | Coders. Asm / Hardware | 3 | 16 June 2015 22:39 |
Freezing watchpoints not working | Genju | support.WinUAE | 3 | 13 April 2015 12:31 |
Watchpoints in debugger | Zbir | support.WinUAE | 6 | 22 November 2010 18:56 |
Blizzard Turbo Memory - SMD memory chips doesn't work | sanjyuubi | Hardware mods | 5 | 26 May 2010 15:40 |
|
|