Changeset 445 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers
- Timestamp:
- Aug 29, 2012, 12:59:23 PM (12 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Handlers
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h.asm
r443 r445 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 … … 103 103 ; Jump to correct BIOS function 104 104 eMOVZX bx, ah 105 shlbx, 1105 eSHL_IM bx, 1 106 106 cmp ah, 25h ; Possible EBIOS function? 107 107 %ifndef MODULE_EBIOS -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH9h_HInit.asm
r443 r445 244 244 ; Nothing 245 245 ;-------------------------------------------------------------------- 246 DoNotEnable8bitMode: 246 247 IgnoreInvalidCommandError: 247 248 xor ah, ah ; Clears CF … … 270 271 ;-------------------------------------------------------------------- 271 272 AH9h_Enable8bitPioModeForXTCF: 272 eMOVZX bx, BYTE[di+DPT.bIdevarsOffset]273 eMOVZX bx, [di+DPT.bIdevarsOffset] 273 274 cmp BYTE [cs:bx+IDEVARS.bDevice], DEVICE_8BIT_XTCF 274 je SHORT .Enable8bitMode 275 xor ah, ah ; Do nothing for this device 276 ret 277 .Enable8bitMode: 275 jne SHORT DoNotEnable8bitMode 276 278 277 mov si, FEATURE_ENABLE_8BIT_PIO_TRANSFER_MODE 279 278 jmp AH23h_SetControllerFeatures -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AHDh_HReset.asm
r429 r445 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 16 ; GNU General Public License for more details. 17 ; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 18 ; 17 ; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 18 ; 19 19 20 20 ; Section containing code … … 106 106 push cx 107 107 push ax 108 call AHDh_WaitUn ilDriveMotorHasReachedFullSpeed108 call AHDh_WaitUntilDriveMotorHasReachedFullSpeed 109 109 call AH9h_InitializeDriveForUse ; Initialize Master or Slave (Master will come first in DPT list) 110 110 … … 133 133 134 134 ;-------------------------------------------------------------------- 135 ; AHDh_WaitUn ilDriveMotorHasReachedFullSpeed135 ; AHDh_WaitUntilDriveMotorHasReachedFullSpeed 136 136 ; Parameters: 137 137 ; DS:DI: Ptr to DPT … … 142 142 ; AL, BX, CX, DX 143 143 ;-------------------------------------------------------------------- 144 AHDh_WaitUn ilDriveMotorHasReachedFullSpeed:144 AHDh_WaitUntilDriveMotorHasReachedFullSpeed: 145 145 %ifdef MODULE_SERIAL 146 146 test BYTE [di+DPT.bFlagsHigh], FLGH_DPT_SERIAL_DEVICE -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Tools/Prepare.asm
r421 r445 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 16 ; GNU General Public License for more details. 17 ; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 18 ; 17 ; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 18 ; 19 19 20 20 ; Section containing code … … 55 55 call Prepare_GetOldInt13hCommandIndexToBX 56 56 mov al, [di+DPT.bFlagsLow] 57 shlal, 1 ; Set CF if LBA48 supported57 eSHL_IM al, 1 ; Set CF if LBA48 supported 58 58 adc bl, bh ; LBA48 EXT commands 59 59 ret
Note:
See TracChangeset
for help on using the changeset viewer.