From 01b3c93340b8950814f2a7cc2a1131ab25f61a6a Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 16 May 2011 15:15:08 +0300 Subject: [PATCH] hexed: minor cleanup --- hexed/hexed.s | 9 --------- hexed/sega_gcc.s | 4 +--- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/hexed/hexed.s b/hexed/hexed.s index 2152aa8..cdaebcd 100644 --- a/hexed/hexed.s +++ b/hexed/hexed.s @@ -1653,16 +1653,7 @@ wait_vsync_poll: test_code: - move.w #3, (0xa15100) /* adapter enable, reset off */ nop - nop - move.w #1, (0xa15180) /* mode 1 */ - movea.l #0xa15200, a0 - move.l #256-1, d0 -0: - move.w #0,(a0)+ - dbra d0,0b - move.w #0x83e0, (0xa15200) /* color 0 */ test_code_ret_op: jmp 0x123456 /* will be patched */ diff --git a/hexed/sega_gcc.s b/hexed/sega_gcc.s index 4008ad4..ca0c0f9 100644 --- a/hexed/sega_gcc.s +++ b/hexed/sega_gcc.s @@ -20,8 +20,6 @@ .ascii " " .ascii "JUE " - tst.l 0xa10008 - bne SkipSetup * Check Version Number move.b (0xa10000),%d0 andi.b #0x0f,%d0 @@ -32,7 +30,7 @@ WrongVersion: moveq #0,%d0 movea.l %d0,%a7 move %a7,%usp -SkipSetup: + tst.w 0xC00004 bra main -- 2.39.2