Changeset 46 for trunk/BOOTCODE/REGULAR/PARTMAIN.ASM
- Timestamp:
- Apr 12, 2014, 8:23:32 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BOOTCODE/REGULAR/PARTMAIN.ASM
r45 r46 81 81 cmp dl, 0FEh ; Resume-BIOS? 82 82 ja PFUPN_SpecialSelectionFloppy 83 cmp CFG_ResumeBIOSbootSeq, 083 cmp byte ptr [CFG_ResumeBIOSbootSeq], 0 84 84 je PFUPN_SelectionGone 85 85 jmp PFUPN_Found 86 86 PFUPN_SpecialSelectionFloppy: 87 cmp CFG_IncludeFloppy, 087 cmp byte ptr [CFG_IncludeFloppy], 0 88 88 je PFUPN_SelectionGone 89 89 jmp PFUPN_Found … … 192 192 mov si, offset PartitionTable 193 193 mov bx, offset PartitionPointers 194 test CFG_IncludeFloppy, 1194 test byte ptr [CFG_IncludeFloppy], 1 195 195 jz PCMPP_NoFloppyInclude 196 196 mov ax, offset FloppyIPTentry … … 199 199 PCMPP_NoFloppyInclude: 200 200 201 test CFG_ResumeBIOSbootSeq, 0FFh201 test byte ptr [CFG_ResumeBIOSbootSeq], 0FFh 202 202 jz PCMPP_NoResumeBootSeqInclude 203 203 mov ax, offset BIOScontIPTentry … … 920 920 ; BX:AX -> Absolute End-Position of Partition 921 921 922 test CFG_ForceLBAUsage, 1922 test byte ptr [CFG_ForceLBAUsage], 1 923 923 jnz PSP_ForceI13X 924 924 ; LBA-boundary at 16450560 (FB0400h) (16320x16x63) … … 942 942 ; Insert signature 943 943 xor di, di 944 mov w ptr es:[di+00], '1I'945 mov w ptr es:[di+02], 'X3'944 mov word ptr es:[di+00], '1I' 945 mov word ptr es:[di+02], 'X3' 946 946 947 947 ;mov wptr es:[di], 0 … … 949 949 950 950 ; Insert LBA address. 951 mov ax, wptr[si+LocIPT_AbsoluteBegin+0]952 mov wptres:[di+04], ax953 mov ax, wptr[si+LocIPT_AbsoluteBegin+2]954 mov wptres:[di+06], ax951 mov ax, [si+LocIPT_AbsoluteBegin+0] 952 mov es:[di+04], ax 953 mov ax, [si+LocIPT_AbsoluteBegin+2] 954 mov es:[di+06], ax 955 955 956 956 pop si … … 1030 1030 PSP_NoHideFeature: 1031 1031 ; Check, if we are supposed to ignore LVM altogether... 1032 test [CFG_IgnoreLVM], 11032 test byte ptr [CFG_IgnoreLVM], 1 1033 1033 jnz PSP_NoLVMReassignment 1034 1034 ; --------------------------------------------------------- LVM REASSIGNMENT … … 1056 1056 call MSHACK_ProcessPartTables 1057 1057 1058 test CFG_BootMenuActive, 0FFh1058 test byte ptr [CFG_BootMenuActive], 0FFh 1059 1059 jz PSP_NoMenuNoSound 1060 1060 … … 1065 1065 ; -------------------------------------------------- SPECIAL BOOT PROCESSING 1066 1066 ; Check here, if the Boot shall be done via resume to BIOS... 1067 mov al, b ptr [si+LocIPT_SystemID]1067 mov al, byte ptr [si+LocIPT_SystemID] 1068 1068 cmp al, 0FEh ; Via BIOS ? (aka resume BIOS boot sequence) 1069 1069 je PSP_ResumeBIOSbootSeq … … 1141 1141 is_harddisk: 1142 1142 1143 test CFG_DetectVIBR, 11143 test byte ptr [CFG_DetectVIBR], 1 1144 1144 jz PSP_NoVIBR 1145 1145 test byte ptr [si+LocIPT_Flags], Flags_VIBR_Detection … … 1166 1166 1167 1167 PSP_NoVIBR: 1168 test CFG_ProtectMBR, 11168 test byte ptr [CFG_ProtectMBR], 1 1169 1169 jz PSP_NoMBRprotect 1170 1170 ; -------------------------------------------------- INSTALLS MBR-PROTECTION
Note:
See TracChangeset
for help on using the changeset viewer.