Chapter 2
Startup and Shutdown
2-8
Check Mode
Before you run the diagnostic, verify that the card is being operated in
extended M16 mode.
1. Read the status registe
r, address 804, and check if bit 5 of bits 0:7 is
set to 1 or 0.
If bit 5 is
then the KTx card is
configured for
then
1
8bit mode
8/16bit operation is
configured with the 3pin
header on the KT
x
.
Inform the user that his KT
x
is configured
for 8bit operation and he needs to
configure it for 16bit operation to
execute the host compatibility test.
IMPORTANT:
Skip the M16 test if you
leave the card in 8bit mode.
0
16bit mode
Go to step 2.
2. Read the card control read registe
r, address 80C, and check if bit 1 of
bits 0:7 is set to 1 or 0.
If bit 1 is
then the ASIC is configured for
1
standard M16 operation and must be placed in extended M16 mode
The ASIC should not be in standard mode because standard M16 mode
is not implemented by current APIs as noted on page 27.
Go to step 3.
0
extended M16 operation
Go to the next section, Disable M16 Operation.
3. Place the ASIC in extended M16 mode by saving the contents of the
card control read register and writing to the card control write
registe r, address 80A, with bit 1 set to 0.
The ASIC is now configured for extended M16 operation.
Disable M16 Operation
Write the key bytes to the ASIC to disable M16 operation.
1. Verify that the key bytes are operational by writing:
to the key 0 write registe
r, address 805, with a 0xBB
to the key 1 write registe
r, address 807, with a 0xCC
2. Access the key read registe
r, address 800, with a 16-bit read.
The value returned should be 0xCCBB. Note that the key read
register is a 16-bit register and must be accessed with a 16-bit read.
8-bit accesses to these registers will return the value of the pulled-up
ISA bus, or 0xF F.