SECTION 6
Conversions and Interfaces
6-10 PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide
Adding SanDisk ATA Card Support
The following steps explain how to add SanDisk ATA card support to a C++
application:
1. Use the correct version of Flash.
"
6200 Computer: 6200 Flash V1.53 or greater
"
6210 Computer: 6210 Flash V1.51 or greater
2. Use NORAPM V3.10 or greater. Flash V1.53 (in the 6200 or 6210
Computer) contains this version of NORAPM. If you are using Flash V1.51
(in the 6210 Computer), NORAPM.EXE must be downloaded with the
application and loaded from C:.
3. Use NORCSAPM.EXE and ATADRV.EXE from Toolkit V1.71 or greater.
4. Install CardSoft drivers. Add the following lines to the CONFIG.SYS file:
Rem PC Card modem driver manages the second slot
device=c:\ngenmod.sys –S1 –IA –C3
Rem CardSoft drivers manage the first slot only
device=d:\sscirrus.exe /skt=1
device=d:\cs.exe
device=d:\csalloc.exe
device=d:\atadrv.exe /S:2
device=d:\mtsram.exe
device=d:\mtddrv.exe
device=d:\cardid.exe
device=d:\norcsapm.exe +p:0
Dual card support" means a system that supports both Sandisk ATA cards
and PC Card modems. See
Adding PC Card Modem Support
on page 6Ć8.
If dual card support is not needed, remove the line above that loads
NGENMOD.SYS.
5. Do Not Reference A or B. With CardSoft loaded, references to drives E and
F use CardSoft to access the PC Card memory cards. References to drives
A and B use the BIOS to access the PC Cards. Using both BIOS and
CardSoft to access the PC Cards causes a conflict. It is therefore necessary
that the BIOS not be used when CardSoft is being used.
PL/N Application Changes
In the interest of maintaining a single set of source code for applications that
require changes that are different for each platform, these changes should be
implemented using the
++ifdef
" conditional compile facility of the PL/N compiler
preprocessor. By convention, use
++ifdef 6000
" to encase code that should
execute only on a PEN*KEY 6000 Series system. For further information on the
++ifdef
" facility, see the
PL/N 4000 Series Reference Manual, Volume 1
(P/N:
977Ć037Ć007).
General Source Changes
In the HISTORY section, include explicit comments on changes and modules that
were changed.
6. Conversions and
Interfaces