Changeset 128 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs


Ignore:
Timestamp:
Mar 4, 2011, 1:47:17 PM (14 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes to the XTIDE Universal BIOS:

  • Size optimizations in various files.
Location:
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/CreateDPT.asm

    r99 r128  
    232232    ; Make sure that more drives can be accepted
    233233    mov     dl, [es:BDA.bHDCount]   ; Load number of hard disks
    234     test    dl, 80h                 ; Hard disks at maximum?
     234    test    dl, dl                  ; Hard disks at maximum?
    235235    stc                             ; Assume error
    236     jnz     SHORT .TooManyDrives    ;  If so, return
     236    js      SHORT .TooManyDrives    ;  If so, return
    237237
    238238    ; Store drive number to DPT
  • trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/RamVars.asm

    r116 r128  
    130130    cmp     ah, 08h         ; Read Disk Drive Parameters?
    131131    jne     SHORT RamVars_IsDriveHandledByThisBIOS
    132     test    dl, 80h         ; We dot not handle floppy drives
    133     jz      SHORT .FunctionIsNotHandledByOurBIOS
     132    test    dl, dl          ; We do not handle floppy drives
     133    jns     SHORT .FunctionIsNotHandledByOurBIOS
    134134ALIGN JUMP_ALIGN
    135135.FunctionIsHandledByOurBIOS:
Note: See TracChangeset for help on using the changeset viewer.