Changeset 294 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrintCfg.asm
- Timestamp:
- Mar 4, 2012, 1:35:10 AM (13 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrintCfg.asm
r258 r294 24 24 ;-------------------------------------------------------------------- 25 25 .BootMenuPrintCfg_ForOurDrive: 26 eMOVZX ax, BYTE[di+DPT.bIdevarsOffset]26 eMOVZX ax, [di+DPT.bIdevarsOffset] 27 27 xchg bx, ax ; CS:BX now points to IDEVARS 28 28 ; Fall to .PushAndFormatCfgString … … 40 40 .PushAddressingMode: 41 41 AccessDPT_GetUnshiftedAddressModeToALZF 42 ;; 43 ;; This multiply both shifts the addressing mode bits down to low order bits, and 42 ;; 43 ;; This multiply both shifts the addressing mode bits down to low order bits, and 44 44 ;; at the same time multiplies by the size of the string displacement. The result is in AH, 45 45 ;; with AL clear, and so we exchange AL and AH after the multiply for the final result. 46 ;; 46 ;; 47 47 mov cl,(1<<(8-ADDRESSING_MODE_FIELD_POSITION)) * g_szAddressingModes_Displacement 48 48 mul cl … … 50 50 add ax,g_szAddressingModes 51 51 push ax 52 52 53 53 ;-------------------------------------------------------------------- 54 54 ; PushBlockMode … … 82 82 mov al,g_szBusTypeValues_Displacement 83 83 mul BYTE [cs:bx+IDEVARS.bDevice] 84 84 85 85 shr ax,1 ; divide by 2 since IDEVARS.bDevice is multiplied by 2 86 86 87 87 add ax,g_szBusTypeValues 88 push ax 89 88 push ax 89 90 90 ;-------------------------------------------------------------------- 91 91 ; PushIRQ … … 99 99 ;-------------------------------------------------------------------- 100 100 .PushIRQ: 101 mov al, BYTE[cs:bx+IDEVARS.bIRQ]101 mov al, [cs:bx+IDEVARS.bIRQ] 102 102 cbw 103 103 push ax
Note:
See TracChangeset
for help on using the changeset viewer.