Changeset 500 in xtideuniversalbios
- Timestamp:
- Jan 23, 2013, 7:44:48 PM (12 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/BootVars.inc
r493 r500 57 57 struc HOTKEYVARS 58 58 .wTimeToClose resb 2 ; Earliest system time when Hotkey Bar can be closed 59 .w HddAndFddLetters:59 .wFddAndHddLetters: 60 60 .bFddLetter resb 1 ; Floppy Drive letter hotkey (upper case) 61 61 .bHddLetter resb 1 ; Hard Drive letter hotkey (upper case) -
trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc
r496 r500 134 134 135 135 DEVICE_ATA_TERTIARY_PORT EQU 1E8h 136 DEVICE_ATA_TERTIARY_PORTCTRL EQU ( DEVICE_ATA_TERTIARY_PORT + STANDARD_CONTROL_BLOCK_OFFSET)136 DEVICE_ATA_TERTIARY_PORTCTRL EQU ((DEVICE_ATA_TERTIARY_PORT + STANDARD_CONTROL_BLOCK_OFFSET) & ~0Fh) ; 3E0h 137 137 138 138 DEVICE_ATA_QUATERNARY_PORT EQU 168h 139 DEVICE_ATA_QUATERNARY_PORTCTRL EQU ( DEVICE_ATA_QUATERNARY_PORT + STANDARD_CONTROL_BLOCK_OFFSET)139 DEVICE_ATA_QUATERNARY_PORTCTRL EQU ((DEVICE_ATA_QUATERNARY_PORT + STANDARD_CONTROL_BLOCK_OFFSET) & ~0Fh) ; 360h 140 140 141 141 -
trunk/XTIDE_Universal_BIOS/Src/Menus/HotkeyBar.asm
r492 r500 66 66 ;-------------------------------------------------------------------- 67 67 .PrintFloppyDriveHotkeys: 68 mov cx, [es:BOOTVARS.hotkeyVars+HOTKEYVARS.wHddAndFddLetters]69 70 68 call FloppyDrive_GetCountToAX 71 69 test ax, ax ; Any Floppy Drives? … … 73 71 74 72 mov ax, (ANGLE_QUOTE_RIGHT << 8) | DEFAULT_FLOPPY_DRIVE_LETTER 73 mov cl, [es:BOOTVARS.hotkeyVars+HOTKEYVARS.bFddLetter] 75 74 mov di, g_szFDD 76 75 call FormatDriveHotkeyString … … 91 90 call DriveXlate_GetLetterForFirstHardDriveToAX 92 91 mov ah, ANGLE_QUOTE_RIGHT 93 mov cl, ch92 mov cl, [es:BOOTVARS.hotkeyVars+HOTKEYVARS.bHddLetter] 94 93 mov di, g_szHDD 95 94 call FormatDriveHotkeyString … … 229 228 ;; fall through to PushHotkeyParamsAndFormat 230 229 231 %else ; MODULE_BOOT_MENU - No boot menu so use simpler attributes 230 231 %else ; if no MODULE_BOOT_MENU - No boot menu so use simpler attributes 232 232 233 233 mov dx, (COLOR_ATTRIBUTE(COLOR_YELLOW, COLOR_CYAN) << 8) | MONO_REVERSE_BLINK … … 238 238 239 239 SelectAttributeFromDHorDLbasedOnVideoMode: 240 mov al, [es:BDA.bVidMode]241 shr al, 1240 mov ch, [es:BDA.bVidMode] ; We only need to preserve CL 241 shr ch, 1 242 242 jnc SHORT .AttributeLoadedToDL ; Black & White modes 243 shr al, 1243 shr ch, 1 244 244 jnz SHORT .AttributeLoadedToDL ; MDA 245 245 mov dl, dh … … 253 253 ; PushHotkeyParamsAndFormat 254 254 ; Parameters: 255 ; BL: First character256 ; BH: Second character255 ; AL: First character 256 ; AH: Second character 257 257 ; DX: Description Attribute 258 258 ; CX: Description string parameter … … 406 406 ;-------------------------------------------------------------------- 407 407 HotkeyBar_GetBootDriveNumbersToDX: 408 mov dx, [es:BOOTVARS.hotkeyVars+HOTKEYVARS.w HddAndFddLetters]408 mov dx, [es:BOOTVARS.hotkeyVars+HOTKEYVARS.wFddAndHddLetters] 409 409 test BYTE [es:BOOTVARS.hotkeyVars+HOTKEYVARS.bFlags], FLG_HOTKEY_HD_FIRST 410 410 jnz .noflip -
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/BootVars.asm
r493 r500 64 64 ;-------------------------------------------------------------------- 65 65 BootVars_StoreHotkeyForDriveNumberInDL: 66 mov WORD [es:BOOTVARS.hotkeyVars+HOTKEYVARS.w HddAndFddLetters], DEFAULT_FLOPPY_DRIVE_LETTER | (DEFAULT_HARD_DRIVE_LETTER<<8)66 mov WORD [es:BOOTVARS.hotkeyVars+HOTKEYVARS.wFddAndHddLetters], DEFAULT_FLOPPY_DRIVE_LETTER | (DEFAULT_HARD_DRIVE_LETTER<<8) 67 67 call DriveXlate_ConvertDriveNumberFromDLtoDriveLetter 68 68 jmp HotkeyBar_StoreHotkeyToBootvarsForDriveLetterInDL
Note:
See TracChangeset
for help on using the changeset viewer.