Changeset 528 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs
- Timestamp:
- Mar 22, 2013, 5:43:54 PM (12 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/BootVars.asm
r526 r528 41 41 mov di, BOOTVARS.rgDrvDetectInfo ; We must not initialize anything before this! 42 42 xchg cx, ax 43 %ifndef MODULE_HOTKEYS 44 jmp Memory_ZeroESDIwithSizeInCX 43 45 44 % ifdef MODULE_HOTKEYS46 %else ; if MODULE_HOTKEYS 45 47 call Memory_ZeroESDIwithSizeInCX 46 48 47 49 ; Initialize HOTKEYVARS by storing default drives to boot from 50 call BootVars_StoreDefaultDriveLettersToHotkeyVars 51 mov dl, [cs:ROMVARS.bBootDrv] 52 jmp HotkeyBar_StoreHotkeyToBootvarsForDriveNumberInDL 53 54 55 ;-------------------------------------------------------------------- 56 ; BootVars_StoreDefaultDriveLettersToHotkeyVars 57 ; Parameters: 58 ; ES: BDA Segment 59 ; Returns: 60 ; Nothing 61 ; Corrupts registers: 62 ; Nothing 63 ;-------------------------------------------------------------------- 64 BootVars_StoreDefaultDriveLettersToHotkeyVars: 48 65 mov WORD [es:BOOTVARS.hotkeyVars+HOTKEYVARS.wFddAndHddLetters], DEFAULT_FLOPPY_DRIVE_LETTER | (DEFAULT_HARD_DRIVE_LETTER<<8) 49 mov dl, [cs:ROMVARS.bBootDrv] 50 call DriveXlate_ConvertDriveNumberFromDLtoDriveLetter 51 jmp HotkeyBar_StoreHotkeyToBootvarsForDriveLetterInDL 66 ret 52 67 53 %else54 jmp Memory_ZeroESDIwithSizeInCX55 68 %endif ; MODULE_HOTKEYS
Note:
See TracChangeset
for help on using the changeset viewer.