Welcome!

Final Burn Neo => FBN Development => Topic started by: iq_132 on March 04, 2008, 10:28:03 AM

Title: Mr. Do! Driver
Post by: iq_132 on March 04, 2008, 10:28:03 AM
Here's a driver for games on Mr. Do! (http://www.mameworld.net/maws/driverinfo/mrdo.c) hardware.

These games are supported:
Mr. Do! (http://"http://www.mameworld.net/maws/romset/mrdo")
Mr. Do! (bugfixed) (http://"http://www.mameworld.net/maws/romset/mrdofix")
Mr. Do! (prototype) (http://"http://www.mameworld.net/maws/romset/mrdoy")
Mr. Do! (Taito) (http://"http://www.mameworld.net/maws/romset/mrdot")
Mr. Du! (http://"http://www.mameworld.net/maws/romset/mrdu")
Mr. Lo! (http://"http://www.mameworld.net/maws/romset/mrlo")
Yankee DO! (http://"http://www.mameworld.net/maws/romset/yankeedo")

Bugs, etc.
Sound (SN76489) is not supported in FBA.
Y scrolling not used?

You'll need to add this to src/burn/zet.cpp:
Code: [Select]
int ZetHL(int n)
{
#ifdef EMU_DOZE
if (n < 0) {
return Doze.hl;
} else {
return ZetCPUContext[n].hl;
}
#else
return 0;
#endif
}

and this to src/burn/zet.h

int ZetHL(int n);


Title: Re: Mr. Do! Driver
Post by: 0746 on March 04, 2008, 04:32:20 PM
Nice

Keep them coming =)

[rant]

FBA needs a central calling convention header file or needs to put its calling convention stuff in a header file included by all the drivers and cpus

Codes like #ifndef FASTCALL #undef __fastcall etc runs everywhere or #ifndef WIN32 #define __cdecl etc etc...

also someone would need to use those calling conventions  on linux or any other platforms ... they could just go define __fastcall as  __attribute__((fastcall)) if they wanted to

I also came across some _fastcalls... use one yo

Things like that are easier to do if there was one central file to change

[/rant]