Previous Thread
Next Thread
Print Thread
Page 93 of 536 1 2 91 92 93 94 95 535 536
Joined: Jan 2006
Posts: 3,690
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,690
Originally Posted By Christina
I saw the recent improvements in CDTV system. But in the game "Turrican" i have the output:
"CPU maincpu: PULSE_LINE can only be used for NMI and RESET lines"


this has been properly fixed in svn 6203: the driver was checking for carts even if no cart could have been present.

now both Turrican and Turrican II (and probably other games as well) work fine.

Joined: Jul 2007
Posts: 4,625
A
Anna Wu Offline OP
Very Senior Member
OP Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
SVN r6203
cdtv driver
Game: Turrican and Turrican II (chd) with great music (Chris Huelsbeck)




Last edited by Anna Wu; 10/28/09 12:04 PM.
Joined: May 2004
Posts: 1,676
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,676
Originally Posted By Haze
Originally Posted By Just Desserts

When you say "crash", you mean it locks up in MESS, but doesn't otherwise cause MESS to die, correct? Just so I know what to look for.


Lemmings and one other (I can't remember which, it only happened once and wasn't reproducable) actually crash the emulator, right back to the command line.

The others are just ingame lockups and usually occur when transitioning between scenes, or if something needs loading, even if that transition has worked previously.


For referece Sargon Chess crashes the actual emulator quite often (exit to commandline), as does 3rd Degree.


Joined: May 2009
Posts: 1,965
Likes: 23
J
Very Senior Member
Offline
Very Senior Member
J
Joined: May 2009
Posts: 1,965
Likes: 23
Try recompiling with verbose logging enabled, and a log level of 5. I'm willing to bet that every game that's crashing is doing so when it tries to perform a DMA from main memory location 0x05140000 or thereabouts. That seems to be the standard "Something has gone horribly wrong with audio" freak-out that I've been trying to figure out.

Joined: Mar 2001
Posts: 16,808
Likes: 32
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,808
Likes: 32
Originally Posted By mahlemiut
This is the last frame before the fatalerror():
680x0 PMMU: Unhandled Table B mode 0 (addr_in 02800070)


Hmm. Mode 0 is invalid and would crash on hardware too. Usually it means something's gone wrong parsing the tables - can you point me to the boot floppy that does that? (It's obviously OK to post links to NetBSD ;-)

Joined: Sep 2004
Posts: 392
Likes: 4
A
Senior Member
Offline
Senior Member
A
Joined: Sep 2004
Posts: 392
Likes: 4
Originally Posted By R. Belmont
That's fair. I've deliberately avoided converting all of that to devices because MAME's irritating "startup order is not guaranteed" policy means we could easily end up with a situation where sometimes it can find the media and sometimes not.

That's what dependencies are for. At startup, a device can query other devices it depends on and see if they are started. If they are not, it can call device_delay_init() and exit, meaning it will be re-queued to the end.

Joined: Jan 2006
Posts: 3,690
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,690
would you mind to offer an example of a device using this mechanism properly? thanks smile

Joined: May 2004
Posts: 949
Likes: 14
D
Senior Member
Offline
Senior Member
D
Joined: May 2004
Posts: 949
Likes: 14
See ldcore.c:

Code:
	/* ensure that our screen is started first */
	ld->screen = devtag_get_device(device->machine, config->screen);
	assert(ld->screen != NULL);
	if (!ld->screen->started)
	{
		device_delay_init(device);
		return;
	}



Joined: Jan 2006
Posts: 3,690
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,690
mmm... I never noticed the xxxx->started state... blush

Joined: May 2009
Posts: 1,965
Likes: 23
J
Very Senior Member
Offline
Very Senior Member
J
Joined: May 2009
Posts: 1,965
Likes: 23
Incidentally, Haze, about Mega Maze or whatever it's called - it did work at one point, but it broke shortly after I started adding audio support. I might see if there's a way-old version of the driver from which I can glean some insight.

Page 93 of 536 1 2 91 92 93 94 95 535 536

Link Copied to Clipboard
Who's Online Now
0 members (), 34 guests, and 2 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,974
Posts117,896
Members5,001
Most Online890
Jan 17th, 2020
Forum Host
These forums are hosted by www.retrogamesformac.com
Forum hosted by www.retrogamesformac.com