Changeset 491 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc
- Timestamp:
- Dec 15, 2012, 2:46:29 PM (12 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Inc
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/Controllers/XTCF.inc
r487 r491 5 5 6 6 ; 7 ; XTIDE Universal BIOS and Associated Tools 7 ; XTIDE Universal BIOS and Associated Tools 8 8 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team. 9 9 ; … … 12 12 ; the Free Software Foundation; either version 2 of the License, or 13 13 ; (at your option) any later version. 14 ; 14 ; 15 15 ; This program is distributed in the hope that it will be useful, 16 16 ; but WITHOUT ANY WARRANTY; without even the implied warranty of 17 17 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 ; GNU General Public License for more details. 18 ; GNU General Public License for more details. 19 19 ; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 20 20 ; … … 34 34 ; Possible base addresses. Note that all XT-CF IDE registers are SHL 1 compared 35 35 ; to standard IDE registers. 36 XTCF_BASE_PORT_DETECTION_SEED EQU 140h ; Not a valid base address but needed for autodetection 36 37 XTCF_BASE_PORT_1 EQU 200h 37 38 XTCF_BASE_PORT_2 EQU 240h … … 42 43 ; XT-CF Control Register (do not SHL 1 these!) 43 44 XTCF_CONTROL_REGISTER EQU 1Fh 44 XTC T_CONTROL_REGISTER_INVERTED_in EQU 1Eh45 XTCF_CONTROL_REGISTER_INVERTED_in EQU 1Eh 45 46 46 47 ; Control Register contents: … … 48 49 ; Control Register holds high byte from Sector Window segment if >= A0h 49 50 ; (First possible segment for Sector Window is A000h) 50 ; 51 ; 51 52 ; 8-bit PIO transfers (port I/O) are used if Control Register is zero. 52 53 ; Any other value means DMA transfers (using DMA channel 3). -
trunk/XTIDE_Universal_BIOS/Inc/CustomDPT.inc
r488 r491 45 45 .twLbaSectors resb 6 ; 48-bit sector count for LBA addressing 46 46 %endif 47 alignb 2 ; WORD align ent for DPT_SERIAL or DPT_ATA47 alignb 2 ; WORD alignment for DPT_SERIAL or DPT_ATA 48 48 endstruc 49 49 … … 133 133 ; first! DPT_ATA.bDevice uses small values so there will be no problems. 134 134 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 135 %if DPT_SERIAL.bSerialPort <> DPT_ATA.bDevice 136 %error "DPT_ATA.bDevice and DPT_SERIAL.bSerialPort must be in same offsets!" 135 %if DPT_SERIAL.bSerialPort <> DPT_ATA.bDevice 136 %error "DPT_ATA.bDevice and DPT_SERIAL.bSerialPort must be in same offsets!" 137 %endif 137 138 %endif 138 %endif 139 %endif 139 %endif ; MODULE_SERIAL 140 140 141 141 -
trunk/XTIDE_Universal_BIOS/Inc/IDE_8bit.inc
r445 r491 55 55 shl cx, 5 56 56 %else 57 UNROLL_SECTORS_IN_CX_TO_QWORDS 58 shr cx, 1 57 ; UNROLL_SECTORS_IN_CX_TO_QWORDS 58 ; shr cx, 1 59 mov ch, cl ; 2 bytes shorter but possibly slower 60 mov cl, 3 61 shr cx, cl 59 62 %endif 60 63 %endmacro -
trunk/XTIDE_Universal_BIOS/Inc/ModuleDependency.inc
r477 r491 1 ; /*2 1 ; Project name : XTIDE Universal BIOS 3 2 ; Description : Dependencies for optional modules. 4 3 5 4 ; 6 ; XTIDE Universal BIOS and Associated Tools 5 ; XTIDE Universal BIOS and Associated Tools 7 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team. 8 7 ; … … 11 10 ; the Free Software Foundation; either version 2 of the License, or 12 11 ; (at your option) any later version. 13 ; 12 ; 14 13 ; This program is distributed in the hope that it will be useful, 15 14 ; but WITHOUT ANY WARRANTY; without even the implied warranty of 16 15 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 ; GNU General Public License for more details. 16 ; GNU General Public License for more details. 18 17 ; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 19 18 ; … … 31 30 %endif 32 31 %endif 33 34 32 35 33 … … 53 51 %include "HotkeyBar.inc" ; For Hotkeys 54 52 %ifdef MODULE_BOOT_MENU 55 %include "BootMenu.inc" 53 %include "BootMenu.inc" ; For Boot Menu 56 54 %endif 57 55 %endif … … 60 58 %include "IntController.inc" 61 59 %endif 62 63 60 64 61
Note:
See TracChangeset
for help on using the changeset viewer.