Puto, on Jun 14 2007, 07:52 AM, said:
Eventually I just ended up doing this:
<tt>move.w (Z80_Driver_End-Z80_Driver)/4,d1
@loop:
move.b (a0)+,(a1)+
move.b (a0)+,(a1)+
move.b (a0)+,(a1)+
move.b (a0)+,(a1)+
dbf d1,@loop</tt>
Which seems to work perfectly. I still don't understand why taking out the /4 and putting in just one move.b doesn't work though.
<tt>move.w (Z80_Driver_End-Z80_Driver)/4,d1
@loop:
move.b (a0)+,(a1)+
move.b (a0)+,(a1)+
move.b (a0)+,(a1)+
move.b (a0)+,(a1)+
dbf d1,@loop</tt>
Which seems to work perfectly. I still don't understand why taking out the /4 and putting in just one move.b doesn't work though.
what are "Z80_Driver_End" and "Z80_Driver" EQU'd to?
