Welcome!

Final Burn Neo => FBN Development => Topic started by: nganiere on February 07, 2009, 07:29:21 PM

Title: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: nganiere on February 07, 2009, 07:29:21 PM
Here is an updated driver for megadrive with Splatterhouse 2 (and clones) and Splatterhouse 3 (and clones) as well as a renaming fix for Toe Jam and Earl (the clone was a japan dump, Rev 2)....enjoy, might post driver with other working games later, testing some as we speak....
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: iq_132 on February 07, 2009, 08:20:25 PM
Cool beans :) Would posting a version with all of the md games enabled help get people motivated to test them?
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: MasterPhW on February 09, 2009, 11:21:45 AM
It would.
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: iq_132 on February 09, 2009, 04:55:05 PM
http://www.fbadev.info/iq_132/fba_029702md.zip

PLEASE PLEASE PLEASE POST ANY GAMES YOU TEST HERE AND NOWHERE ELSE.
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: iq_132 on February 13, 2009, 12:30:08 AM
The response so far doesn't inspire confidence...
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: MasterPhW on February 13, 2009, 01:57:40 AM
Sorry, hadn't time yet, will post results at weekend.
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: JacKc on February 13, 2009, 07:02:11 AM
Sorry iq_132...I'm testing it since yesterday but don't have a lot of time to do it :redface:

Sure if i encounter any bugs, i will post here ;p
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: iq_132 on February 13, 2009, 07:50:32 PM
No need to apologize. I just was expecting a bigger/faster turnout given the number of people who've been bitching about expanding the MD list.
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: Aquashark on February 13, 2009, 08:41:48 PM
Mortal Kombat 3 and UMK3 have no visual glitches or dropping framerates
but the intro music gets stuck in a humming loop and there's no in-game SFX

- savestates give this error on load (see attach)
- F1 framerate unthrottle doesn't work with sound disabled

will test more days to come..

can you mention some guidelines / methods of testing so it will be relevant to you?
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: iq_132 on February 14, 2009, 03:34:16 AM
Mortal Kombat 3 and UMK3 have no visual glitches or dropping framerates
but the intro music gets stuck in a humming loop and there's no in-game SFX

- savestates give this error on load (see attach)
- F1 framerate unthrottle doesn't work with sound disabled

will test more days to come..

can you mention some guidelines / methods of testing so it will be relevant to you?

Neither of those are bugs. ;) F1 is disabled if the sound is disabled and save states aren't supported for megadrive yet.

