Changeset 601 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu/Dialog/DialogFile.asm


Ignore:
Timestamp:
Feb 14, 2019, 7:38:08 PM (5 years ago)
Author:
krille_n_
Message:

Changes:

  • Building the BIOS now works again.
  • Added a new IDE device type/transfer mode for use only with XT-IDE rev 2+ (or Chuck(G)-modded rev 1) cards installed in any of the following machines: Olivetti M24, AT&T PC6300, Xerox 6060 and Logabax Persona 1600. This new transfer mode is slightly faster than the regular XT-IDE rev 1 device type and requires that the card is configured for High Speed mode (or, in case of the card being a rev 1 card, has the Chuck(G) mod done). The new device type is called "XTIDE rev 2 (Olivetti M24)" in XTIDECFG.
  • Made some minor improvements to the library code that handles 'Drive Not Ready' errors in XTIDECFG.
  • Optimizations.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Src/Menu/Dialog/DialogFile.asm

    r596 r601  
    746746    mov     ax, FIND_FIRST_MATCHING_FILE<<8
    747747    int     DOS_INTERRUPT_21h
     748    ; Returns ERR_DOS_NO_MORE_FILES only when the root directory is the current directory (at least under Windows XP).
     749    cmp     al, ERR_DOS_PATH_NOT_FOUND
    748750    pop     ax
    749751    pop     ds
     
    752754
    753755    xchg    ah, [cs:bLastCriticalError]         ; Zero bLastCriticalError and fetch error code to AH
     756    je      SHORT .DriveIsNotReady              ; A removable drive with no media (or possibly a drive that has not been formatted?)
    754757    cmp     ah, ERR_DOS_DRIVE_NOT_READY
    755758    jne     SHORT .DriveIsReady
    756 
     759.DriveIsNotReady:
    757760    mov     bx, g_szDlgDriveNotReady
    758761    call    Dialogs_DisplayYesNoResponseDialogWithTitleStringInBX
Note: See TracChangeset for help on using the changeset viewer.