MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

TheShanMan
MAME Fan
Reged: 08/14/08
Posts: 8
Send PM
MAME debugger question
09/30/14 04:43 PM


I'm trying to understand something about how the sounds work in The Simpsons so I've loaded it in the 154 MAME debugger and am trying to set a watchpoint on the block of addresses that contain the sounds so I can get the debugger to break when a sound starts being played. Here's where simpsons.c says the sounds are mapped in memory:

Code:

	ROM_REGION( 0x140000, "k053260", 0 ) /* samples for the 053260 */
ROM_LOAD( "072-d05.1f", 0x000000, 0x100000, CRC(1397a73b) SHA1(369422c84cca5472967af54b8351e29fcd69f621) )
ROM_LOAD( "072-d04.1d", 0x100000, 0x040000, CRC(78778013) SHA1(edbd6d83b0d1a20df39bb160b92395586fa3c32d) )



So I tried setting the watchpoint like this:


Code:

wpdset 0x140000,0x100000,r


And I get "no matching memory space found for CPU (whatever)" whether the current CPU is ":maincpu" or ":audiocpu". I've also tried the command without the "0x" with the same result.

What am I doing wrong?







Entire thread
Subject Posted by Posted on
* MAME debugger question TheShanMan 09/30/14 04:43 PM
. * Re: MAME debugger question AWJ  09/30/14 09:32 PM
. * Re: MAME debugger question TheShanMan  10/01/14 12:00 AM
. * Re: MAME debugger question AWJ  10/01/14 03:15 AM
. * Re: MAME debugger question TheShanMan  10/04/14 06:42 AM
. * Re: MAME debugger question R. Belmont  10/04/14 05:18 PM
. * Re: MAME debugger question AWJ  10/04/14 11:54 AM
. * Re: MAME debugger question TheShanMan  10/04/14 07:02 PM
. * Re: MAME debugger question AWJ  10/04/14 09:43 PM
. * Re: MAME debugger question TheShanMan  10/05/14 03:08 AM
. * Re: MAME debugger question AWJ  10/07/14 04:06 AM
. * Re: MAME debugger question TheShanMan  10/08/14 07:16 AM
. * Re: MAME debugger question Sune  10/04/14 06:50 AM
. * Re: MAME debugger question TheShanMan  10/01/14 07:37 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 327 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2839