As for guidelines, details are nice. Information like:
What game did you test: including rom name (g_xxxxx) and title (as It doesn't help if I have no idea what game you tested :p).
A short description of how well it's working: Perfect, minor graphic glitches, minor sound glitches, major graphic issues, major sound issues, freezes, crashes fba, ate my cat, etc.
Crash/Freeze? if so, where/when does it crash/freeze?
Glitch? if so, what type of glitch, and when does it glitch? A savestate of a few seconds before before the glitch would be helpful if it happens later on.


Example:
Earth Worm Jim (U)(!)
Perfect Graphics
No Sound (at all)

*edit*
I've re-uploaded a version with savestate support.
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: JacKc on February 14, 2009, 07:16:45 AM
* All tests made with fba_029702md

- Zoop (U) [!] (g_zoop)
@ 1995 Viacom International Inc.
crashes fba

- Zoop (E) [!] (g_zoope)
@ 1995 Viacom International Inc.
crashes fba
Code: [Select]
Guru Meditation # 000005.004A6E86
----------------------------------------------------------------------
Exception 0xC0000005 (EXCEPTION_ACCESS_VIOLATION) thrown.
EIP: 0x004A
 (attempting to read address 0x0000C900)

EAX: 0x000010FA, EBX: 0x0000007C, ECX: 0x00000CC9, EDX: 0x000000C9
ESI: 0x0000C900, EDI: 0x000007E8, ESP: 0x0023BBF4, EBP: 0x00000000

---------------------------------------------------------------------

- Zoom (JU) [!] (g_zoom)
@ 1988 Discovery Software International Inc.
Perfect Graphics
No Sound (at all)

- Zombies Ate My Neighbors (U) [c][!] (g_zomb)
@ 1993 LucasArts Entertainment Co.
Minor graphics glitches (see attached pictures)
Major sound issues (No in-game SFX and Music)

- Zombies (E) [!] (g_zombe)
@ 1993 LucasArts Entertainment Co.
Perfect graphics
Major sound issues (No in-game SFX and Music)

- Zombie High (U) (Prototype) (g_zombhb)
Crashes fba
Code: [Select]
Guru Meditation # 000005.004A6E86
----------------------------------------------------------------------
Exception 0xC0000005 (EXCEPTION_ACCESS_VIOLATION) thrown.
EIP: 0x004A
 (attempting to read address 0x0000E640)

EAX: 0x00004200, EBX: 0x000000D4, ECX: 0x00000000, EDX: 0x000000E6
ESI: 0x0000E640, EDI: 0x0000000F, ESP: 0x0023BBF4, EBP: 0x00000000

----------------------------------------------------------------------

- Zero Wing (E) [c][!] (g_zwin)
TOAPLAN Co., Ltd 1991
Perfect Graphics
No Sound (at all)

- Zero Wing (J) (g_zwingj)
TOAPLAN Co., Ltd 1991
Perfect Graphics
Major sound issues (SFX and Music support is incomplete or not entirely accurate)

- Zero The Kamikaze Squirrel (E)[!] (g_ztkse)
Sun Corporation Of America, 1994
Perfect Graphics
No Sound (at all)

- Zero The Kamikaze Squirrel (U)[!] (g_ztks)
Sun Corporation Of America, 1994
Perfect Graphics
No Sound (at all)

- Zany Golf (UE) (REV00) [c][!] (g_zany)
(c) 1990 Will Harvey - Electronics Arts
Perfect Graphics
Note : Cannot pass first stage (No sprite/object for the ball) (see attached picture)

- Yuu Yuu Hakusho Gaiden (J) [!] (g_yuyuga)
(c) Yoshihiro Togashi / Shueisha.Fuji  TV-ST.Pierrot 1994 SEGA
Minor graphics glitches (wrong colors map in dialog box for some character's faces) (see attached pictures)
Major sound issues (SFX and Music support is incomplete or not entirely accurate)
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: iq_132 on February 14, 2009, 01:04:44 PM
Excellent :) Thanks JackC. Btw, another thing that would help immensely is adding some information like:
Developer and Year (usually in the game's title screen)
and Genre - Platformer, Vertical Scrolling Shooter, etc.
These info's will be added to the fba driver for these.

*edit*
Added High color support. :)
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: JacKc on February 14, 2009, 01:27:33 PM
OK iq_132...I will add thoses infos in my previous post...And i'm also very happy and proud to help you to improve the MD driver :cool:
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: iq_132 on February 14, 2009, 02:14:55 PM
Cool. :) I've added all of the info you've provided JackC :)
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: JacKc on February 14, 2009, 03:02:09 PM
Note to iq_132 and to others Testers : To improve tests accuracy, i've decided to check how games running on HazeMD and after on FBA.

- Ys III - Wanderers from Ys (U) [!] (g_ys3)
Copyright 1991 Falcom
Perfect Graphics
Major sound issues (SFX and Music support is incomplete or not entirely accurate - For example, the Intro music gets stuck)

- Ys III - Wanderers from Ys (J) [!] (g_ys3j)
Copyright 1991 Falcom
Perfect Graphics
Major sound issues (SFX and Music support is incomplete or not entirely accurate)

- Young Indiana Jones Chronicles (Beta) (g_yindcb)
No Info
Missings some graphics (see attached pictures)
* 1 HazeMD
* 2 FBA
No Sound (at all)

- Young Indiana Jones - Instruments Of Chaos (U) (g_yidy)
(c) 1994 SEGA (R) TM & (c) Lucasfilm, Ltd.
Perfect graphics
No Sound (at all)

- Young Indiana Jones - Instruments Of Chaos (Beta) (g_yindyb)
No Info
Missings some graphics (see attached pictures)
* 1 HazeMD
* 2 FBA
No Sound (at all)

- Yogi Bear's Cartoon Capers (E)[!] (g_yogy)
Copyright 1994 : Entertainment International U.K. Ltd. - Empire Software
Perfect graphics
No Sound (at all)

- XZR (J)[!] (g_xzr)
Riot
Minor graphics glitches (see attached pictures)
Minor Sound issues (Music support is not entirely accurate)
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: JacKc on February 14, 2009, 05:03:04 PM
- X-perts (U) [!] (g_xper)
(c) 1996 SEGA
The game gets stuck at intro screen (see attached picture)

- X-Men 2 - The Clone Wars (UE) [!] (g_xme2)
No Info
Perfect graphics
No sound (at all)

