Changeset 445 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc
- Timestamp:
- Aug 29, 2012, 12:59:23 PM (12 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/IDE_8bit.inc
r442 r445 4 4 5 5 ; 6 ; XTIDE Universal BIOS and Associated Tools 6 ; XTIDE Universal BIOS and Associated Tools 7 7 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team. 8 8 ; … … 11 11 ; the Free Software Foundation; either version 2 of the License, or 12 12 ; (at your option) any later version. 13 ; 13 ; 14 14 ; This program is distributed in the hope that it will be useful, 15 15 ; but WITHOUT ANY WARRANTY; without even the implied warranty of 16 16 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 ; GNU General Public License for more details. 17 ; GNU General Public License for more details. 18 18 ; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 19 19 ; … … 25 25 ; UNROLL_SECTORS_IN_CX_TO_DWORDS 26 26 ; UNROLL_SECTORS_IN_CX_TO_QWORDS 27 ; UNROLL_SECTORS_IN_CX_TO_OWORDS 27 28 ; Parameters: 28 29 ; CX: Number of sectors in block 29 30 ; Returns: 30 ; CX: Number of DWORDs or QWORDs in block31 ; CX: Number of DWORDs, QWORDs or OWORDs in block 31 32 ; Corrupts registers: 32 33 ; Nothing … … 46 47 %else 47 48 UNROLL_SECTORS_IN_CX_TO_DWORDS 49 shr cx, 1 50 %endif 51 %endmacro 52 53 %macro UNROLL_SECTORS_IN_CX_TO_OWORDS 0 54 %ifdef USE_186 55 shl cx, 5 56 %else 57 UNROLL_SECTORS_IN_CX_TO_QWORDS 48 58 shr cx, 1 49 59 %endif
Note:
See TracChangeset
for help on using the changeset viewer.