hexed: minor cleanup
authornotaz <notasas@gmail.com>
Mon, 16 May 2011 12:15:08 +0000 (15:15 +0300)
committernotaz <notasas@gmail.com>
Mon, 16 May 2011 12:15:08 +0000 (15:15 +0300)
hexed/hexed.s
hexed/sega_gcc.s

index 2152aa8..cdaebcd 100644 (file)
@@ -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 */
index 4008ad4..ca0c0f9 100644 (file)
@@ -20,8 +20,6 @@
         .ascii "                         "\r
         .ascii "JUE             "\r
 \r
-       tst.l   0xa10008\r
-       bne     SkipSetup\r
 * Check Version Number\r
        move.b  (0xa10000),%d0\r
        andi.b  #0x0f,%d0\r
@@ -32,7 +30,7 @@ WrongVersion:
        moveq   #0,%d0\r
        movea.l %d0,%a7\r
        move    %a7,%usp\r
-SkipSetup:\r
+\r
        tst.w   0xC00004\r
        bra     main\r
 \r