changeset 2646:bde8ec2d0f83

Implement illegal instruction trap in new 68K core
author Michael Pavone <pavone@retrodev.com>
date Fri, 28 Feb 2025 23:35:52 -0800
parents 620f30af9fdc
children 3c689000e571
files m68k.cpu
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/m68k.cpu	Fri Feb 28 23:26:44 2025 -0800
+++ b/m68k.cpu	Fri Feb 28 23:35:52 2025 -0800
@@ -3491,3 +3491,9 @@
 	#TODO cycle counts
 	pc -= 2
 	m68k_trap 11
+
+XXXXXXXXXXXXXXXX illegal
+	nospecialize X
+	#TODO cycle counts
+	pc -= 2
+	m68k_trap 4