MAMEWorld >> Programming
View all threads Index   Flat Mode Flat  

Lord Nightmare
Speech Synth Berzerker
Reged: 03/08/04
Posts: 855
Loc: PA, USA
Send PM
Re: Please somone explain dependency between galaga and qwak drivers
08/01/10 07:46 PM


> > > > Once I also add the "qwak" driver it compiles fine. I think there are other
> cases
> > > of
> > > > dependencies like these.
> > > Its a dependency issue. galaga.c #includes atari_vg.h, but unless atari_vg.c is
> > > actually compiled into mame (which it may not be due to a makefile dependency
> > issue),
> > > you will get an error. Compiling qwak compiles in runaway.c, which correctly
> causes
> > > atari_vg.c to be compiled.
> > > >
> > > > Can someone explain why does this happen and what would be the workaround? Is
> > this
> > > > expected behavior?
> > > You should probably report it on mametesters as a galaga driver bug.
> > >
> > > LN
> >
> > Thanks LN, I added (machine)/atari_vg.o to the galaga.c line and everything worked
> as
> > expected. Not sure if this is the correct solution thou... if I find some time
> later
> > I will look similar cases (which I already spotted) and report to mametesters.
>
> I don't think this is an error. There are some sets of Dig Dug which use this same
> atari_vg routine. There is a bit of crossover on things like that - but I would talk
> it out first before reporting to MT, honestly. MAME wouldn't be dependent for
> something if it wasn't needed.

It is an error, and here's why:
digdug (atari), in galaga.c, depends on EAROM to store highscores/etc
the EAROM handlers are in atari_vg.o
hence galaga.c needs to depend on atari_vg.o

What probably SHOULD be done is split EAROM handling out of atari_vg.c and put it into /machine/earom.c or something

LN


"When life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"







Entire thread
Subject Posted by Posted on
* Please somone explain dependency between galaga and qwak drivers franciscohs 07/25/10 12:43 AM
. * Re: Please somone explain dependency between galaga and qwak drivers Lord Nightmare  07/25/10 05:00 AM
. * Re: Please somone explain dependency between galaga and qwak drivers franciscohs  07/30/10 01:37 AM
. * Re: Please somone explain dependency between galaga and qwak drivers TafoidAdministrator  07/30/10 02:12 AM
. * Re: Please somone explain dependency between galaga and qwak drivers Lord Nightmare  08/01/10 07:46 PM
. * Re: Please somone explain dependency between galaga and qwak drivers etabeta  08/03/10 05:29 PM
. * Re: Please somone explain dependency between galaga and qwak drivers Lord Nightmare  08/03/10 11:10 PM
. * Re: Please somone explain dependency between galaga and qwak drivers etabeta  08/04/10 09:06 AM
. * Re: Please somone explain dependency between galaga and qwak drivers franciscohs  08/05/10 10:10 PM

Extra information Permissions
Moderator:  Pi 
0 registered and 83 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 4578