source: xtideuniversalbios/trunk/XTIDE_Universal_BIOS/Inc/Controllers/AdvancedID.inc @ 588

Last change on this file since 588 was 588, checked in by krille_n_@…, 9 years ago

Changes:

  • Fixed a bug in AH24h_HSetBlocks.asm from r550. Trying to set a too large block size with an XT-CF card in DMA transfer mode would corrupt the stack.
  • Fixed a bug from r545 where the list of devices under g_szDeviceTypeValues in Strings.asm was no longer up to date causing the boot menu to display the wrong string for devices numbered higher than DEVICE_8BIT_XTCF_PIO8.
  • Made some fairly significant changes to the XT-CF code to reduce size. Two changes in functionality; 1) Added a simple check to validate the request for a change of the XT-CF transfer mode. 2) Changing transfer mode to use DMA no longer calls AH24h_SetBlockSize if the block size already is within the limits of DMA transfers. UNTESTED
  • XTIDECFG now clears IDEVARS.bIRQ when changing IDE controller to a serial device to keep the boot menu from displaying it since the serial device doesn't use IRQs at all.
  • Other minor optimizations.
File size: 1.3 KB
Line 
1; Project name  :   XTIDE Universal BIOS
2; Description   :   ID words for Advanced IDE controllers
3
4;
5; XTIDE Universal BIOS and Associated Tools
6; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2013 by XTIDE Universal BIOS Team.
7;
8; This program is free software; you can redistribute it and/or modify
9; it under the terms of the GNU General Public License as published by
10; the Free Software Foundation; either version 2 of the License, or
11; (at your option) any later version.
12;
13; This program is distributed in the hope that it will be useful,
14; but WITHOUT ANY WARRANTY; without even the implied warranty of
15; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16; GNU General Public License for more details.
17; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
18;
19
20%ifndef ADVANCEDID_INC
21%define ADVANCEDID_INC
22
23; Controller IDs contained in high byte of ID word.
24; Low byte is controller specific to be used in controller initialization and such
25
26ID_NOT_ADVANCED_CONTROLLER  EQU     0
27
28; Promise
29ID_PDC20230                 EQU     1
30ID_PDC20630                 EQU     2
31
32; Vision
33; QDI Vision Controller Identification nibbles used by hardware so do not modify these
34ID_QD6580_ALTERNATE         EQU     5
35ID_QD6580                   EQU     10
36ID_QD6500                   EQU     12
37
38
39%endif ; ADVANCEDID_INC
Note: See TracBrowser for help on using the repository browser.