---------- Forwarded message ----------
From: Alex Jackson <awj_in_japan@hotmail.com>
Date: Mon, Dec 20, 2010 at 3:37 AM
Subject: MT bug 04147 fix; trivial debugger fix
To: submit@mamedev.org
i86length.diff fixes MT bug 04147: raiden: crashes if you use -debug switch. My patch makes the i386 and nec disassemblers enforce the same maximum instruction length as CPUINFO_INT_MAX_INSTRUCTION_BYTES (previously the disassemblers always enforced a maximum length of 15 bytes, but the value of CPUINFO_INT_MAX_INSTRUCTION_BYTES varied between CPUs... this was my fault, sorry)
The maximum legal instruction length on the 80286 is 10 bytes, and on the 80386 and all later Intel and clone CPUs it's 15 bytes. Exceeding the limit causes an illegal instruction exception. Intel CPUs prior to the 80286, and NEC-V CPUs, don't enforce a maximum instruction length (they don't even have an "illegal instruction" exception), but the longest possible instruction without redundant prefixes is 8 bytes on both, so I've made that the maximum instruction length for disassembly purposes.
debugger.diff fixes a trivial bug in the debugger dump commands. 0x7f is not a printable character in either ASCII or UTF-8... so don't print it in the "ASCII" column when hex dumping.
--AWJ
- Added Rev. C Naomi 2 Export BIOS [The Dumping Union]
- Fixed some rom filenames that didn't fit MAME standard [Cah4e3]
New games added as GAME_NOT_WORKING
-----------------------------------
Derby Owner's Club World Edition (Rev. D) [f205v, Cah4e3]
---------------------------------------------------
Dai San Wakusei Meteor - Hau, Chack'n
Comments:
This is the initial check-in of the driver which was posted (plus some driver notes based on some quick tests). If anyone has work they need to add (discrete audio, dip/input improvements), please work with this as a base.
- full save-states support
- changed to use timekeeper-device instead of mvram + custom code
- now use timekeeper as Z80 banked RAM (verified with hardware,
now full game stats saved on power on/off as on real machine)
- graphics roms naming scheme changed as on Irgrosoft's hash-lists
for example -
http://www.igrosoft.ru/download/md5/CrazyMonkey_hash.htmlhttp://www.igrosoft.ru/download/md5/CrazyMonkey_loto_hash.htmlhttp://www.igrosoft.ru/download/md5/CrazyMonkey_ent_hash.html
because different gfx-sets not "old one" or "new one", but for
different regions.
- Roll Fruit's always-locked-coinlock bug fixed
- few old missing roms found and added:
Fruit Cocktail 030623 fcockt_3
Lucky Haunter 030804 lhaunt_2
Resident 040415 resdnt
- all known hashes added (entertainment, lottery, etc)
- misc cleanup