diff --git a/boot/boot.68k b/boot/boot.68k index 114aad8..4d46e65 100644 --- a/boot/boot.68k +++ b/boot/boot.68k @@ -126,7 +126,6 @@ move.l #1, d1 | Set the number of sectors to read to 1 move.l #SEC_BUF_START, a1 | Set the read address of the sector to the sector buffer bsr.b read_sectors | Read the end sector move.l d6, d1 | Load the number of remaining bytes into d1 -andi #0x1FF, d1 | Modulus the number of remaining bytes by 512 to compute the number of bytes to copy from the end sector end_sec_loop: | Transfer the required bytes from the start sector to the destination buffer move.b (a1)+, (a2)+ dbra d1, end_sec_loop