I recently bought a bundle of IREM arcade games from Dotemu and, partially for my own edification and partially because the included emulator has a lot of issues on my laptop, I'm interested in adding drivers for these to MAME (for my personal use, if nothing else).
I've been looking at R-Type Leo first.
1. I'm having some issues getting the MAME 1.5.2 source to compile. At the linking stage, I'm getting an error about an undefined reference to driver_xorworld in drivlist.o. Commenting out the two lines referring to xorworld in drivlist.c lets me finish linking, but is doing this going to cause other problems?
I'm also getting this access violation when launching the new executable. The official binaries work fine, it's only the one I'm compiling myself:
Code:
----------------------------------------------------- Exception at EIP=00000000021C71A1 (decompress_data+0x0021): ACCESS VIOLATION While attempting to read memory at 0000000000000000 ----------------------------------------------------- RAX=00000000039B7040 RBX=000000000022E880 RCX=00000000052C316B RDX=0000000000007 116 RSI=0000000000000000 RDI=0000000004097B60 RBP=000000000671FFA0 RSP=0000000000227 B20 R8=0000000000007117 R9=0000000006931E40 R10=0000000000007116 R11=8101010101010 100 R12=00000000000003E7 R13=0000000000000000 R14=0000000000000000 R15=0000000000000 000 ----------------------------------------------------- Stack crawl: 0000000000227B50: 00000000021C71A1 (decompress_data+0x0021) 000000000022F360: 000000000201ACEF (ui_draw_text_box(render_container*, char c onst*, int, float, float, unsigned int) [clone .constprop.98]+0x012f) 000000000022F8A0: 00000000021862BE (chd_codec_list::find_in_list(unsigned int) +0x004e) 000000000022FE10: 00000000016D0933 (t11_device::bic_ixd_ix(unsigned short)+0x0 173) 000000000022FE60: 00000000023E162C (device_t* driver_device_creatorate>(machine_config const&, char const*, device_t*, unsigned int)+0x01bc) 000000000022FF20: 00000000004013F0 (__tmainCRTStartup+0x0270) 000000000022FF50: 00000000004014F8 (mainCRTStartup+0x0018) 000000000022FF80: 000000007794652D (BaseThreadInitThunk+0x000d) 000000000022FFD0: 0000000077B7C541 (RtlUserThreadStart+0x0021)
2. The standard MAME rom archive and the one Dotemu has are structured differently, although that actual data appears to be pretty similar. In the Dotemu ones, most of the individuals binaries have been merged. For the most part, I've found which MAME binaries correspond to which Dotemu binaries, except for one.
The MAME rom archive has a file called rtl-da.bin in the R-Type Leo romset, and m92.c has this getting loaded into a ROM region called "irem". The other games in the m92.c driver source do something similar.
Any idea what this is for?
Thanks!
Edited by MeshGearFox (12/26/13 06:42 AM)
|