--- MiNT/src/quickmov.spp 2018/04/24 17:55:56 1.1.1.1 +++ MiNT/src/quickmov.spp 2018/04/24 17:57:24 1.1.1.3 @@ -1,3 +1,9 @@ +; Copyright 1992 Eric R. Smith + +; Copyright 1993 Atari Corporation + +; All rights reserved. + ; ; quickmove(char *dst, char *src, long nbytes): @@ -98,9 +104,9 @@ Leftover: ; do the remaining bytes move.l 12(sp),d1 - and.l #$01ff,d1 ; d1 = nbytes % 512 + and.w #$01ff,d1 ; d1 = nbytes % 512 - subq.l #1,d1 ; prepare for dbra loop + subq.w #1,d1 ; prepare for dbra loop bmi.s Ldone