Changeset 50 for trunk/BOOTCODE
- Timestamp:
- Apr 13, 2014, 1:31:04 PM (12 years ago)
- Location:
- trunk/BOOTCODE
- Files:
- 
      - 11 edited
 
 - 
          
  AIR-BOOT.ASM (modified) (4 diffs)
- 
          
  AIR-BOOT.HIS (modified) (1 diff)
- 
          
  REGULAR/DEBUG.ASM (modified) (1 diff)
- 
          
  REGULAR/DRIVEIO.ASM (modified) (3 diffs)
- 
          
  REGULAR/OTHER.ASM (modified) (2 diffs)
- 
          
  REGULAR/PARTMAIN.ASM (modified) (2 diffs)
- 
          
  REGULAR/PARTSCAN.ASM (modified) (2 diffs)
- 
          
  REGULAR/STD_TEXT.ASM (modified) (1 diff)
- 
          
  SETUP/MENUS.ASM (modified) (1 diff)
- 
          
  SPECIAL/LVM.ASM (modified) (2 diffs)
- 
          
  VERSION.INC (modified) (1 diff)
 
Legend:
- Unmodified
- Added
- Removed
- 
      trunk/BOOTCODE/AIR-BOOT.ASMr49 r50 864 864 865 865 IFDEF AUX_DEBUG 866 call DEBUG_DumpIPT866 ;~ call DEBUG_DumpIPT 867 867 ;~ call DEBUG_DumpPartitionPointers 868 call DEBUG_DumpPartitionXref868 ;~ call DEBUG_DumpPartitionXref 869 869 ;~ call DEBUG_DumpNewPartTable 870 ;~ call DEBUG_DumpDriveLetters 870 871 ENDIF 871 872 … … 899 900 900 901 IFDEF AUX_DEBUG 901 call DEBUG_DumpIPT902 ;~ call DEBUG_DumpIPT 902 903 ;~ call DEBUG_DumpPartitionPointers 903 call DEBUG_DumpPartitionXref904 ;~ call DEBUG_DumpPartitionXref 904 905 ;~ call DEBUG_DumpNewPartTable 905 906 ENDIF … … 940 941 941 942 IFDEF AUX_DEBUG 942 call DEBUG_DumpIPT943 ;~ call DEBUG_DumpIPT 943 944 ;~ call DEBUG_DumpPartitionPointers 944 call DEBUG_DumpPartitionXref945 ;~ call DEBUG_DumpPartitionXref 945 946 ;~ call DEBUG_DumpNewPartTable 946 947 ENDIF … … 1144 1145 ;~ call DEBUG_DumpIPT 1145 1146 ;~ call DEBUG_DumpPartitionPointers 1146 call DEBUG_DumpPartitionXref1147 ;~ call DEBUG_DumpPartitionXref 1147 1148 ;~ call DEBUG_DumpNewPartTable 1148 1149 ENDIF 
- 
      trunk/BOOTCODE/AIR-BOOT.HISr49 r50 27 27 ; v1.0.8-rc3-bld201205nn 28 28 ; ---------------------- 29 ; # Removed Force LBA Usage from Setup # 30 ; When AiR-BOOT is installed on an USB-stick, there is a possibility that 31 ; the CHS-geometry varies between different machines where the stick is 32 ; booted. This would invalidate any CHS-values that were stored in the IPT. 33 ; To prevent more nasty things like below from happening, LBA-addressing 34 ; is now always used. 35 ; 36 ;!## Fixed a very very nasty bug that can destroy the MBR on multiple disks ##! 37 ; When Force BIOS-LBA usage is disabled (the default is enabled), and the 38 ; the driveletter feature is being set, and valid LVM information is present, 39 ; then the MBR of the disk containing the partition of which the driveletter 40 ; is changed will be overwritten with the LVM sector ! 41 ; In addition, if the driveletter was already in use by another partition 42 ; on another disk, the MBR of that disk will be overwritten too !! 43 ; 29 44 ; # Fixed a nasty bug when eCS phase1 is active # 30 45 ; When creating a partition in a free space between partitions for 
