notaz.gp2x.de
/
megadrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
testpico: more on timer reload
[megadrive.git]
/
testpico
/
asmtools.S
diff --git
a/testpico/asmtools.S
b/testpico/asmtools.S
index
24b6458
..
dd22368
100644
(file)
--- a/
testpico/asmtools.S
+++ b/
testpico/asmtools.S
@@
-534,7
+534,7
@@
test_ym_ab_sync2:
movea.l #0xa04000, a0
movea.l #0xa04001, a1
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 */
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 */
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
rts
# vim:filetype=asmM68k:ts=4:sw=4:expandtab