Changeset 505 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization
- Timestamp:
- Feb 25, 2013, 4:23:09 PM (12 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Initialization
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectDrives.asm
r493 r505 50 50 %ifdef MODULE_HOTKEYS 51 51 call HotkeyBar_ScanHotkeysFromKeyBufferAndStoreToBootvars ; Done here while CX is still protected 52 %endif 52 %endif 53 53 54 54 pop cx … … 73 73 %ifdef MODULE_HOTKEYS 74 74 cmp al, COM_DETECT_HOTKEY_SCANCODE ; Set by last call to HotkeyBar_UpdateDuringDriveDetection above 75 j z.DriveDetectLoop76 %endif 75 je .DriveDetectLoop 76 %endif 77 77 78 78 mov al,[cs:ROMVARS.wFlags] ; Configurator set to always scan? … … 201 201 %ifdef MODULE_HOTKEYS 202 202 call HotkeyBar_UpdateDuringDriveDetection 203 %endif 204 203 %endif 204 205 205 %ifdef MODULE_8BIT_IDE_ADVANCED 206 206 pop dx … … 248 248 ; Nothing 249 249 ; Returns: 250 ; CF: Set (from BootMenuPrint_NullTerminatedStringFromCSSIandSetCF)250 ; CF: Set (from DetectPrint_NullTerminatedStringFromCSSIandSetCF) 251 251 ; Corrupts registers: 252 252 ; AX, SI -
trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectPrint.asm
r492 r505 3 3 4 4 ; 5 ; XTIDE Universal BIOS and Associated Tools 5 ; XTIDE Universal BIOS and Associated Tools 6 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team. 7 7 ; … … 10 10 ; the Free Software Foundation; either version 2 of the License, or 11 11 ; (at your option) any later version. 12 ; 12 ; 13 13 ; This program is distributed in the hope that it will be useful, 14 14 ; but WITHOUT ANY WARRANTY; without even the implied warranty of 15 15 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 ; GNU General Public License for more details. 16 ; GNU General Public License for more details. 17 17 ; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 18 ; 18 ; 19 19 20 20 ; Section containing code … … 31 31 ;-------------------------------------------------------------------- 32 32 DetectPrint_InitializeDisplayContext: 33 CALL_DISPLAY_LIBRARY InitializeDisplayContext 34 ret 35 36 33 JMP_DISPLAY_LIBRARY InitializeDisplayContext 34 35 37 36 %ifdef MODULE_HOTKEYS 38 37 ;-------------------------------------------------------------------- … … 46 45 ;-------------------------------------------------------------------- 47 46 DetectPrint_GetSoftwareCoordinatesToAX: 48 CALL_DISPLAY_LIBRARY GetSoftwareCoordinatesToAX 49 ret 47 JMP_DISPLAY_LIBRARY GetSoftwareCoordinatesToAX 50 48 %endif 51 49 52 50 53 51 ;-------------------------------------------------------------------- 54 52 ; DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP … … 75 73 ; Corrupts registers: 76 74 ; AX, CX, DX, SI, DI 77 ;-------------------------------------------------------------------- 75 ;-------------------------------------------------------------------- 78 76 DetectPrint_StartDetectWithAutodetectedBasePortInAXandIdeVarsInCSBP: 79 77 mov dx, [cs:bp+IDEVARS.bDevice-1] ; for Serial: AL=port address>>2, AH=baud rate … … 152 150 DetectPrint_DriveNameFromDrvDetectInfoInESBX: 153 151 push bp 154 mov bp,sp 152 mov bp,sp 155 153 lea si,[bx+DRVDETECTINFO.szDrvName] 156 154 push si … … 158 156 jmp SHORT DetectPrint_FormatCSSIfromParamsInSSBP 159 157 160 158 161 159 ;-------------------------------------------------------------------- 162 160 ; Prints BIOS name and segment address where it is found. … … 175 173 ; so that it can be a different value when using .BootMenuEntry 176 174 177 .BootMenuEntry: 175 .BootMenuEntry: 178 176 push bp 179 177 mov bp, sp … … 186 184 push ax 187 185 %else 188 ; szTitle and szVersion have the high order byte of their addresses zero, 186 ; szTitle and szVersion have the high order byte of their addresses zero, 189 187 ; so these push instructions are only 2 bytes 190 188 ; … … 259 257 260 258 mov si, g_szTryToBoot 261 jmp SHORT DetectPrint_FormatCSSIfromParamsInSSBP 259 jmp SHORT DetectPrint_FormatCSSIfromParamsInSSBP 262 260 263 261
Note:
See TracChangeset
for help on using the changeset viewer.