Changeset 492 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc/BootVars.inc
- Timestamp:
- Dec 21, 2012, 1:01:55 AM (12 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/BootVars.inc
r473 r492 22 22 %define BOOTVARS_INC 23 23 24 ; Default drives 25 DEFAULT_FLOPPY_DRIVE_LETTER EQU 'A' 26 DEFAULT_HARD_DRIVE_LETTER EQU 'C' 27 24 28 ; Number of times to retry booting before accepting error 25 29 BOOT_READ_RETRY_TIMES EQU 3 … … 43 47 .clearToZeroFromThisPoint: 44 48 %ifdef MODULE_HOTKEYS 45 .hotkeyVars resb HOTKEYVARS_size49 .hotkeyVars resb HOTKEYVARS_size 46 50 %endif 47 51 … … 50 54 51 55 %ifdef MODULE_HOTKEYS 56 52 57 struc HOTKEYVARS 53 58 .wTimeToClose resb 2 ; Earliest system time when Hotkey Bar can be closed 54 .bScancode resb 1 ; Function hotkey scancode55 .bFlags resb 1 ; Must be just before .bHddLetter!56 59 .wHddAndFddLetters: 60 .bFddLetter resb 1 ; Floppy Drive letter hotkey (upper case) 57 61 .bHddLetter resb 1 ; Hard Drive letter hotkey (upper case) 58 .bFddLetter resb 1 ; Floppy Drive letter hotkey (upper case) 62 .bFlags resb 1 ; Must be just after .bHddLetter! (dependency in Hotkeybar.asm) 63 .bScancode resb 1 ; Function hotkey scancode, must be just after .bFlags! 59 64 endstruc 60 65 61 ; Bit defines for HOTKEYVARS.bFlags 66 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 67 %if HOTKEYVARS.bFddLetter+1 != HOTKEYVARS.bHddLetter || HOTKEYVARS.bHddLetter+1 != HOTKEYVARS.bFlags || HOTKEYVARS.bFlags+1 != HOTKEYVARS.bScancode 68 %error "HOTKEYVARS: bytes need to come in the order .bFddLetter, then .bHddLetter, then .bFlags, then .bScancode" 69 %endif 70 %endif 71 72 ; Bit defines for KEYBOARDVARS.bFlags 62 73 FLG_HOTKEY_HD_FIRST EQU (1<<0) ; First try to boot from HDD, then FDD 63 74 64 %endif ; MODULE_HOTKEY 65 66 75 %endif ; MODULE_HOTKEYS 67 76 68 77 struc DRVDETECTINFO
Note:
See TracChangeset
for help on using the changeset viewer.