Fix spelling errors in bootloader comments

This commit is contained in:
pjht 2023-02-14 17:25:53 -06:00
parent 026406c355
commit 988f84e5c1
Signed by: pjht
GPG Key ID: 7B5F6AFBEC7EE78E

View File

@ -99,8 +99,8 @@ andi.l #0x1FF, d0 | Modulus start byte by 512 to compute sector data offset
move.l #0x1FF, d1 | Compute the number of bytes to transfer by subtracting the offset from 512 move.l #0x1FF, d1 | Compute the number of bytes to transfer by subtracting the offset from 512
sub.l d0, d1 sub.l d0, d1
cmp d7, d1 | Compare the number of bytes to transfer with the byte count cmp d7, d1 | Compare the number of bytes to transfer with the byte count
ble.b count_ok | If it wass less than the byte count, do not adjust the bytes to transfer ble.b count_ok | If it was less than the byte count, do not adjust the bytes to transfer
move.l d7, d1 | Otherwis:e, cap the transfer count to the total byte count move.l d7, d1 | Otherwise, cap the transfer count to the total byte count
count_ok: count_ok:
move.l d1, d6 | Save the number of bytes in d6 move.l d1, d6 | Save the number of bytes in d6
subi.l #1, d1 | Subtract 1 from the number of bytes to account for the extra loop done by dbra subi.l #1, d1 | Subtract 1 from the number of bytes to account for the extra loop done by dbra