MAMEWorld >> Programming
View all threads Index   Flat Mode Flat  

tb2000
Arcade and retro fan
Reged: 08/20/07
Posts: 108
Loc: Somewhere in the UK
Send PM
Adding new versions of games to drivers
08/31/07 12:43 AM


I've recently (at last after a long time) got myself an EPROM programmer (Dataman-48LV). I have a Sega Hang-On Rev. A board (well, more than one actually!) which from the source segahang.c (and from being informed by someone from the forums ages ago!) shows that it isn't dumped. I have dumped the 4 roms which have different labels (4 roms have the A prefix on them, the others seems to be the same) using the guide on the Guru's site. I've no doubt that a proper dev will end up adding this to the source, but I thought i'd give it a go first to see if I can get the hang of it. I'm not much good on C (probably hopeless in fact!), most of my programming was back in the days of the ZX Spectrum with Sinclair Basic, but i'd like to think I could get to grips with this small part of it.
I just have a few questions if I may

I've noticed that in my original hangon.zip, the filenames don't match what's in the source, yet the zip still works. I presume the driver reads the CRC/SHA1 code rather than the actual filename, or am I way off?
Also, is the CRC/SHA1 obtained when the files are zipped or is this calcualated in a different way?
Would it just be a matter of dropping in the appropriate rom names and CRC's into the driver or could there be more to it than this?
The two hex numbers after the rom name in the driver, I know what the second number is (I think it's the same as the number the programmer displayed when it had read and written the rom to a file - 32768k (8000 hex))? How is the first number determined, is it a memory region?
It's probably mostly simple stuff to most people here, and it probably sounds like this sort of thing is out of my league but i'm wanting to learn a bit anyway, even if it's only for the occasional adding of a clone or something that I might have. When I get time I am going to attempt to id all the boards I have that my programmer will accept to see if I do indeed have any other required romsets that need dumping. I have probably around 150-200 pcb's so I might have something that's needed.
Lastly, even though only 4 roms show different names on the labels, should I dump all of them to make sure or would it be wasting time?
Many thanks,
Tony







Entire thread
Subject Posted by Posted on
* Adding new versions of games to drivers tb2000 08/31/07 12:43 AM
. * Re: Adding new versions of games to drivers AWJ  08/31/07 02:39 AM
. * Re: Adding new versions of games to drivers tb2000  08/31/07 01:04 PM
. * Re: Adding new versions of games to drivers AWJ  09/01/07 07:00 AM
. * Re: Adding new versions of games to drivers Haze  09/01/07 12:41 PM
. * Re: Adding new versions of games to drivers tb2000  09/01/07 01:15 PM
. * Re: Adding new versions of games to drivers Haze  09/01/07 01:20 PM
. * Re: Adding new versions of games to drivers Vas Crabb  09/01/07 01:11 PM
. * Re: Adding new versions of games to drivers tb2000  09/01/07 01:18 PM
. * Re: Adding new versions of games to drivers Haze  09/01/07 01:16 PM
. * Re: Adding new versions of games to drivers Vas Crabb  09/01/07 02:36 PM
. * Re: Adding new versions of games to drivers Haze  09/01/07 03:18 PM
. * Re: Adding new versions of games to drivers tb2000  09/01/07 03:58 PM
. * Re: Adding new versions of games to drivers Vas Crabb  09/01/07 03:39 PM
. * Re: Adding new versions of games to drivers StilettoAdministrator  09/05/07 06:37 AM
. * Re: Adding new versions of games to drivers R. Belmont  09/01/07 07:16 PM
. * Re: Adding new versions of games to drivers tb2000  09/01/07 10:25 AM

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