Changeset 410 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Menus
- Timestamp:
- Apr 26, 2012, 1:46:54 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Menus/HotkeyBar.asm
r399 r410 209 209 ; CF: Set if selected hotkey 210 210 ; Cleared if unselected hotkey 211 ; ES: BDA segment (zero) 211 212 ; Returns: 212 213 ; DX: Description Attribute … … 234 235 235 236 GetSelectedHotkeyDescriptionAttributeToDX: 236 mov d l,MONO_REVERSE_BLINK237 ret237 mov dx, (COLOR_ATTRIBUTE(COLOR_YELLOW, COLOR_CYAN) << 8) | MONO_REVERSE_BLINK 238 jmp SHORT SelectAttributeFromDHorDLbasedOnVideoMode 238 239 239 240 GetNonSelectedHotkeyDescriptionAttributeToDX: 240 mov dl, MONO_REVERSE 241 ret 241 mov dx, (COLOR_ATTRIBUTE(COLOR_BLACK, COLOR_CYAN) << 8) | MONO_REVERSE 242 SelectAttributeFromDHorDLbasedOnVideoMode: 243 mov al, [es:BDA.bVidMode] 244 shr al, 1 245 jnc SHORT .AttributeLoadedToDL ; Black & White modes 246 shr al, 1 247 jnz SHORT .AttributeLoadedToDL ; MDA 248 mov dl, dh 249 .AttributeLoadedToDL: 250 ret 251 242 252 %endif 243 253
Note:
See TracChangeset
for help on using the changeset viewer.