Changeset 599 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs
- Timestamp:
- Jul 14, 2018, 1:21:16 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/BootVars.asm
r593 r599 45 45 add cx, BYTE HOTKEYVARS_size 46 46 call Memory_ZeroESDIwithSizeInCX 47 48 ; Store time when hotkeybar is displayed 49 ; (it will be displayed after initialization is complete) 50 call TimerTicks_ReadFromBdaToAX 51 mov [es:BOOTVARS.hotkeyVars+HOTKEYVARS.wTimeWhenDisplayed], ax 52 53 ; Initialize HOTKEYVARS by storing default drives to boot from 54 call BootVars_StoreDefaultDriveLettersToHotkeyVars 55 mov dl, [cs:ROMVARS.bBootDrv] 56 jmp HotkeyBar_StoreHotkeyToBootvarsForDriveNumberInDL 57 58 59 ;-------------------------------------------------------------------- 60 ; BootVars_StoreDefaultDriveLettersToHotkeyVars 61 ; Parameters: 62 ; ES: BDA Segment 63 ; Returns: 64 ; Nothing 65 ; Corrupts registers: 66 ; Nothing 67 ;-------------------------------------------------------------------- 68 BootVars_StoreDefaultDriveLettersToHotkeyVars: 69 call BootVars_GetLetterForFirstHardDriveToAX 70 mov ah, DEFAULT_FLOPPY_DRIVE_LETTER 71 xchg al, ah 72 mov [es:BOOTVARS.hotkeyVars+HOTKEYVARS.wFddAndHddLetters], ax 73 ret 74 47 jmp HotkeyBar_InitializeVariables 75 48 %endif ; MODULE_HOTKEYS 76 49
Note:
See TracChangeset
for help on using the changeset viewer.