Changeset 593 in xtideuniversalbios for trunk/Assembly_Library/Inc/Dialog.inc


Ignore:
Timestamp:
Jun 30, 2018, 8:27:04 AM (6 years ago)
Author:
aitotat
Message:

Flashing now works again.
Hack to get Windows 95 to work properly (MODULE_WIN95_CMOS_HACK included for 386 builds by default).
Edited makefile to produce large 386 build.
Fixed recovery time for QDI Vision VLB-IDE controllers.
No more warnings with Nasm 2.13.xx and later.
File dialog now properly restores default drive when file selection is cancelled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Inc/Dialog.inc

    r54 r593  
    4646endstruc
    4747
     48
     49; Progress bar dialog
     50PROGRESS_COMPLETE_CHARACTER         EQU     BLOCK_FULL_FOREGROUND
     51PROGRESS_INCOMPLETE_CHARACTER       EQU     BLOCK_MOSTLY_BACKGROUND
     52
    4853struc PROGRESS_DIALOG_IO
    4954    .dialogInput                    resb    DIALOG_INPUT_size
     
    6772endstruc
    6873
     74
     75; File dialog
     76FILENAME_BUFFER_SIZE                EQU     14  ; 8+1+3+NULL+alignment
     77MAX_FILE_DIALOG_INFO_LINES          EQU     3
     78FLG_FILEDIALOG_DRIVES               EQU     (1<<0)  ; Allow changing drive
     79FLG_FILEDIALOG_DIRECTORY            EQU     (1<<1)  ; Select directory instead of file
     80FLG_FILEDIALOG_NEW                  EQU     (1<<2)  ; Allow creating new file or directory
     81
     82KEY_FILEDIALOG_CHANGE_DRIVE         EQU     3Ch     ; F2
     83KEY_FILEDIALOG_SELECT_DIRECTORY     EQU     3Dh     ; F3
     84KEY_FILEDIALOG_NEW_FILE_OR_DIR      EQU     3Eh     ; F4
     85
    6986struc FILE_DIALOG_IO
    7087    ; DIALOG_INPUT adjusted for File Dialog
     
    83100
    84101
    85 ; Progress bar dialog
    86 PROGRESS_COMPLETE_CHARACTER         EQU     BLOCK_FULL_FOREGROUND
    87 PROGRESS_INCOMPLETE_CHARACTER       EQU     BLOCK_MOSTLY_BACKGROUND
    88 
    89 ; File dialog
    90 FILENAME_BUFFER_SIZE                EQU     14  ; 8+1+3+NULL+alignment
    91 MAX_FILE_DIALOG_INFO_LINES          EQU     3
    92 FLG_FILEDIALOG_DRIVES               EQU     (1<<0)  ; Allow changing drive
    93 FLG_FILEDIALOG_DIRECTORY            EQU     (1<<1)  ; Select directory instead of file
    94 FLG_FILEDIALOG_NEW                  EQU     (1<<2)  ; Allow creating new file or directory
    95 
    96 KEY_FILEDIALOG_CHANGE_DRIVE         EQU     3Ch     ; F2
    97 KEY_FILEDIALOG_SELECT_DIRECTORY     EQU     3Dh     ; F3
    98 KEY_FILEDIALOG_NEW_FILE_OR_DIR      EQU     3Eh     ; F4
    99 
    100 
    101102%endif ; DIALOG_INC
Note: See TracChangeset for help on using the changeset viewer.