Welcome!
Final Burn Neo => FBN Development => Topic started by: iq_132 on February 26, 2008, 05:23:42 AM
-
Here's a driver for Mysterious Stones (http://www.mameworld.net/maws/driverinfo/mystston.c).
Games supported on this hardware:
Mysterious Stones - Dr. John's Adventure (http://www.mameworld.net/maws/romset/mystston)
Mysterious Stones - Dr. Kick in Adventure (http://www.mameworld.net/maws/romset/myststno)
Sound, high color, savestates, etc., are all supported.
Known bugs:
The airplane sound is not correct
The game is running a bit fast (the AY8910 emulation causes severe problems at the proper refresh rate)
Randomly freezes?
Also, you'll need to update the m6502 core a bit:
Just replace the old m6502Scan with this (in src/cpu/m6502/m6502.cpp)
int m6502Scan(int nAction)
{
if ((nAction & ACB_DRIVER_DATA) == 0) {
return 0;
}
for (int i = 0; i < MAX_CPU; i++) {
m6502_regs = &m6502_active_cpu_regs[i];
SCAN_VAR(A);
SCAN_VAR(X);
SCAN_VAR(Y);
SCAN_VAR(P);
SCAN_VAR(S);
SCAN_VAR(PC);
SCAN_VAR(nTotalCycles);
}
return 0;
}
Also x2, if you're not using 0.2.96.73+ as your codebase, you'll need to change this
HARDWARE_MISC_PRE90S
to this
HARDWARE_MISC_MISC
-
Edit and translate with the VC, circulate a mistake
-
VC doesn't like the M6502 core. It's the same for mole - although that one doesn't crash the app.
-
It looks the app crash is down to an error in the AY8910 initialisation.
Change line 14 from this;
static short *pAY8910Buffer[3], *pFMBuffer = NULL;
to this;
static short *pAY8910Buffer[6], *pFMBuffer = NULL;
That will stop the app crash - game still doesn't work though. :) None of the M6502 based games do in VC builds.
-
Oops! I'll have to set up the VC environment in a day or so and see if I can track down the m6502 issues.