Changeset 98
- Timestamp:
- Apr 8, 2017, 12:26:49 AM (8 years ago)
- Location:
- trunk/bootcode
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/regular/driveio.asm
r95 r98 1080 1080 1081 1081 1082 ; See if a LVM-sector is valid.1083 ; In : si, pointer to sector1084 ; Out : CY if valid LVM sector, NC if not1085 DriveIO_LVMSectorValid Proc Near1086 pusha1087 1088 call LVM_CheckSectorSignature1089 ; NC if no signature found1090 jnc DriveIO_LVMSectorValid_End1091 1092 call LVM_CheckSectorCRC1093 ; Force valid !!!1094 stc1095 1096 DriveIO_LVMSectorValid_End:1097 popa1098 ret1099 DriveIO_LVMSectorValid EndP1100 1082 1101 1083 ; ------------------------------------------------------ -
trunk/bootcode/special/lvm.asm
r84 r98 125 125 LVM_CheckSectorCRC EndP 126 126 127 ; See if a LVM-sector is valid. 128 ; In : si, pointer to sector 129 ; Out : CY if valid LVM sector, NC if not 130 DriveIO_LVMSectorValid Proc Near 131 pusha 132 133 call LVM_CheckSectorSignature 134 ; NC if no signature found 135 jnc DriveIO_LVMSectorValid_End 136 137 call LVM_CheckSectorCRC 138 ; Force valid !!! 139 stc 140 141 DriveIO_LVMSectorValid_End: 142 popa 143 ret 144 DriveIO_LVMSectorValid EndP 145 127 146 ; Updates Sector with valid LVM CRC 128 147 ; This one doesn't check, if it's really an LVM sector, so check before!
Note:
See TracChangeset
for help on using the changeset viewer.