mame/src/emu
Phil Bennett 86fd47653b 04147: raiden: crashes if you use -debug switch [Alex Jackson]
---------- 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
2010-12-22 22:46:53 +00:00
..
audio Replace "const address_space" with "address_space" throughout the system. 2010-08-19 07:26:14 +00:00
cpu 04147: raiden: crashes if you use -debug switch [Alex Jackson] 2010-12-22 22:46:53 +00:00
debug Added a 'changed by' search to the cheat engine [Pugsy] 2010-12-19 17:41:56 +00:00
debugint Use "default" font for artwork elements as well. 2010-10-24 06:32:07 +00:00
drivers Added xtal for MESS. (no whatsnew) 2010-12-01 16:56:24 +00:00
layout Internal debugger using the mame rendering infrastructure 2010-02-11 23:59:36 +00:00
machine Added idle skip for Ghost Eolith driver [David Haywood] 2010-12-22 21:12:20 +00:00
sound ics2115: Fix the timer [O. Galibert] 2010-12-19 19:27:38 +00:00
video small mistake in prev commit :) 2010-12-19 22:50:36 +00:00
addrmap.c Add DEVICE_SELF_OWNER which allows an address map to refer to the 2010-12-20 14:08:32 +00:00
addrmap.h Add DEVICE_SELF_OWNER which allows an address map to refer to the 2010-12-20 14:08:32 +00:00
attotime.c First round of an attempted cleanup of header files in the system. 2010-01-10 00:29:26 +00:00
attotime.h First round of an attempted cleanup of header files in the system. 2010-01-10 00:29:26 +00:00
audit.c Changed driver_device to expose the game_driver's ROMs through the 2010-09-03 05:21:46 +00:00
audit.h First round of an attempted cleanup of header files in the system. 2010-01-10 00:29:26 +00:00
cheat.c Cleanup & version bump. 2010-11-08 09:08:55 +00:00
cheat.h Cleanup & version bump. 2010-11-08 09:08:55 +00:00
clifront.c Create new class osd_interface to house OSD callbacks. Added new 2010-10-21 15:59:44 +00:00
clifront.h Create new class osd_interface to house OSD callbacks. Added new 2010-10-21 15:59:44 +00:00
config.c Split mame.c into mame.c and machine.c, the latter containing the 2010-06-30 03:46:21 +00:00
config.h Added the mameconfig version to the -listxml output [Oliver Stoneberg] 2010-01-11 12:55:43 +00:00
crsshair.c Convert rendlay objects into C++, reduce the number of unused textures 2010-10-18 01:51:58 +00:00
crsshair.h WARNING: There are likely to be regressions in both functionality and 2010-06-08 06:09:57 +00:00
debugger.c Split the screen device into a separate module. 2010-12-02 17:26:38 +00:00
debugger.h Moved debugging structure away from CPUs only and attached to all 2010-07-06 00:52:36 +00:00
delegate.c Cleanups and version bump. 2010-08-30 15:20:58 +00:00
delegate.h Fix compiling on older GCCs (including OS X PowerPC) [Aaron Giles] 2010-09-04 01:15:01 +00:00
deprecat.h De-converted MACHINE_DRIVER from tokens back to constructor functions, regaining 2010-08-26 15:21:19 +00:00
devcb.c Added new devcb type DEVCB_TYPE_DRIVER, which implies the driver_device. 2010-10-18 15:28:00 +00:00
devcb.h Whoops, forgot to remove the tag parameter. 2010-10-18 15:28:34 +00:00
devconv.h WARNING: There are likely to be regressions in both functionality and 2010-06-08 06:09:57 +00:00
devcpu.c Put the state list in a simple_list<>. 2010-09-07 04:51:51 +00:00
devcpu.h For legacy CPUs, track whether we have initialized, and if we haven't, 2010-08-26 16:00:27 +00:00
devimage.c - Fixed issue with image empty slot [Miodrag Milanovic] 2010-11-26 13:50:56 +00:00
devintrf.c Cleanups and version bump. 2010-09-19 05:09:00 +00:00
devintrf.h More Clang fixes (verified OK with GCC) [Balrog] 2010-10-16 03:17:49 +00:00
devlegcy.c Cleanups and version bump. 2010-08-30 15:20:58 +00:00
devlegcy.h Remove artificial SOUND_ prefix from sound device names. 2010-09-02 08:14:41 +00:00
devtempl.h Changed the MACHINE_DRIVER_* macros, as follows: 2010-09-01 05:03:27 +00:00
didisasm.c WARNING: There are likely to be regressions in both functionality and 2010-06-08 06:09:57 +00:00
didisasm.h Cleanups and version bump. 2010-06-17 06:55:54 +00:00
diexec.c Split the screen device into a separate module. 2010-12-02 17:26:38 +00:00
diexec.h Converted ASAP CPU core from a legacy CPU core to a modern device. 2010-09-07 00:32:49 +00:00
diimage.c Swap: (astring.len() != 0) -> astring 2010-08-21 19:27:14 +00:00
diimage.h Swap: (astring.len() != 0) -> astring 2010-08-21 19:27:14 +00:00
dimemory.c Changed driver_device to expose the game_driver's ROMs through the 2010-09-03 05:21:46 +00:00
dimemory.h De-converted MACHINE_DRIVER from tokens back to constructor functions, regaining 2010-08-26 15:21:19 +00:00
dinvram.c WARNING: There are likely to be regressions in both functionality and 2010-06-08 06:09:57 +00:00
dinvram.h Cleanups and version bump. 2010-06-17 06:55:54 +00:00
disound.c Moved sound routing for non-speaker devices over to the 2010-09-08 06:04:15 +00:00
disound.h Moved sound routing for non-speaker devices over to the 2010-09-08 06:04:15 +00:00
distate.c Put the state list in a simple_list<>. 2010-09-07 04:51:51 +00:00
distate.h Put the state list in a simple_list<>. 2010-09-07 04:51:51 +00:00
drawgfx.c Split mame.c into mame.c and machine.c, the latter containing the 2010-06-30 03:46:21 +00:00
drawgfx.h First round of an attempted cleanup of header files in the system. 2010-01-10 00:29:26 +00:00
drawgfxm.h I had originally wanted to convert the profiler to use scopes (e.g., 2010-08-21 22:25:58 +00:00
driver.c - Moved compatibility validation into MAME core from MESS. 2010-02-09 14:23:13 +00:00
driver.h Changed the MACHINE_DRIVER_* macros, as follows: 2010-09-01 05:03:27 +00:00
eigccppc.h Rename osd_profiling_ticks() to get_profile_ticks(). Moved implemention into 2009-09-06 23:30:26 +00:00
eigccx86.h Compile fix for 64-bit Win32 SDL. 2010-01-28 09:41:37 +00:00
eminline.h Rename osd_profiling_ticks() to get_profile_ticks(). Moved implemention into 2009-09-06 23:30:26 +00:00
emu.h Split the screen device into a separate module. 2010-12-02 17:26:38 +00:00
emu.mak new working game 2010-12-21 21:17:38 +00:00
emualloc.c Cleanups and version bump. 2010-10-14 07:04:16 +00:00
emualloc.h emualloc.h: Force inlining of MAME's new and delete operators. 2010-10-16 18:17:00 +00:00
emucore.c First round of an attempted cleanup of header files in the system. 2010-01-10 00:29:26 +00:00
emucore.h Cleanups and version bump. 2010-10-21 06:01:17 +00:00
emuopts.c - Fixed issue with image empty slot [Miodrag Milanovic] 2010-11-26 13:50:56 +00:00
emuopts.h - Fixed issue with image empty slot [Miodrag Milanovic] 2010-11-26 13:50:56 +00:00
emupal.c Split the screen device into a separate module. 2010-12-02 17:26:38 +00:00
emupal.h First round of an attempted cleanup of header files in the system. 2010-01-10 00:29:26 +00:00
fileio.c Split mame.c into mame.c and machine.c, the latter containing the 2010-06-30 03:46:21 +00:00
fileio.h - Fixed issue with image empty slot [Miodrag Milanovic] 2010-11-26 13:50:56 +00:00
hash.c First round of an attempted cleanup of header files in the system. 2010-01-10 00:29:26 +00:00
hash.h Copyright cleanup: 2008-01-06 00:47:40 +00:00
hashfile.c hashfile moved from MESS to emu section (needed for now in image support until softlist implementation is finished), this doesn't affect mame side (no whatsnew) 2010-06-17 06:57:05 +00:00
hashfile.h hashfile moved from MESS to emu section (needed for now in image support until softlist implementation is finished), this doesn't affect mame side (no whatsnew) 2010-06-17 06:57:05 +00:00
image.c De-converted MACHINE_DRIVER from tokens back to constructor functions, regaining 2010-08-26 15:21:19 +00:00
image.h Added call to add device with parameters sent and his sub devices (no whatsnew) 2010-06-30 13:14:51 +00:00
info.c Split the screen device into a separate module. 2010-12-02 17:26:38 +00:00
info.h First round of an attempted cleanup of header files in the system. 2010-01-10 00:29:26 +00:00
inptport.c Split the screen device into a separate module. 2010-12-02 17:26:38 +00:00
inptport.h Cleanups and version bump. 2010-06-17 06:55:54 +00:00
inpttype.h Cleanups and version bump. 2010-06-17 06:55:54 +00:00
input.c I had originally wanted to convert the profiler to use scopes (e.g., 2010-08-21 22:25:58 +00:00
input.h Added debug_global_input_code_pressed_once() function to input.c [Angelo Salese] 2010-05-24 01:09:23 +00:00
inputseq.c Swap: (astring.len() != 0) -> astring 2010-08-21 19:27:14 +00:00
inputseq.h First round of an attempted cleanup of header files in the system. 2010-01-10 00:29:26 +00:00
ioprocs.c - Moved ioproc implementation from MESS [Miodrag Milanovic] 2010-06-23 19:35:49 +00:00
ioprocs.h - Moved ioproc implementation from MESS [Miodrag Milanovic] 2010-06-23 19:35:49 +00:00
machine.c Fix regressions in games with buffered spriteram. 2010-12-06 18:12:28 +00:00
machine.h Split the screen device into a separate module. 2010-12-02 17:26:38 +00:00
mame.c Fix for bug #04142 [Miodrag Milanovic] 2010-12-20 09:36:38 +00:00
mame.h Create new class osd_interface to house OSD callbacks. Added new 2010-10-21 15:59:44 +00:00
mconfig.c Split the screen device into a separate module. 2010-12-02 17:26:38 +00:00
mconfig.h Split the screen device into a separate module. 2010-12-02 17:26:38 +00:00
memconv.h Replace "const address_space" with "address_space" throughout the system. 2010-08-19 07:26:14 +00:00
memory.c Fix 20pacgal. 2010-12-08 06:46:08 +00:00
memory.h Change shared memory regions to track their size. Added memory_get_shared() 2010-09-04 02:26:32 +00:00
output.c Split mame.c into mame.c and machine.c, the latter containing the 2010-06-30 03:46:21 +00:00
output.h First round of an attempted cleanup of header files in the system. 2010-01-10 00:29:26 +00:00
profiler.c Cleanups and version bump. 2010-08-30 15:20:58 +00:00
profiler.h Cleanups and version bump. 2010-08-30 15:20:58 +00:00
render.c Split the screen device into a separate module. 2010-12-02 17:26:38 +00:00
render.h Split the screen device into a separate module. 2010-12-02 17:26:38 +00:00
rendersw.c Cleanups and version bump. 2010-10-14 07:04:16 +00:00
rendfont.c Cleanup & version bump. 2010-11-08 09:08:55 +00:00
rendfont.h Cleanup & version bump. 2010-11-08 09:08:55 +00:00
rendlay.c Split the screen device into a separate module. 2010-12-02 17:26:38 +00:00
rendlay.h Cleanups and version bump. 2010-10-21 06:01:17 +00:00
rendutil.c Convert rendlay objects into C++, reduce the number of unused textures 2010-10-18 01:51:58 +00:00
rendutil.h Convert rendlay objects into C++, reduce the number of unused textures 2010-10-18 01:51:58 +00:00
romload.c Changed driver_device to expose the game_driver's ROMs through the 2010-09-03 05:21:46 +00:00
romload.h Changed driver_device to expose the game_driver's ROMs through the 2010-09-03 05:21:46 +00:00
schedule.c Converted ASAP CPU core from a legacy CPU core to a modern device. 2010-09-07 00:32:49 +00:00
schedule.h Split mame.c into mame.c and machine.c, the latter containing the 2010-06-30 03:46:21 +00:00
screen.c Split the screen device into a separate module. 2010-12-02 17:26:38 +00:00
screen.h Split the screen device into a separate module. 2010-12-02 17:26:38 +00:00
softlist.c Allowed the use of either decimal or hexadecimal values for <dataarea> size, <rom> size, and <rom> offset in software lists. [Curt Coder] 2010-12-04 13:29:12 +00:00
softlist.h - Added MDRV_SOFTWARE_LIST_COMPATIBLE_ADD for adding compatible software lists (for documentation purposes) [Miodrag Milanovic] 2010-07-06 14:27:51 +00:00
sound.c Split the screen device into a separate module. 2010-12-02 17:26:38 +00:00
sound.h De-converted MACHINE_DRIVER from tokens back to constructor functions, regaining 2010-08-26 15:21:19 +00:00
state.c Silenced MSVC warnings. (no whatsnew) 2010-08-23 18:22:05 +00:00
state.h Split the screen device into a separate module. 2010-12-02 17:26:38 +00:00
streams.c I had originally wanted to convert the profiler to use scopes (e.g., 2010-08-21 22:25:58 +00:00
streams.h WARNING: There are likely to be regressions in both functionality and 2010-06-08 06:09:57 +00:00
tilemap.c I had originally wanted to convert the profiler to use scopes (e.g., 2010-08-21 22:25:58 +00:00
tilemap.h WARNING: There are likely to be regressions in both functionality and 2010-06-08 06:09:57 +00:00
timer.c Move device definitions out of the bottom of the file. They can be 2010-09-19 20:57:20 +00:00
timer.h Added an integral device_timer_id to device timers. This is a 2010-09-17 13:33:27 +00:00
tokenize.h More PPC GCC warning fixes. 2010-01-15 23:18:08 +00:00
ui.c Split the screen device into a separate module. 2010-12-02 17:26:38 +00:00
ui.h Use "default" font for artwork elements as well. 2010-10-24 06:32:07 +00:00
uigfx.c Use "default" font for artwork elements as well. 2010-10-24 06:32:07 +00:00
uigfx.h UI menu interface changes 2010-01-27 23:52:28 +00:00
uiimage.c Converted render.c objects into C++ objects. Updated all callers. 2010-10-13 06:20:10 +00:00
uiimage.h - Moved softlist implementation from MESS [Miodrag Milanovic] 2010-06-20 18:48:02 +00:00
uiinput.c I had originally wanted to convert the profiler to use scopes (e.g., 2010-08-21 22:25:58 +00:00
uiinput.h Split mame.c into mame.c and machine.c, the latter containing the 2010-06-30 03:46:21 +00:00
uimenu.c C++-ified the cheat engine. 2010-10-27 05:16:06 +00:00
uimenu.h UI menu interface changes 2010-01-27 23:52:28 +00:00
uismall.png Initial checkin of MAME 0.121. 2007-12-17 15:19:59 +00:00
validity.c Split the screen device into a separate module. 2010-12-02 17:26:38 +00:00
validity.h Changed driver_device to expose the game_driver's ROMs through the 2010-09-03 05:21:46 +00:00
video.c Cleanups and version bump. 2010-12-08 07:01:03 +00:00
video.h Cleanups and version bump. 2010-12-08 07:01:03 +00:00
watchdog.c Split mame.c into mame.c and machine.c, the latter containing the 2010-06-30 03:46:21 +00:00
watchdog.h First round of an attempted cleanup of header files in the system. 2010-01-10 00:29:26 +00:00