From: notaz Date: Mon, 16 May 2011 12:15:08 +0000 (+0300) Subject: hexed: minor cleanup X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01b3c93340b8950814f2a7cc2a1131ab25f61a6a;p=megadrive.git hexed: minor cleanup --- 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