- X-Men (U) [!] (g_xmen)
(c) 1993 Marvel Entertainment Group, Inc. - Game (c) 1993 SEGA Of America, Inc.
Perfect graphics
No sound in-game (SFX and Music)

- X-Men (E) [!] (g_xmene)
(c) 1993 Marvel Entertainment Group, Inc. - Game (c) 1993 SEGA Of America, Inc.
Perfect graphics
No sound in-game (SFX and Music)

- Xenon 2-Megablast (E) [c][!] (g_xen2)
 (c) The Bitmap Brothers 1989, 1992
Perfect graphics
No sound (at all)

Time to make a 1st record :
- On FBA graphics are well emulated (refering to HazeMD)
- On FBA the major problem is SFX and Music which are not correctly emulated and/or absent :eek:
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: MasterPhW on February 14, 2009, 09:33:23 PM
Great job you are doing JacKc! Thanks for that!
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: JacKc on February 16, 2009, 07:39:49 AM
- X-Dazedly Ray (J)[!] (g_xdaze)
UNIPACC 1990
Minor graphics glitches (see attached pictures)
No sound (at all)

- WWF Wrestlemania Arcade (U)[!] (g_wmar)
1995 MIDWAY @ Manufacturing Company sublicensed by ACCLAIM Entertainment, Inc.
Perfect graphics
Major sound issues (SFX and Music support is incomplete or not entirely accurate)

- WWF Wrestlemania Arcade (Alpha)[!] (g_wfwaal)
No Info
Game doesn't boot (black screen)

- WWF Super Wrestlemania (UE)[!] (g_wfsw)
(c) 1992 TitanSports.
Source Code and Object Code (c) Flying Edge, Inc.
Minor graphics glitches (wrong map colors for Faces - see attached pictures)
* 1 FBA
* 2 HazeMD
No sound (at all)
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: Barry Harris on February 16, 2009, 04:28:46 PM
To help with this effort I have decided we need a way to allow users to edit the driver and cut out some of the effort. To this end I have done the following;

- Imported the necessary details from the HazeMDs driver to a MySQL database (the current driver in FBA has various import errors so I decided to start from scratch)
- Wrote a PHP script to output the driver details to an FBA driver from the MySQL data

Now I just need to write a web interface to the MySQL database and we will be able to update this big driver fairly easily rather than just pick up various bits from this thread and manually amend the driver.

I should be there in a couple of days and this should make this whole process much easier and accurate.
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: iq_132 on February 16, 2009, 04:33:39 PM
That'd be fantastic. :)
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: Barry Harris on February 16, 2009, 08:00:41 PM
A bit of WIP - not too far away now. :)

Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: JacKc on February 16, 2009, 08:35:55 PM
WOW...Thanks Barry :biggrin:

With this tool, it would be faster for me to give more infos !!!
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: Barry Harris on February 18, 2009, 04:31:07 PM
Going to be slightly delayed. Desktop PC has died and I can't get at the Megadrive stuff (or even my current FBA source, which is a complete pain) until such time as I can fix it.  :mad:
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: iq_132 on February 18, 2009, 06:41:48 PM
Going to be slightly delayed. Desktop PC has died and I can't get at the Megadrive stuff (or even my current FBA source, which is a complete pain) until such time as I can fix it.  :mad:

What happened??
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: Barry Harris on February 19, 2009, 05:24:32 AM
Looks like motherboard has died. It is seven years old so it owes me nothing! Going to try a different PSU in a bit but I'm not hopeful.

It doesn't even POST or beep. Last night I managed to get it to POST but this morning I connected the drives back up and booted Windows but it BSODed before completing boot with an unknown hardware STOP error and now it's back to failing to POST again. Definitely looks like motherboard, which is a pain cause now I need a new board, new processor and new memory and funds are extremely limited at the moment. :(
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: JacKc on February 20, 2009, 04:38:35 AM
Sounds bad...How can we help you Barry?
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: Barry Harris on February 20, 2009, 05:51:56 AM
Sounds bad...How can we help you Barry?

You can't really - other than being patient and waiting for the next release.
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: kev on February 20, 2009, 06:19:50 AM
I currently do not have a working build enviroment due to a recent reinstall so this is something that really only applies to IQ:

I have spent some time looking at the megadrive driver in the past. The only trouble is I now have 3 versions
1) Oopswares port of picodrive
2) my port of picodrive
3) my port of genesisplus

