Changeset 593 in xtideuniversalbios for trunk/Assembly_Library/Inc
- Timestamp:
- Jun 30, 2018, 8:27:04 AM (6 years ago)
- Location:
- trunk/Assembly_Library/Inc
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Inc/AssemblyLibrary.inc
r256 r593 9 9 %include "BiosData.inc" 10 10 %include "BiosFunctions.inc" 11 %include "CMOS.inc" 11 12 %include "CgaSnow.inc" 12 13 %include "Debug.inc" 13 14 %include "Delay.inc" 14 15 %include "DosFunctions.inc" 16 %include "CMOS.inc" 15 17 %include "File.inc" 16 18 %include "Math.inc" … … 20 22 21 23 ; Library dependencies 22 %ifdef INCLUDE_MENU_DIALOGS 23 %include "Dialog.inc" 24 %define INCLUDE_MENU_LIBRARY 25 %define INCLUDE_FILE_LIBRARY 26 %endif 27 28 %ifdef INCLUDE_MENU_LIBRARY 24 %ifdef INCLUDE_MENU_LIBRARY or INCLUDE_MENU_DIALOGS ; To prevent warnings with Nasm 2.13.xx 29 25 %include "Menu.inc" 30 26 %include "MenuEvents.inc" 31 27 %define INCLUDE_KEYBOARD_LIBRARY 32 28 %define INCLUDE_TIME_LIBRARY 29 30 %ifdef INCLUDE_MENU_DIALOGS 31 %include "Dialog.inc" 32 %define INCLUDE_MENU_LIBRARY 33 %define INCLUDE_FILE_LIBRARY 34 %endif 33 35 %endif 34 36 -
trunk/Assembly_Library/Inc/BiosFunctions.inc
r592 r593 12 12 BIOS_BOOT_FAILURE_INTERRUPT_18h EQU 18h 13 13 BIOS_BOOT_LOADER_INTERRUPT_19h EQU 19h 14 BIOS_TIME_PCI_PNP_1Ah EQU 1Ah 14 15 BIOS_DISKETTE_INTERRUPT_40h EQU 40h 15 16 HD0_DPT_POINTER_41h EQU 41h … … 64 65 EVENT_WAIT EQU 86h 65 66 67 ; BIOS PCI 2.0+ functions 68 PCI_INSTALLATION_CHECK EQU 0B101h 69 66 70 67 71 %endif ; BIOS_FUNCTIONS_INC -
trunk/Assembly_Library/Inc/Dialog.inc
r54 r593 46 46 endstruc 47 47 48 49 ; Progress bar dialog 50 PROGRESS_COMPLETE_CHARACTER EQU BLOCK_FULL_FOREGROUND 51 PROGRESS_INCOMPLETE_CHARACTER EQU BLOCK_MOSTLY_BACKGROUND 52 48 53 struc PROGRESS_DIALOG_IO 49 54 .dialogInput resb DIALOG_INPUT_size … … 67 72 endstruc 68 73 74 75 ; File dialog 76 FILENAME_BUFFER_SIZE EQU 14 ; 8+1+3+NULL+alignment 77 MAX_FILE_DIALOG_INFO_LINES EQU 3 78 FLG_FILEDIALOG_DRIVES EQU (1<<0) ; Allow changing drive 79 FLG_FILEDIALOG_DIRECTORY EQU (1<<1) ; Select directory instead of file 80 FLG_FILEDIALOG_NEW EQU (1<<2) ; Allow creating new file or directory 81 82 KEY_FILEDIALOG_CHANGE_DRIVE EQU 3Ch ; F2 83 KEY_FILEDIALOG_SELECT_DIRECTORY EQU 3Dh ; F3 84 KEY_FILEDIALOG_NEW_FILE_OR_DIR EQU 3Eh ; F4 85 69 86 struc FILE_DIALOG_IO 70 87 ; DIALOG_INPUT adjusted for File Dialog … … 83 100 84 101 85 ; Progress bar dialog86 PROGRESS_COMPLETE_CHARACTER EQU BLOCK_FULL_FOREGROUND87 PROGRESS_INCOMPLETE_CHARACTER EQU BLOCK_MOSTLY_BACKGROUND88 89 ; File dialog90 FILENAME_BUFFER_SIZE EQU 14 ; 8+1+3+NULL+alignment91 MAX_FILE_DIALOG_INFO_LINES EQU 392 FLG_FILEDIALOG_DRIVES EQU (1<<0) ; Allow changing drive93 FLG_FILEDIALOG_DIRECTORY EQU (1<<1) ; Select directory instead of file94 FLG_FILEDIALOG_NEW EQU (1<<2) ; Allow creating new file or directory95 96 KEY_FILEDIALOG_CHANGE_DRIVE EQU 3Ch ; F297 KEY_FILEDIALOG_SELECT_DIRECTORY EQU 3Dh ; F398 KEY_FILEDIALOG_NEW_FILE_OR_DIR EQU 3Eh ; F499 100 101 102 %endif ; DIALOG_INC -
trunk/Assembly_Library/Inc/Macros.inc
r592 r593 124 124 125 125 126 ;-------------------------------------------------------------------- 127 ; Small delay between I/O port accessess if needed. 128 ; 129 ; IO_DELAY 130 ; Parameters: 131 ; Nothing 132 ; Returns: 133 ; Nothing 134 ; Corrupts registers: 135 ; Nothing 136 ;-------------------------------------------------------------------- 137 %macro IO_DELAY 0 138 jmp SHORT %%ClearPrefetchQueue 139 %%ClearPrefetchQueue: 140 %endmacro 141 142 126 143 %endif ; MACROS_INC
Note:
See TracChangeset
for help on using the changeset viewer.