From: Jean-Paul Mari Date: Wed, 2 Oct 2019 20:09:19 +0000 (-0400) Subject: Added a specific breakpoint for the M68K Unimplemented instruction, and Exception... X-Git-Tag: v2.1.3-R5^2~43 X-Git-Url: http://git.hcoop.net/clinton/Virtual-Jaguar-Rx.git/commitdiff_plain/0029c5072f864788020340eab0ed9600ac0f8f4a?hp=ef0da6debd1fc73d0f4c3914e21d9a09dd8fe7e7;ds=sidebyside Added a specific breakpoint for the M68K Unimplemented instruction, and Exception not referenced exceptions --- diff --git a/docs/vj_HistoryNotes.txt b/docs/vj_HistoryNotes.txt index 9efa614..c52c658 100644 --- a/docs/vj_HistoryNotes.txt +++ b/docs/vj_HistoryNotes.txt @@ -9,6 +9,7 @@ Release 5 (TBA) 3) Added a HW registers browser window and set a tab for the Blitter 4) Added detection for the unsigned/signed short type -- Will allow the return of a short type variable's value +5) Added a specific breakpoint for the M68K Unimplemented instruction, and Exception not referenced exceptions Release 4a (15th August 2019) ----------------------------- diff --git a/src/jaguar.cpp b/src/jaguar.cpp index 8a12558..6e4b04a 100644 --- a/src/jaguar.cpp +++ b/src/jaguar.cpp @@ -15,7 +15,7 @@ // JLH 11/25/2009 Major rewrite of memory subsystem and handlers // JPM 09/04/2018 Added the new Models and BIOS handler // JPM 10/13/2018 Added breakpoints features -// JPM Aug./2019 Fix specific breakpoint for ROM cartridge or unknown memory location writing; added a specific breakpoint for the M68K illegal instruction and address error exceptions +// JPM Aug./2019 Fix specific breakpoint for ROM cartridge or unknown memory location writing; added a specific breakpoint for the M68K illegal & unimplemented instruction, unknown exceptions and address error exceptions // @@ -1471,6 +1471,14 @@ unsigned int m68k_read_memory_32(unsigned int address) case 0x10: m68k_read_exception_vector(address, "Illegal instruction"); break; + + case 0x2c: + m68k_read_exception_vector(address, "Unimplemented instruction"); + break; + + default: + m68k_read_exception_vector(address, "Exception not referenced"); + break; } } else