SECTION 6
Conversions and Interfaces
PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-23
4000 Series Programming Interfaces
Topics
Page
Installation and Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Ć23
Command Line Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Ć23
MultiĆtasking Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Ć24
Interrupts Supported by 4000API.EXE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Ć25
4000API.EXE provides the capability of porting 4000 Series applications to the
PEN*KEY 6000 Series environments, without requiring major modifications.
"
NOTE:
Some of the functions provided by 4000API.EXE are proprietary functions that are not indus-
try standards. Use of certain 4000API.EXE functions limit the ability of the application to
function on standard platforms.
If you desire portability and standardization of applications, consider modifying
old programs and developing new programs to conform to industry standards.
Both the 6200 and 6300 platforms are PCĆcompatible. When you want
application portability to include PCs, the industry standards need to be
considered.
Installation and Configuration
To load 4000API.EXE for use with a C++ application, use the following
command:
4000API.EXE /C3 /PC /10 /14 /16
To load 4000API.EXE for use with a PL/N application, use the following
commands:
"
If NGENMOD is used to access internal modems:
4000API.EXE /C3
"
If NGENMOD is not used:
4000API.EXE
Command Line Switches
Typically, you should supply these switches, unless your application is a PL/N
application originally designed to run on a 4000 Series Computer.
/C3
Do not redirect COM3 to COM1. Do not ignore modem control signals. Existing PL/N applications
frequently used COM3 to communicate with COM1, only without modem control signals being
used.
/PC
Change the return value returned by interrupt 15h AX=01FBh. The default value is SOFT BIOS
V3.00". When this switch is supplied, the value returned is PC BIOS V3.00".
/10
Do not trap interrupt 10h (the video BIOS interrupt). There are a couple of 4000 Series compatible
video BIOS extensions enabled by default and disabled via this switch.
/14
Do not trap interrupt 14h (the COM port BIOS interrupt). By default, 4000API supplies 4000 SeĆ
ries compatible BIOS extensions for communicating to COM ports. By supplying this switch, the
COM port BIOS supplied in ROM BIOS is used instead of the 4000API services.
/16
Do not trap interrupt 16h (the keyboard BIOS interrupt). By default, 4000API emulates the 4000
Series keyboard, complete with the ability to remap keys. When this switch is supplied, PCĆcomĆ
patible keycodes are returned instead of 4000Ćstyle keycodes.
"
NOTE:
Switches can be executed with either the slash (/) or the dash (–).
6. Conversions and
Interfaces