Previous Thread
Next Thread
Print Thread
Page 93 of 536 1 2 91 92 93 94 95 535 536
Joined: Jan 2006
Posts: 3,691
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,691
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)

[Linked Image from i34.tinypic.com]
[Linked Image from i36.tinypic.com]
[Linked Image from i33.tinypic.com]

Last edited by Anna Wu; 10/28/09 12:04 PM.
Joined: May 2004
Posts: 1,772
Likes: 34
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,772
Likes: 34
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: 2,214
Likes: 382
J
Very Senior Member
Offline
Very Senior Member
J
Joined: May 2009
Posts: 2,214
Likes: 382
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: 17,215
Likes: 234
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 17,215
Likes: 234
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,691
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,691
would you mind to offer an example of a device using this mechanism properly? thanks smile

Joined: May 2004
Posts: 996
Likes: 103
D
Senior Member
Offline
Senior Member
D
Joined: May 2004
Posts: 996
Likes: 103
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,691
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,691
mmm... I never noticed the xxxx->started state... blush

Joined: May 2009
Posts: 2,214
Likes: 382
J
Very Senior Member
Offline
Very Senior Member
J
Joined: May 2009
Posts: 2,214
Likes: 382
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
4 members (ameath, Kale, robcfg, 1 invisible), 519 guests, and 1 robot.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,320
Posts121,930
Members5,074
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
Forum hosted by www.retrogamesformac.com