changeset 2038:5b51f03b2227

Don't init IO ports in TMSS ROM as it trips up the standard Sega init code
author Michael Pavone <pavone@retrodev.com>
date Sun, 07 Mar 2021 22:45:25 -0800
parents b0b0c31338c3
children 3b8e29ef1145
files tmss.s68
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/tmss.s68	Sun Mar 07 22:44:33 2021 -0800
+++ b/tmss.s68	Sun Mar 07 22:45:25 2021 -0800
@@ -141,10 +141,6 @@
 ploop:
 	move.w d0, (a0)
 	dbra d1, ploop
-
-	move.b #$40, $A10009
-	move.b #$00, $A10003
-
 	move.l #$45960002, d7
 	move.l d7, (a1)
 	move.l #$800000, d6
@@ -201,6 +197,7 @@
 	jmp (a6)
 	
 is_bad:
+	move.b d0, (a4)
 	lea bad(pc), a6
 	bsr.s print_string