changeset 2636:e8b630a1ea4e

Implement line A and line F exceptions in new 68K core
author Michael Pavone <pavone@retrodev.com>
date Mon, 24 Feb 2025 23:30:55 -0800
parents eab8e0396776
children 47e197d40ffe
files m68k.cpu
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/m68k.cpu	Mon Feb 24 23:18:56 2025 -0800
+++ b/m68k.cpu	Mon Feb 24 23:30:55 2025 -0800
@@ -3477,3 +3477,15 @@
 	update_flags XNZV0C
 	m68k_save_dst 1
 	m68k_prefetch
+
+1010XXXXXXXXXXXX line_a
+	nospecialize X
+	#TODO cycle counts
+	pc -= 2
+	m68k_trap 10
+
+1111XXXXXXXXXXXX line_f
+	nospecialize X
+	#TODO cycle counts
+	pc -= 2
+	m68k_trap 11