Changeset 241 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrintCfg.asm
- Timestamp:
- Feb 9, 2012, 11:08:59 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrintCfg.asm
r200 r241 12 12 ; BootMenuPrintCfg_ForOurDrive 13 13 ; Parameters: 14 ; DS: Segment to DPT 15 ; Stack: Offset to DPT 14 ; DS:DI: Pointer to DPT 16 15 ; Returns: 17 16 ; Nothing … … 21 20 ALIGN JUMP_ALIGN 22 21 BootMenuPrintCfg_ForOurDrive: 23 mov si, g_szCfgHeader24 call BootMenuPrint_NullTerminatedStringFromCSSIandSetCF25 pop di26 22 eMOVZX ax, BYTE [di+DPT.bIdevarsOffset] 27 23 xchg si, ax ; CS:SI now points to IDEVARS 28 24 ; Fall to .PushAndFormatCfgString 29 30 ;--------------------------------------------------------------------31 ; PushAndFormatCfgString32 ; Parameters:33 ; DS:DI: Ptr to DPT34 ; CS:SI: Ptr to IDEVARS35 ; Returns:36 ; Nothing37 ; Corrupts registers:38 ; AX, DX, SI, DI39 ;--------------------------------------------------------------------40 .PushAndFormatCfgString:41 push bp42 mov bp, sp43 ; Fall to first push below44 25 45 26 ;-------------------------------------------------------------------- … … 114 95 ;-------------------------------------------------------------------- 115 96 .PushIRQ: 116 eMOVZX ax, BYTE [cs:si+IDEVARS.bIRQ] 97 mov al, BYTE [cs:si+IDEVARS.bIRQ] 98 cbw 117 99 push ax 118 100 … … 129 111 .PushResetStatus: 130 112 mov al, [di+DPT.bFlagsHigh] 131 and a x, MASKH_DPT_RESET113 and al, MASKH_DPT_RESET ; ah already zero from last push 132 114 push ax 133 115 … … 142 124 ;-------------------------------------------------------------------- 143 125 .PrintValuesFromStack: 144 mov si, g_szCfgFormat 145 jmp BootPrint_BootMenuPrint_FormatCSSIfromParamsInSSBP_Relay 126 jmp BootMenuPrint_HardDiskRefreshInformation.output 146 127
Note:
See TracChangeset
for help on using the changeset viewer.