issues
search
jart
/
blink
tiniest x86-64-linux emulator
ISC License
7k
stars
224
forks
source link
Gracefully handle end of disk images in bare metal `int 0x13`
#110
Closed
tkchia
closed
1 year ago
tkchia
commented
1 year ago
If image file size is not a multiple of the sector size (512 bytes), treat it as being padded with zeros up to a sector boundary
If, after padding, the sector count during a read is still short, then return the number of sectors successfully read rather than just saying 0