Author Topic: Mr. Do! Driver  (Read 4466 times)

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Mr. Do! Driver
« on: March 04, 2008, 10:28:03 AM »
Here's a driver for games on Mr. Do! hardware.

These games are supported:
Mr. Do!
Mr. Do! (bugfixed)
Mr. Do! (prototype)
Mr. Do! (Taito)
Mr. Du!
Mr. Lo!
Yankee DO!

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);




Offline 0746

  • Expert
  • *****
  • Posts: 108
  • Karma: +2/-0
Re: Mr. Do! Driver
« Reply #1 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]