Changeset 473 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Menus
- Timestamp:
- Oct 10, 2012, 6:22:23 PM (12 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Menus/BootMenu/BootMenuPrintCfg.asm
r422 r473 88 88 89 89 ;-------------------------------------------------------------------- 90 ; Push BusType90 ; PushDeviceType 91 91 ; Parameters: 92 92 ; DS:DI: Ptr to DPT … … 97 97 ; AX, DX 98 98 ;-------------------------------------------------------------------- 99 .PushBusType: 100 mov al,g_szBusTypeValues_Displacement 101 mul BYTE [cs:bx+IDEVARS.bDevice] 99 .PushDeviceType: 100 mov al,g_szDeviceTypeValues_Displacement 101 %ifdef MODULE_SERIAL 102 mov ah, [cs:bx+IDEVARS.bDevice] 103 test BYTE [di+DPT.bFlagsHigh], FLGH_DPT_SERIAL_DEVICE 104 eCMOVZ ah, [di+DPT_ATA.bDevice] ; DPT_ATA contains up to date device information for IDE drives 105 mul ah 106 %else 107 mul BYTE [di+DPT_ATA.bDevice] 108 %endif 102 109 103 110 shr ax,1 ; divide by 2 since IDEVARS.bDevice is multiplied by 2 104 111 105 add ax, g_szBusTypeValues112 add ax, g_szDeviceTypeValues 106 113 push ax 107 114
Note:
See TracChangeset
for help on using the changeset viewer.