Changeset 601 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu/Dialog
- Timestamp:
- Feb 14, 2019, 7:38:08 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Menu/Dialog/DialogFile.asm
r596 r601 746 746 mov ax, FIND_FIRST_MATCHING_FILE<<8 747 747 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 748 750 pop ax 749 751 pop ds … … 752 754 753 755 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?) 754 757 cmp ah, ERR_DOS_DRIVE_NOT_READY 755 758 jne SHORT .DriveIsReady 756 759 .DriveIsNotReady: 757 760 mov bx, g_szDlgDriveNotReady 758 761 call Dialogs_DisplayYesNoResponseDialogWithTitleStringInBX
Note:
See TracChangeset
for help on using the changeset viewer.