MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

tunstals
MAME Fan
Reged: 05/04/14
Posts: 11
Send PM
Re: Debugging 6809 RAM writes with MAME debugger (Robotron 2084)
05/16/14 01:51 PM


So are you trying to say that all BSR and JSR calls can't be intercepted by the MAME 6809 emulator and their text equivalent pushed onto a list control? e.g.

if (opcode == BSR)
log('BSR ' + ToHex(destination)

if (opcode == JSR)
log('JSR ' + ToHex(destination)

etc etc. (PS pseudocode is in C# not C++ of MAME.)

Looks straightforward to me. I'd try to write something like that if I could get MAME to compile properly

That's all I'd require, but that's not in the debugger.

It must be possible to trace the call stack. Absolutely. With an emulator you have full control of the tiny 64K address space, I see no reason that this isn't feasible.

Edited by tunstals (05/16/14 02:25 PM)







Entire thread
Subject Posted by Posted on
* Debugging 6809 RAM writes with MAME debugger (Robotron 2084) tunstals 05/12/14 10:27 AM
. * Re: Debugging 6809 RAM writes with MAME debugger (Robotron 2084) R. Belmont  05/12/14 04:58 PM
. * Re: Debugging 6809 RAM writes with MAME debugger (Robotron 2084) tunstals  05/12/14 05:38 PM
. * Re: Debugging 6809 RAM writes with MAME debugger (Robotron 2084) tunstals  05/15/14 01:04 PM
. * Re: Debugging 6809 RAM writes with MAME debugger (Robotron 2084) Anonymous  05/15/14 07:14 PM
. * Re: Debugging 6809 RAM writes with MAME debugger (Robotron 2084) Vas Crabb  05/15/14 10:21 PM
. * Re: Debugging 6809 RAM writes with MAME debugger (Robotron 2084) tunstals  05/16/14 01:51 PM
. * Re: Debugging 6809 RAM writes with MAME debugger (Robotron 2084) Matt Ownby  05/18/14 04:48 AM
. * Re: Debugging 6809 RAM writes with MAME debugger (Robotron 2084) Vas Crabb  05/17/14 03:42 AM
. * Re: Debugging 6809 RAM writes with MAME debugger (Robotron 2084) Anonymous  05/17/14 11:54 AM
. * Re: Debugging 6809 RAM writes with MAME debugger (Robotron 2084) Anonymous  05/16/14 11:15 PM
. * Re: Debugging 6809 RAM writes with MAME debugger (Robotron 2084) tunstals  05/18/14 12:55 PM
. * Re: Debugging 6809 RAM writes with MAME debugger (Robotron 2084) Anonymous  05/18/14 03:38 PM
. * Re: Debugging 6809 RAM writes with MAME debugger (Robotron 2084) R. Belmont  05/16/14 08:11 PM
. * Re: Debugging 6809 RAM writes with MAME debugger (Robotron 2084) tunstals  05/18/14 12:58 PM
. * Re: Debugging 6809 RAM writes with MAME debugger (Robotron 2084) jonwil  05/18/14 05:31 AM
. * Re: Debugging 6809 RAM writes with MAME debugger (Robotron 2084) The_Hamster  05/17/14 04:12 PM
. * Re: Debugging 6809 RAM writes with MAME debugger (Robotron 2084) R. Belmont  05/19/14 05:42 PM

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