Changeset 78 for trunk/bootcode/regular/partscan.asm
- Timestamp:
- Apr 8, 2017, 12:26:16 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/regular/partscan.asm
r76 r78 305 305 ; Clearing the boot-flags on other disks would prevent booting them 306 306 ; from the BIOS. (TRAC ticket #6) 307 cmp dl, 080h; See if this is boot-disk307 cmp dl, [BIOS_BootDisk] ; See if this is boot-disk 308 308 jne PSSP_Skip_Clear_BootFlag ; Nope, skip clear flag 309 309 and byte ptr [si+LocBRPT_Flags], 7Fh ; Reset the Active-Flag … … 313 313 jb PSSP_ScanLoop 314 314 ; If we are on first HDD and in primary partition table -> mark primary 315 cmp bptr [CurPartition_Location+4], 80h ; Drive 315 mov al, [BIOS_BootDisk] 316 cmp bptr [CurPartition_Location+4], al ; Drive 316 317 jne PSSP_NoMarkPrimary 317 318 cmp wptr [CurPartition_Location+0], 0 318 319 jne PSSP_NoMarkPrimary 319 cmp wptr [CurPartition_Location+2], 0 ; Absolute Location320 cmp wptr [CurPartition_Location+2], 0 ; Absolute Location 320 321 jne PSSP_NoMarkPrimary 321 322 call PART_MarkFirstGoodPrimary
Note:
See TracChangeset
for help on using the changeset viewer.