Changeset 395 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Menus/HotkeyBar.asm
- Timestamp:
- Apr 18, 2012, 6:04:48 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Menus/HotkeyBar.asm
r392 r395 305 305 306 306 ;-------------------------------------------------------------------- 307 ; HotkeyBar_StoreHotkeyToBootvarsForDriveLetterInDL 308 ; Parameters: 309 ; DS: RAMVARS segment 310 ; ES: BDA segment (zero) 311 ; DL: Drive Letter ('A'...) 312 ; Returns: 313 ; Nothing 314 ; Corrupts registers: 315 ; AX, CX, DI 316 ;-------------------------------------------------------------------- 317 HotkeyBar_StoreHotkeyToBootvarsForDriveLetterInDL: 318 eMOVZX ax, dl 319 call Char_ChangeCaseInAL ; Upper case drive letter to lower case keystroke 320 jmp SHORT HotkeyBar_StoreHotkeyToBootvarsIfValidKeystrokeInAX 321 322 323 ;-------------------------------------------------------------------- 307 324 ; ScanHotkeysFromKeyBufferAndStoreToBootvars 308 325 ; Parameters: … … 399 416 test BYTE [es:BOOTVARS.hotkeyVars+HOTKEYVARS.bFlags], FLG_HOTKEY_HD_FIRST 400 417 eCMOVZ dl, dh 401 ; Fall to ConvertDriveLetterInDLtoDriveNumber402 403 404 ;-------------------------------------------------------------------- 405 ; ConvertDriveLetterInDLtoDriveNumber418 ; Fall to HotkeyBar_ConvertDriveLetterInDLtoDriveNumber 419 420 421 ;-------------------------------------------------------------------- 422 ; HotkeyBar_ConvertDriveLetterInDLtoDriveNumber 406 423 ; Parameters: 407 424 ; DS: RAMVARS segment … … 412 429 ; AX, DH 413 430 ;-------------------------------------------------------------------- 414 ConvertDriveLetterInDLtoDriveNumber:431 HotkeyBar_ConvertDriveLetterInDLtoDriveNumber: 415 432 call HotkeyBar_GetLetterForFirstHardDriveToAX 416 433 cmp dl, al
Note:
See TracChangeset
for help on using the changeset viewer.