Changeset 46 for trunk/BOOTCODE/REGULAR/DRIVEIO.ASM
- Timestamp:
- Apr 12, 2014, 8:23:32 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BOOTCODE/REGULAR/DRIVEIO.ASM
r43 r46 311 311 312 312 ;or bx,ax 313 test [ExtendedAbsPosSet],1313 test byte ptr [ExtendedAbsPosSet],1 314 314 jz pri 315 315 … … 561 561 ; Keeps DS:SI for caller, sets carry if valid LVM sector encountered 562 562 DriveIO_LoadLVMSector Proc Near Uses ax bx cx dx 563 test [CFG_IgnoreLVM], 1 ; We are supposed to ignore LVM, so563 test byte ptr [CFG_IgnoreLVM], 1 ; We are supposed to ignore LVM, so 564 564 jnz DIOLLVMS_NoLVMSector ; don't load but declare as bad! 565 565 mov ax, wptr cs:[CurPartition_Location+0] … … 605 605 ; Keeps DS:SI for caller, saves at anytime w/o checks (!) 606 606 DriveIO_SaveLVMSector Proc Near Uses ax bx cx dx 607 test [CFG_IgnoreLVM], 1 ; We are supposed to ignore LVM, so607 test byte ptr [CFG_IgnoreLVM], 1 ; We are supposed to ignore LVM, so 608 608 jnz DIOSLVMS_SevereError ; don't save at anytime (security!) 609 609 mov ax, wptr cs:[CurPartition_Location+0] … … 633 633 ; so users will notice that something is bad with their partition table(s) 634 634 DriveIO_GotLoadError Proc Near 635 test cs:CurIO_Scanning, 1 ; Must be CS:, cause DS!=CS maybe here635 test byte ptr cs:[CurIO_Scanning], 1 ; Must be CS:, cause DS!=CS maybe here 636 636 jnz InScanMode 637 637 jmp MBR_LoadError … … 671 671 jb DIOLS_UseNormal 672 672 673 test cs:[CurIO_UseExtension], 1673 test byte ptr cs:[CurIO_UseExtension], 1 674 674 jz DIOLS_UseNormal 675 675 ; Are we forced do use LBA via Setting? … … 794 794 ; ######################################################################### 795 795 DriveIO_SaveSector Proc Near Uses ax bx cx ds si es di 796 test cs:[CurIO_UseExtension], 1796 test byte ptr cs:[CurIO_UseExtension], 1 797 797 jz DIOSS_UseNormal 798 798 ; Are we forced do use LBA via Setting? 799 test cs:[CFG_ForceLBAUsage], 1799 test byte ptr cs:[CFG_ForceLBAUsage], 1 800 800 jnz DIOSS_UseExtension 801 801 ; Is the drive not a harddrive? … … 1230 1230 pop bx 1231 1231 1232 mov [CurIO_UseExtension],11232 mov byte ptr [CurIO_UseExtension],1 1233 1233 1234 1234 popf
Note:
See TracChangeset
for help on using the changeset viewer.