|
Joined: Jan 2006
Posts: 3,691
Very Senior Member
|
Very Senior Member
Joined: Jan 2006
Posts: 3,691 |
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
Very Senior Member
|
OP
Very Senior Member
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,772 Likes: 34
Very Senior Member
|
Very Senior Member
Joined: May 2004
Posts: 1,772 Likes: 34 |
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
Very Senior Member
|
Very Senior Member
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
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,215 Likes: 234 |
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
Senior Member
|
Senior Member
Joined: Sep 2004
Posts: 392 Likes: 4 |
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
|
Very Senior Member
Joined: Jan 2006
Posts: 3,691 |
would you mind to offer an example of a device using this mechanism properly? thanks
|
|
|
|
Joined: May 2004
Posts: 996 Likes: 103
Senior Member
|
Senior Member
Joined: May 2004
Posts: 996 Likes: 103 |
See ldcore.c:
/* 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
|
Very Senior Member
Joined: Jan 2006
Posts: 3,691 |
mmm... I never noticed the xxxx->started state...
|
|
|
|
Joined: May 2009
Posts: 2,214 Likes: 382
Very Senior Member
|
Very Senior Member
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.
|
|
|
4 members (ameath, Kale, robcfg, 1 invisible),
519
guests, and
1
robot. |
Key:
Admin,
Global Mod,
Mod
|
|
Forums9
Topics9,320
Posts121,930
Members5,074
|
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!
|
|
|
|