|
Joined: Mar 2007
Posts: 298
Senior Member
|
Senior Member
Joined: Mar 2007
Posts: 298 |
How hard is to fix that 'cycle' issue that prevents lots of games to initialize properly, in a scale from 1 to 10?
Just curious...
|
|
|
|
Joined: May 2009
Posts: 2,223 Likes: 387
Very Senior Member
|
Very Senior Member
Joined: May 2009
Posts: 2,223 Likes: 387 |
|
|
|
|
Joined: Jan 2006
Posts: 3,691
Very Senior Member
|
Very Senior Member
Joined: Jan 2006
Posts: 3,691 |
This is a general curiosity and not a critique ... but why exactly are you listing SNES + SuperFX as a separate machine, in this case, "snesfx"? for the exact same reason, we need a separate system for Genesis + SVP to play the only game released with this add-on chip (Virtua Racing) at a point, I hope it will be possible to add CPU at start/reset: it would be extremely handy to add/remove floppy drives at runtime [1] to systems which now require a separate entry for the system + floppy configuration... how far MAME/MESS is from such a point, only Aaron probably knows... [1] or by performing a hard reset
|
|
|
|
Joined: Jun 2008
Posts: 205
Senior Member
|
Senior Member
Joined: Jun 2008
Posts: 205 |
I see. My method was kind of cheap, and obviously not appropriate for MAME / MESS. I just attached another unnamed core, and at startup it would check which add-on chip was present and jump to its entry point. If there were no appropriate chip, it'd go into a dummy loop that would add a full second worth of clock cycles to the counter. Didn't slow down ordinary games by more than ~1%.
|
|
|
|
Joined: Apr 2004
Posts: 1,563 Likes: 12
Very Senior Member
|
Very Senior Member
Joined: Apr 2004
Posts: 1,563 Likes: 12 |
You could just enable or disable the cpu entirely depending on whether a cartridge had it or not.
|
|
|
|
Joined: Jan 2006
Posts: 3,691
Very Senior Member
|
Very Senior Member
Joined: Jan 2006
Posts: 3,691 |
you mean in MESS? I guess we shall just check if snes_had_addon_chip is equal to SUPERFX in src/mess/machine/snes.c , but which is the correct syntax to start/stop the corresponding CPU? if it does not slow down things too much, the same can be easily don efor gensvp as well 
|
|
|
|
Joined: Apr 2004
Posts: 1,563 Likes: 12
Very Senior Member
|
Very Senior Member
Joined: Apr 2004
Posts: 1,563 Likes: 12 |
cputag_suspend/cputag_resume with reason SUSPEND_REASON_DISABLE. It looks like it should be possible to disable a cpu in the machine definition too.
|
|
|
|
Joined: Jan 2006
Posts: 3,691
Very Senior Member
|
Very Senior Member
Joined: Jan 2006
Posts: 3,691 |
I'll try to experiment a little bit in the next few days 
|
|
|
|
Joined: Aug 2009
Posts: 1,265 Likes: 199
Very Senior Member
|
Very Senior Member
Joined: Aug 2009
Posts: 1,265 Likes: 199 |
How hard is to fix that 'cycle' issue that prevents lots of games to initialize properly, in a scale from 1 to 10?
Just curious... Basically requires wait state stuff in the MAME/MESS cores or a major tree hit with the g65816 CPU core, aka not something that you can wake up tomorrow and it'll be done... 
|
|
|
|
Joined: Mar 2006
Posts: 1,080 Likes: 7
Very Senior Member
|
Very Senior Member
Joined: Mar 2006
Posts: 1,080 Likes: 7 |
Got the ballz 3d cart today. Played it for 5 minutes. Now I can't wait to see it decapped. good riddance. BTW happy birthday etabeta.
LN
Last edited by Lord Nightmare; 09/14/09 07:59 PM.
"When life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"
|
|
|
0 members (),
53
guests, and
6
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
Forums9
Topics9,331
Posts122,197
Members5,077
|
Most Online1,283 Dec 21st, 2022
|
|
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!
|
|
|
|