X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=megadrive.git;a=blobdiff_plain;f=testpico%2Fasmtools.S;fp=testpico%2Fasmtools.S;h=dd2236851e28266246207d9069d4822fc9b44e4e;hp=24b64585784f781aa26b38c74dcdde05505b92d9;hb=3d80f9400569f545d9e651a68aa0382f7ca6db40;hpb=635f24506c5a883336e9028e0de7a4a5fb9b2226 diff --git a/testpico/asmtools.S b/testpico/asmtools.S index 24b6458..dd22368 100644 --- a/testpico/asmtools.S +++ b/testpico/asmtools.S @@ -534,7 +534,7 @@ test_ym_ab_sync2: movea.l #0xa04000, a0 movea.l #0xa04001, a1 -# move.b #0x3f, (a1) /* 12 clear */ + move.b #0x0f, (a1) /* 12 enable */ moveq.l #0, d0 moveq.l #3, d1 nop /* 4 need ~12c to clear */ @@ -543,6 +543,7 @@ test_ym_ab_sync2: and.b d1, d0 /* 4 */ beq 0b /* 10|8 */ move.b (a0), d0 /* re-read */ + move.b #0x3c, (a1) /* 12 clear, disable */ rts # vim:filetype=asmM68k:ts=4:sw=4:expandtab