Changeset 567 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Menus/BootMenu
- Timestamp:
- May 26, 2014, 1:25:15 PM (11 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Menus/BootMenu
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Menus/BootMenu/BootMenu.asm
r526 r567 55 55 ; Returns: 56 56 ; DX: Drive number to be used for booting 57 ; CF:Set: There is a selected menu item, DL is valid58 ; 57 ; CF: Set: There is a selected menu item, DL is valid 58 ; Clear: The item selected is Rom Boot, DL is not valid 59 59 ; Corrupts registers: 60 60 ; AX, BX -
trunk/XTIDE_Universal_BIOS/Src/Menus/BootMenu/BootMenuEvent.asm
r562 r567 66 66 ret 67 67 68 MENUEVENT_InitializeMenuinitFromDSSI equ (EventInitializeMenuinitFromSSBP- FirstEvent)69 MENUEVENT_ExitMenu equ (BootMenuEvent_Completed- FirstEvent)70 MENUEVENT_ItemHighlightedFromCX equ (EventItemHighlightedFromCX- FirstEvent)71 MENUEVENT_KeyStrokeInAX equ (EventKeyStrokeInAX- FirstEvent)72 MENUEVENT_ItemSelectedFromCX equ (EventItemSelectedFromCX- FirstEvent)73 MENUEVENT_RefreshTitle equ (BootMenuPrint_TitleStrings- FirstEvent)74 MENUEVENT_RefreshInformation equ (BootMenuPrint_RefreshInformation- FirstEvent)75 MENUEVENT_RefreshItemFromCX equ (BootMenuPrint_RefreshItem- FirstEvent)68 MENUEVENT_InitializeMenuinitFromDSSI equ (EventInitializeMenuinitFromSSBP - FirstEvent) 69 MENUEVENT_ExitMenu equ (BootMenuEvent_Completed - FirstEvent) 70 MENUEVENT_ItemHighlightedFromCX equ (EventItemHighlightedFromCX - FirstEvent) 71 MENUEVENT_KeyStrokeInAX equ (EventKeyStrokeInAX - FirstEvent) 72 MENUEVENT_ItemSelectedFromCX equ (EventItemSelectedFromCX - FirstEvent) 73 MENUEVENT_RefreshTitle equ (BootMenuPrint_TitleStrings - FirstEvent) 74 MENUEVENT_RefreshInformation equ (BootMenuPrint_RefreshInformation - FirstEvent) 75 MENUEVENT_RefreshItemFromCX equ (BootMenuPrint_RefreshItem - FirstEvent) 76 76 ; 77 77 ; Note that there is no entry for MENUEVENT_IdleProcessing. If MENUEVENT_IDLEPROCESSING_ENABLE is not %defined, … … 95 95 dw EventNotHandled ; MENUEVENT.IdleProcessing 96 96 dw EventItemHighlightedFromCX ; MENUEVENT.ItemHighlightedFromCX 97 97 98 98 dw EventItemSelectedFromCX ; MENUEVENT.ItemSelectedFromCX 99 99 dw EventKeyStrokeInAX ; MENUEVENT.KeyStrokeInAX -
trunk/XTIDE_Universal_BIOS/Src/Menus/BootMenu/BootMenuPrint.asm
r526 r567 125 125 .around: 126 126 127 mov ax, g_szFddSizeOr 127 mov ax, g_szFddSizeOr ; .PrintXTFloppyType 128 128 test bl, bl ; Two possibilities? (FLOPPY_TYPE_525_OR_35_DD) 129 129 jz SHORT .PushAXAndOutput 130 130 131 mov al, (g_szFddUnknown - $$) & 0xff 131 mov al, (g_szFddUnknown - $$) & 0xff ; .PrintUnknownFloppyType 132 132 cmp bl, FLOPPY_TYPE_35_ED 133 133 ja SHORT .PushAXAndOutput … … 146 146 ; Floppy Drive Types: 147 147 ; 148 ; 149 ; 1 FLOPPY_TYPE_525_DD5 1/4 360K150 ; 2 FLOPPY_TYPE_525_HD5 1/4 1.2M151 ; 3 FLOPPY_TYPE_35_DD3 1/2 720K152 ; 4 FLOPPY_TYPE_35_HD3 1/2 1.44M153 ; 5 3.5" ED on some BIOSes3 1/2 2.88M154 ; 155 ; 148 ; 0 Handled above 149 ; 1 FLOPPY_TYPE_525_DD 5 1/4 360K 150 ; 2 FLOPPY_TYPE_525_HD 5 1/4 1.2M 151 ; 3 FLOPPY_TYPE_35_DD 3 1/2 720K 152 ; 4 FLOPPY_TYPE_35_HD 3 1/2 1.44M 153 ; 5 3.5" ED on some BIOSes 3 1/2 2.88M 154 ; 6 FLOPPY_TYPE_35_ED 3 1/2 2.88M 155 ; >6 Unknown, handled above 156 156 ; 157 157 ;-------------------------------------------------------------------- … … 169 169 xor bh, bh 170 170 mov al,FloppyTypes.rgbCapacityMultiplier 171 mul BYTE [cs:bx+FloppyTypes.rgbCapacity - 1] 171 mul BYTE [cs:bx+FloppyTypes.rgbCapacity - 1] ; -1 since 0 is handled above and not in the table 172 172 173 173 .PushAXAndOutput:
Note:
See TracChangeset
for help on using the changeset viewer.