Changeset 491 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization
- Timestamp:
- Dec 15, 2012, 2:46:29 PM (12 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Initialization
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/AtaID.asm
r487 r491 36 36 ; corrupted. We start by making sure P-CHS values are valid. 37 37 ; If they are, we assume the ATA ID to be valid. Fortunately we can do 38 ; fu ther checking for ATA-5 and later since they contain signature and38 ; further checking for ATA-5 and later since they contain signature and 39 39 ; checksum bytes. Those are not available for ATA-4 and older. 40 40 -
trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectDrives.asm
r474 r491 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 … … 153 153 ;-------------------------------------------------------------------- 154 154 StartDetectionWithDriveSelectByteInBHandStringInCX: 155 %ifdef MODULE_8BIT_IDE 155 156 ; Autodetect port for XT-CF 156 %ifdef MODULE_8BIT_IDE157 157 call DetectDrives_DoesIdevarsInCSBPbelongToXTCF 158 158 jne SHORT .SkipXTCFportDetection … … 165 165 ; for next drive (another XT-CF card on same system) 166 166 .DetectNextPort: 167 call BootVars_GetNextXTCFportToDetectToDX 168 cmp dx, XTCF_BASE_PORT_4 167 mov dx, [es:BOOTVARS.wNextXTCFportToScan] 168 xor dl, 40h 169 jnz SHORT .StoreNextXTCFportToScan 170 inc dh 171 cmp dh, XTCF_BASE_PORT_4 >> 8 169 172 ja SHORT .SkipXTCFportDetection ; XT-CF not found from any port 173 .StoreNextXTCFportToScan: 174 mov [es:BOOTVARS.wNextXTCFportToScan], dx 170 175 171 176 call AH1Eh_DetectXTCFwithBasePortInDX … … 178 183 jmp SHORT .DriveDetectionStringPrintedOnScreen 179 184 180 ; Print detect string for devices that do not support autodetection 185 ; Print detect string for devices that do not support autodetection 181 186 .SkipXTCFportDetection: 182 187 push dx -
trunk/XTIDE_Universal_BIOS/Src/Initialization/Interrupts.asm
r489 r491 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 … … 97 97 .InitializeHardwareIrqHandlers: 98 98 call RamVars_GetIdeControllerCountToCX 99 mov di, ROMVARS.ideVars0 99 mov di, ROMVARS.ideVars0+IDEVARS.bIRQ ; CS:SI points to first IDEVARS 100 100 .IdeControllerLoop: 101 mov al, [cs:di +IDEVARS.bIRQ]101 mov al, [cs:di] 102 102 add di, BYTE IDEVARS_size ; Increment to next controller 103 103 call .InstallLowOrHighIrqHandler
Note:
See TracChangeset
for help on using the changeset viewer.