Changeset 505 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2
- Timestamp:
- Feb 25, 2013, 4:23:09 PM (12 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS_Configurator_v2/Src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/AutoConfigure.asm
r504 r505 114 114 115 115 ; Point to next IDEVARS 116 add si, IDEVARS_size 116 117 cmp si, ROMVARS.ideVars3 117 jae SHORT .AllPortsAlreadyDetected 118 add si, IDEVARS_size 119 jmp SHORT .DetectFromNextPort 118 jbe SHORT .DetectFromNextPort 120 119 .AllPortsAlreadyDetected: 121 120 ret -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/IdeAutodetect.asm
r504 r505 22 22 23 23 ;-------------------------------------------------------------------- 24 ; IdeAutodetect_DetectIdeDeviceFromPortDXAndReturnControlBlockIn CX24 ; IdeAutodetect_DetectIdeDeviceFromPortDXAndReturnControlBlockInSI 25 25 ; Parameters: 26 26 ; DX: IDE Base Port or segment address (Command Block) … … 193 193 jne SHORT .InvalidStatusRegister 194 194 195 ; Bytes were the same but it is possible they were both FFh, for 195 ; Bytes were the same but it is possible they were both FFh, for 196 196 ; example. We must make sure bits are what is expected from valid 197 197 ; IDE Status Register. So far all drives I've tested return 50h -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Main.asm
r497 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 ; Include .inc files 21 21 22 22 %define INCLUDE_MENU_DIALOGS 23 23 %define INCLUDE_SERIAL_LIBRARY 24 24 25 25 %include "AssemblyLibrary.inc" ; Assembly Library. Must be included first! 26 26 %include "Romvars.inc" ; XTIDE Universal BIOS variables … … 103 103 CALL_DISPLAY_LIBRARY InitializeDisplayContext ; Reset cursor etc 104 104 xchg ax, dx 105 CALL_DISPLAY_LIBRARY ClearScreenWithCharInALandAttrInAH 106 ret 105 JMP_DISPLAY_LIBRARY ClearScreenWithCharInALandAttrInAH 107 106 108 107 -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/MenuEvents.asm
r376 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 … … 204 204 call .PrintStatusOfUnsavedChanges 205 205 stc 206 .ReturnSinceNothingToPrint: 206 207 ret 207 208 … … 209 210 .PrintProgramName: 210 211 mov si, g_szProgramTitle 211 CALL_DISPLAY_LIBRARY PrintNullTerminatedStringFromCSSI 212 ret 212 JMP_DISPLAY_LIBRARY PrintNullTerminatedStringFromCSSI 213 213 214 214 ALIGN JUMP_ALIGN … … 223 223 .PrintNothingLoaded: 224 224 mov si, g_szBiosIsNotLoaded 225 CALL_DISPLAY_LIBRARY PrintNullTerminatedStringFromCSSI 226 ret 225 JMP_DISPLAY_LIBRARY PrintNullTerminatedStringFromCSSI 227 226 228 227 ALIGN JUMP_ALIGN … … 248 247 mov bx, es 249 248 lea si, [di+ROMVARS.szVersion] 250 CALL_DISPLAY_LIBRARY PrintNullTerminatedStringFromBXSI 251 ret 249 JMP_DISPLAY_LIBRARY PrintNullTerminatedStringFromBXSI 252 250 253 251 ALIGN JUMP_ALIGN 254 252 .PrintUnidentifiedType: 255 253 mov si, g_szUnidentified 256 CALL_DISPLAY_LIBRARY PrintNullTerminatedStringFromCSSI 257 ret 254 JMP_DISPLAY_LIBRARY PrintNullTerminatedStringFromCSSI 258 255 259 256 ALIGN JUMP_ALIGN … … 262 259 jz SHORT .ReturnSinceNothingToPrint 263 260 mov si, g_szUnsaved 264 CALL_DISPLAY_LIBRARY PrintNullTerminatedStringFromCSSI 265 .ReturnSinceNothingToPrint: 266 ret 261 JMP_DISPLAY_LIBRARY PrintNullTerminatedStringFromCSSI
Note:
See TracChangeset
for help on using the changeset viewer.