- 
      trunk/BOOTCODE/REGULAR/DEBUG.ASMr49 r50 235 235 DEBUG_DumpPartitionXref EndP 236 236 237 238 239 DEBUG_DumpDriveLetters Proc 240 pushf 241 pusha 242 243 call AuxIO_TeletypeNL 244 245 mov si,offset [DriveLetters] 246 mov cx,2 247 248 DEBUG_DumpDriveLetters_next: 249 call AuxIO_DumpParagraph 250 add si,16 251 call AuxIO_TeletypeNL 252 loop DEBUG_DumpDriveLetters_next 253 254 popa 255 popf 256 ret 257 DEBUG_DumpDriveLetters EndP 258 259 260 DEBUG_DumpRegisters Proc 261 pushf 262 pusha 263 264 call AuxIO_TeletypeHexWord 265 call AuxIO_TeletypeNL 266 267 mov ax,bx 268 call AuxIO_TeletypeHexWord 269 call AuxIO_TeletypeNL 270 271 mov ax,cx 272 call AuxIO_TeletypeHexWord 273 call AuxIO_TeletypeNL 274 275 mov ax,dx 276 call AuxIO_TeletypeHexWord 277 call AuxIO_TeletypeNL 278 279 mov ax,si 280 call AuxIO_TeletypeHexWord 281 call AuxIO_TeletypeNL 282 283 mov ax,di 284 call AuxIO_TeletypeHexWord 285 call AuxIO_TeletypeNL 286 287 mov ax,ds 288 call AuxIO_TeletypeHexWord 289 call AuxIO_TeletypeNL 290 291 mov ax,es 292 call AuxIO_TeletypeHexWord 293 call AuxIO_TeletypeNL 294 295 call AuxIO_TeletypeNL 296 297 popa 298 popf 299 ret 300 DEBUG_DumpRegisters EndP 301 237 302 ; 238 303 ; Dump information before the menu is displayed. 
- 
      trunk/BOOTCODE/REGULAR/DRIVEIO.ASMr49 r50 607 607 call LVM_CheckSectorSignature 608 608 jnc DIOSLVMS_SevereError ; LVM Signature must be there 609 610 IFDEF AUX_DEBUG 611 ;~ call DEBUG_DumpRegisters 612 ENDIF 613 609 614 call DriveIO_LVMAdjustToInfoSector 615 616 IFDEF AUX_DEBUG 617 ;~ call DEBUG_DumpRegisters 618 ENDIF 619 610 620 mov si, offset LVMSector 611 621 call DriveIO_SaveSector … … 788 798 ; ######################################################################### 789 799 DriveIO_SaveSector Proc Near Uses ax bx cx ds si es di 800 801 IFDEF AUX_DEBUG 802 call DEBUG_DumpRegisters 803 call AuxIO_DumpSector 804 call AuxIO_TeletypeNL 805 ENDIF 806 790 807 test byte ptr cs:[CurIO_UseExtension], 1 791 808 jz DIOSS_UseNormal 792 809 ; Are we forced do use LBA via Setting? 793 test byte ptr cs:[CFG_ForceLBAUsage], 1 794 jnz DIOSS_UseExtension 810 ; Always use INT13X on v1.0.8. 811 ;~ test byte ptr cs:[CFG_ForceLBAUsage], 1 812 ;~ jnz DIOSS_UseExtension 813 jmp DIOSS_UseExtension 795 814 ; Is the drive not a harddrive? 796 815 cmp dl, 80h … … 932 951 933 952 IFDEF AUX_DEBUG 934 ; Dump the value935 ;call AuxIO_TeletypeHexByte936 ;call AuxIO_TeletypeNL953 ; Dump the value 954 ;~ call AuxIO_TeletypeHexByte 955 ;~ call AuxIO_TeletypeNL 937 956 ENDIF 938 957 
- 
      trunk/BOOTCODE/REGULAR/OTHER.ASMr46 r50 133 133 call MBR_TeletypeNL 134 134 135 136 ; This sets [CurIO_UseExtension] flag 137 call PRECRAP_CheckFor13extensions 138 mov al,[CurIO_UseExtension] 139 test al,al 140 jnz INT13X_Present 141 142 ; 143 ; Change this to a popup. 144 ; 145 INT13X_Missing db '!! NO INT13X !!',0 146 mov si, offset INT13X_Missing 147 call MBR_Teletype 148 jmp MBR_HaltSystem 149 150 INT13X_Present: 135 151 xor cx,cx 136 152 PRECRAP_Main_next_disk: … … 290 306 291 307 292 ; This sets [CurIO_UseExtension] flag.293 call PRECRAP_CheckFor13extensions294 308 295 309 IFNDEF ReleaseCode 