I also have no idea which version is which but that should be obivous. IIRC, the code in the megadrive directory has the most compatiblity graphics wise but the sound was really f***ed. Also I am 99% certain that this code is also out of date with a newer version on my laptop which is currently on the other side of the country.

Anyway, take a look and let me know if any of the games run better.


EDIT: hmmm, file attachment limit. I don't have my ftp login details to hand either so this will hopefully do.

Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: JacKc on February 20, 2009, 01:44:10 PM
You can't really - other than being patient and waiting for the next release.

When i mean "help", i don't talk about FBA Release (it will comes when it comes  :p) but about helping you about getting a new PC...
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: Barry Harris on February 20, 2009, 03:01:52 PM
When i mean "help", i don't talk about FBA Release (it will comes when it comes  :p) but about helping you about getting a new PC...

There isn't much anyone can do about that really.
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: kev on February 21, 2009, 06:06:46 AM
I currently do not have a working build enviroment . . .  etc

Also, there was supposed to be more text about what some of the issues were I found but the board decided to eat the post. I did have it in my clipboard but I have rebooted since then so here is the generat gist of it:

Take this with a pinch of salt as I working from memory. When I finally have my machine setup to build fba again I should be able to verify most of this:
Most of the graphics problems are due to the way the memory map was setup. If you set break points in every function ( it might have been every case statement) you will see that there are many areas that do not get called and some areas that only get called from one place when they should be getting called from many places. Once I figured this out a lot of the issues disappeared but I really have no idea if any of the drivers I posted have these fixes in. Also the one in the MegaDrive folder was a bit of a mash up between all 3 drivers. It has lots of bugs from all 3 versions but from memory seemed to be the most compatitble.
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: Barry Harris on February 21, 2009, 08:25:55 AM
Also, there was supposed to be more text about what some of the issues were I found but the board decided to eat the post. I did have it in my clipboard but I have rebooted since then so here is the generat gist of it:

Take this with a pinch of salt as I working from memory. When I finally have my machine setup to build fba again I should be able to verify most of this:
Most of the graphics problems are due to the way the memory map was setup. If you set break points in every function ( it might have been every case statement) you will see that there are many areas that do not get called and some areas that only get called from one place when they should be getting called from many places. Once I figured this out a lot of the issues disappeared but I really have no idea if any of the drivers I posted have these fixes in. Also the one in the MegaDrive folder was a bit of a mash up between all 3 drivers. It has lots of bugs from all 3 versions but from memory seemed to be the most compatitble.

Nice work kev. Is it a case of there are some unmapped writes, or are they mapped incorrectly to other areas?
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: kev on February 22, 2009, 07:54:33 AM
From what I remember, some of the memory handlers map areas that other memory handlers require.

I am currently downloading the dx sdk, etc so hopefully I can be a bit more specific than that, eventually. (orange broadband is sh** slow)
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: Barry Harris on February 22, 2009, 09:44:12 AM
From what I remember, some of the memory handlers map areas that other memory handlers require.

I am currently downloading the dx sdk, etc so hopefully I can be a bit more specific than that, eventually. (orange broadband is sh** slow)

Ok. Nice catch in that case. I hope to be able to get back to doing some development next week when I get my bits and build a computer!

I use PlusNet and it is pretty fast - but expensive.
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: Barry Harris on February 27, 2009, 11:22:11 AM
Got my computer back up and rescued my files.

Finished off the Megadrive Game editor and put it on my site. You have to be logged in to use it and it can be accessed using the FBA MD Games link under the Tools section of the right hand menu.

It should be fairly simple to use. The driver can be auto generated from the data, so if you want to see more Megadrive games in FBA then test them and update the status.

Please only amend things properly. I'm taking the precaution of logging all changes (including IP address, username, date and time) and also doing daily backups.

If this can be used properly we can get some more Megadrive games in FBA and have some good info as to what is wrong with others.
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: JacKc on February 27, 2009, 11:57:57 AM
good news for your computer...now i have to register on your site to access to your MG Game Editor ;p

EDIT : Stupid question...Continue to use fba_029702md for tests?
Title: Re: New Megadrive Driver Post - Post Your Working Games and the Driver Files!
Post by: Barry Harris on February 27, 2009, 01:06:30 PM
EDIT : Stupid question...Continue to use fba_029702md for tests?

Yup - only the driver file will be updated by this process - the emulation code hasn't changed since iq's md build.