Changeset 155 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrint.asm


Ignore:
Timestamp:
May 1, 2011, 6:44:29 PM (13 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to XTIDE Universal BIOS:

  • AH=4h again uses VERIFY command (copy-pasting had changed it to WRITE).
  • Timeout should now work on all overflow situations.
  • Cleaned code a bit.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrint.asm

    r150 r155  
    304304
    305305    ; Get and push L-CHS size
    306     mov     [RAMVARS.wTimeoutCounter], dl       ; Store drive number
     306    mov     [RAMVARS.bTimeoutTicksLeft], dl     ; Store drive number
    307307    call    AH15h_GetSectorCountToDXAX
    308308    call    ConvertSectorCountInBXDXAXtoSizeAndPushForFormat
    309309
    310310    ; Get and push total LBA size
    311     mov     dl, [RAMVARS.wTimeoutCounter]       ; Restore drive number
     311    mov     dl, [RAMVARS.bTimeoutTicksLeft]     ; Restore drive number
    312312    call    BootInfo_GetTotalSectorCount
    313313    call    ConvertSectorCountInBXDXAXtoSizeAndPushForFormat
Note: See TracChangeset for help on using the changeset viewer.