Changeset 117 for trunk/bootcode/regular/partscan.asm
- Timestamp:
- Apr 8, 2017, 12:27:15 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/regular/partscan.asm
r111 r117 68 68 mov byte ptr [CurIO_Scanning], 0 ; Reset flag due scanning complete 69 69 70 IFDEF AUX_DEBUG 71 ;~ pusha 72 ;~ call DEBUG_DumpHidePartTables 73 ;~ popa 74 ENDIF 70 IFDEF AUX_DEBUG 71 IF 0 72 pushf 73 pusha 74 call DEBUG_DumpHidePartTables 75 popa 76 popf 77 ENDIF 78 ENDIF 79 75 80 ; Use X-Reference to sync NewPartitionTable with Hide-Config 76 81 call PARTSCAN_SyncHideConfigWithXref 77 82 78 IFDEF AUX_DEBUG 79 ;~ pusha 80 ;~ call DEBUG_DumpHidePartTables 81 ;~ popa 82 ENDIF 83 IFDEF AUX_DEBUG 84 IF 0 85 pushf 86 pusha 87 call DEBUG_DumpHidePartTables 88 popa 89 popf 90 ENDIF 91 ENDIF 83 92 84 93 ; Now we copy the new IPT over the old one... … … 418 427 PARTSCAN_CheckThisPartition Proc Near Uses di si 419 428 429 local PartSystemID:byte, PartTypeFlags:byte 430 local PartCRC:word, PartPtr:word 431 420 432 IFDEF AUX_DEBUG 421 433 IF 0 … … 437 449 ENDIF 438 450 439 local PartSystemID:byte, PartTypeFlags:byte440 local PartCRC:word, PartPtr:word441 451 442 452 mov wptr [PartPtr], si ; Save Pointer to PartitionEntry … … 512 522 add ax, wptr [CurPartition_Location+0] ; +Partition-Absolute 513 523 adc dx, wptr [CurPartition_Location+2] ; sectors 514 mov si, offset LVMSector 524 525 mov si, offset [LVMSector] 526 515 527 call LVM_SearchForPartition ; Search for DX:AX partition 528 516 529 jnc PCCTP_CheckBootRecord 517 530 ; Check, if volume has driveletter assigned and remember it for later … … 1078 1091 1079 1092 1080 IFDEF AUX_DEBUG 1081 ;~ pusha 1082 ;~ mov al,dl 1083 ;~ call AuxIO_TeletypeHexByte 1084 ;~ call AuxIO_TeletypeNL 1085 ;~ popa 1086 ENDIF 1093 IFDEF AUX_DEBUG 1094 IF 0 1095 pushf 1096 pusha 1097 mov al,dl 1098 call AuxIO_TeletypeHexByte 1099 call AuxIO_TeletypeNL 1100 popa 1101 popf 1102 ENDIF 1103 ENDIF 1087 1104 1088 1105 … … 1098 1115 1099 1116 IFDEF AUX_DEBUG 1100 ; debug code 1101 ;~ mov ax,di 1102 ;~ call AuxIO_TeletypeHexWord 1103 ;~ call AuxIO_TeletypeNL 1117 IF 0 1118 pushf 1119 pusha 1120 mov ax,di 1121 call AuxIO_TeletypeHexWord 1122 call AuxIO_TeletypeNL 1123 popa 1124 popf 1125 ENDIF 1104 1126 ENDIF 1105 1127
Note:
See TracChangeset
for help on using the changeset viewer.