Ignore:
Timestamp:
Apr 8, 2017, 12:26:57 AM (8 years ago)
Author:
Ben Rietbroek
Message:

Optimized reading a sector from disk using INT13X [v1.1.1-testing]

At this level it is more clear to talk about 'reading' and 'writing'
sectors, where 'disk read' and 'disk write' errors can occur.

CAUTION:
This is a testbuild !
AirBoot uses the BIOS to access disks and a small coding error can trash
partition tables or other vital disk structures. You are advised to make
backups of TRACK0 and EBRs before using this testbuild. More info at:
https://rousseaux.github.io/netlabs.air-boot/pdf/AirBoot-v1.1.0-manual.pdf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bootcode/regular/partmain.asm

    r96 r102  
    21742174        mov      di,ds
    21752175        mov      si,offset [TmpSector]
    2176         call     DriveIO_LoadSectorLBA
     2176        call     DriveIO_ReadSectorLBA
    21772177
    21782178        ; Restore partitions LBA address to DI:SI
     
    23752375;        mov     di,ds
    23762376;        mov     si,offset [TmpSector]
    2377 ;        call    DriveIO_LoadSectorLBA
     2377;        call    DriveIO_ReadSectorLBA
    23782378
    23792379;        ; Point to location of 'BOOTMGR' signature.
Note: See TracChangeset for help on using the changeset viewer.