Previous Thread
Next Thread
Print Thread
Page 44 of 120 1 2 42 43 44 45 46 119 120
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
J
Very Senior Member
Very Senior Member
J Offline
Joined: May 2009
Posts: 2,223
Likes: 387
One bazillion

byuu #53876 09/14/09 06:35 AM
Joined: Jan 2006
Posts: 3,691
Very Senior Member
Very Senior Member
Joined: Jan 2006
Posts: 3,691
Originally Posted by byuu
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
B
Senior Member
Senior Member
B Offline
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%.

byuu #53881 09/14/09 07:31 AM
Joined: Apr 2004
Posts: 1,563
Likes: 12
J
Very Senior Member
Very Senior Member
J Offline
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.

judge #53882 09/14/09 08:36 AM
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 smile

Joined: Apr 2004
Posts: 1,563
Likes: 12
J
Very Senior Member
Very Senior Member
J Offline
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.

judge #53886 09/14/09 09:10 AM
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 smile

Joined: Aug 2009
Posts: 1,265
Likes: 199
Very Senior Member
Very Senior Member
Joined: Aug 2009
Posts: 1,265
Likes: 199
Originally Posted by RColtrane
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... whistle

Kale #53911 09/14/09 07:59 PM
Joined: Mar 2006
Posts: 1,080
Likes: 7
L
Very Senior Member
Very Senior Member
L Offline
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!"
Page 44 of 120 1 2 42 43 44 45 46 119 120

Link Copied to Clipboard
Who's Online Now
0 members (), 53 guests, and 6 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,331
Posts122,197
Members5,077
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Powered by UBB.threads™ PHP Forum Software 8.0.0