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

Use SI instead of BX for actions on sector buffers [v1.1.1-testing]

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/special/lvm.asm

    r123 r124  
    125125; Destroyed: None
    126126LVM_CheckSectorCRC              Proc Near   Uses ax bx dx
    127         mov     bx, si
    128         call    IsSectorZero                ; Zero sector implies bad CRC
     127        call    IsSectorBufferZero          ; Zero sector implies bad CRC
    129128        jz      LVMCSCRC_BadCRC
    130129        call    LVM_GetSectorCRC            ; Only use after CRC table is valid
Note: See TracChangeset for help on using the changeset viewer.