Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
fix: Overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainTHD committed Oct 3, 2020
1 parent 2a29ebc commit 3204420
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kernel/bootSector/diskRead.asm
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ readDisk:
; Lecture secteur suivant
inc cx

; limite de 512 secteurs
cmp cl, 512
; limite de 255 secteurs
cmp cl, 255
je diskReadExit

jmp diskReadLoop
Expand Down

0 comments on commit 3204420

Please sign in to comment.