It is currently Fri Oct 20, 2017 9:26 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Dec 14, 2016 11:43 am 
Offline

Joined: Mon Mar 27, 2006 5:23 pm
Posts: 1338
My go-to for debugging new CPU cores has been Mednafen trace logs from boot and comparing to my own.

Unfortunately, Mednafen doesn't support debugging the Z80/SMS =(

Given that, can anyone recommend resources I can use to try and iron out bugs in my Z80 core? Preferably something that doesn't need a fully functioning SMS VDP core, and doesn't require a really solid core just to even boot. As this is a brand new core, it's going to have lots of really major issues.

Ideally I'd like to just generate a trace log from the first instruction of playing Sonic the Hedgehog for the Master System, and then step through it against my own trace log one instruction at a time. But from-reset tracers aren't very common, and it'd be a lot of work to add a Z80 disassembler to an existing emulator I'm not familiar with.

Any help would be much appreciated :D


Top
 Profile  
 
PostPosted: Wed Dec 14, 2016 5:27 pm 
Offline

Joined: Sun Mar 19, 2006 9:44 pm
Posts: 915
Location: Japan
MEKA has a debugger, but I don't know how hacker-friendly it is. It seems more gamer-friendly than anything.

MESS supports the SMS and has a pretty thorough debugger/logger, IIRC.

_________________
http://www.chrismcovell.com


Top
 Profile  
 
PostPosted: Wed Dec 14, 2016 5:40 pm 
Online

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19107
Location: NE Indiana, USA (NTSC)
If all else fails, you could make like calima and debug the emulator. Either natively, or by running the game in SMSAdvance in a debugging GBA emulator.


Top
 Profile  
 
PostPosted: Sat Feb 04, 2017 9:03 am 
Offline
User avatar

Joined: Fri Nov 19, 2004 7:35 pm
Posts: 3943
Oh gosh, came into the thread over a month late, oh well.
Try Emukon.

_________________
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group