- 
      trunk/BOOTCODE/REGULAR/PARTMAIN.ASMr49 r50 1024 1024 1025 1025 test byte ptr [CFG_ForceLBAUsage], 1 1026 jnz PSP_ForceI13X 1026 ;~ jnz PSP_ForceI13X 1027 jmp PSP_ForceI13X 1028 1027 1029 ; LBA-boundary at 16450560 (FB0400h) (16320x16x63) 1028 1030 cmp bx, 00FBh … … 1760 1762 call DEBUG_Dump2 1761 1763 ;~ call DEBUG_DumpBSSSectors 1764 ;~ call DEBUG_DumpDriveLetters 1762 1765 ENDIF 1763 1766 
- 
      trunk/BOOTCODE/REGULAR/PARTSCAN.ASMr49 r50 49 49 50 50 IFDEF AUX_DEBUG 51 pusha52 call DEBUG_DumpHidePartTables53 popa51 ;~ pusha 52 ;~ call DEBUG_DumpHidePartTables 53 ;~ popa 54 54 ENDIF 55 55 ; Use X-Reference to sync NewPartitionTable with Hide-Config … … 57 57 58 58 IFDEF AUX_DEBUG 59 pusha60 call DEBUG_DumpHidePartTables61 popa59 ;~ pusha 60 ;~ call DEBUG_DumpHidePartTables 61 ;~ popa 62 62 ENDIF 63 63 
- 
      trunk/BOOTCODE/REGULAR/STD_TEXT.ASMr49 r50 55 55 db BLDLVL_MINOR_VERSION,' - (c) ' 56 56 db BLDLVL_YEAR 57 db ' M. Kiewitz <<Internal Release 3 b>> (bld: '57 db ' M. Kiewitz <<Internal Release 3e>> (bld: ' 58 58 ;~ db ' M. Kiewitz <<Release Candidate 2>> (bld: ' 59 59 db BLDLVL_YEAR 
- 
      trunk/BOOTCODE/SETUP/MENUS.ASMr40 r50 213 213 dw offset TXT_SETUP_IgnoreLVM, offset TXT_SETUPHELP_IgnoreLVM 214 214 dw 6 dup (0) 215 dw offset SETUPMAGIC_EnableDisable, offset CFG_ForceLBAUsage ; Rousseau: LBA 216 dw offset TXT_SETUP_ForceLBAUsage, offset TXT_SETUPHELP_ForceLBAUsage 217 dw 6 dup (0) 215 216 ;~ dw offset SETUPMAGIC_EnableDisable, offset CFG_ForceLBAUsage 217 ;~ dw offset TXT_SETUP_ForceLBAUsage, offset TXT_SETUPHELP_ForceLBAUsage 218 ;~ dw 6 dup (0) 219 220 dw 0, 0 ; added for removal of force-lba 221 dw 0, 0 ; added for removal of force-lba 222 218 223 dw offset SETUPMAGIC_EnableDisable, offset CFG_ExtPartitionMShack 219 224 dw offset TXT_SETUP_ExtPartMShack, offset TXT_SETUPHELP_ExtPartMShack 220 225 dw 6 dup (0) 226 227 228 221 229 dw 0, 0 222 230 dw 0, 0 
- 
      trunk/BOOTCODE/SPECIAL/LVM.ASMr46 r50 324 324 or cl, cl 325 325 jz LVMDLR_SkipRemove 326 326 327 LVMDLR_RemoveLoop: 327 328 cmp bptr [PartitionVolumeLetters+bx], ch … … 349 350 dec cl 350 351 jnz LVMDLR_RemoveLoop 352 351 353 LVMDLR_SkipRemove: 352 354 ; Set CurPartition_Location information of destination partition 
- 
      trunk/BOOTCODE/VERSION.INCr49 r50 17 17 AB_YEAR EQU 2012h 18 18 AB_MONTH EQU 05h 19 AB_DAY EQU 1 3h19 AB_DAY EQU 14h 20 20 21 21 ; The Hours, Minutes and Seconds, again in BCD for easy manipulation. 22 AB_HOURS EQU 00h23 AB_MINUTES EQU 2 5h22 AB_HOURS EQU 22h 23 AB_MINUTES EQU 21h 24 24 AB_SECONDS EQU 00h 25 25 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
