Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 17 of 38

PEN*KEY 6100 Computer Programmer's Reference Guide: Section 6: Conversions and Interfaces, pages 137 to 146

Pages 137 to 146 of 328, from PEN*KEY 6100 Computer Programmer's Reference Guide

The original document is the PDF (1.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Norand 6100

Page 137

Section 6

Conversions and Interfaces "

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

6. Conversions and Interfaces

"

"

Introduction This section contains information applicable for converting 4000 Series applications for use on the PEN*KEYR 6100 Computers. The first topic deals with the subject of converting applications. This includes 4000 Series files and programs that are still supported, some that are no longer supported, some that have been changed, and a few new files. The remaining topics deal with interfaces and the applications that support them. These applications include 4000API.EXE, VROTATE.EXE, and ELANAPM.EXE. The interfaces include display services, disk services, serial communications, system services, multitasking, power management, keyboard, mouse, and others. Only the major paragraphs containing interfaces are listed in the Contents (front of book) and the Topic Summary. The detailed interrupt list has been left out of those lists. Several methods for locating the interrupts and their definitions have been provided, as described below: The Topic Summary (on page 6-2) contains pointers to each of the major topics containing interfaces and converting 4000 Series applications for the 6100 Computer. " The List of Tables (page 6-2) contains pointers to interface summaries and the master crossĆreference for these interrupts. " There is a Summary Table located at the top of each topic relating to apĆ plications that support interrupts. These tables are organized by interrupt number. " The Interrupt Cross-Reference table is located at the beginning of the Combined Interrupt List paragraph, and is organized by interrupt number. " The Interrupt Index, (at the end of this publication) consists of indexes to all of the interrupt definitions within this section, and is organized alphaĆ betically by interrupt name. Refer to the List of Tables, below, to locate these interrupts. "

PEN*KEY R 6100 Computer Programmer’s Reference Guide

6-1

Page 138

Conversions and Interfaces

SECTION 6

The following is an outline of the section. The name of the supporting applicaĆ tion is included in the first column, when applicable. Topic Summary 6. Conversions and Interfaces

Topics Converting 4000 Series Applications to the 6100 Computer . . . . . . . . . . . . . . . . . Power Management BIOS Interfaces: ELANAPM.EXE . . . . . . . . . . . . . . . . . . . . APM CPU Idle Interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6100 BIOS Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Locating 6100 BIOS Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . NORANDR Proprietary System Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4000 Series Programming Interfaces: 4000API.EXE . . . . . . . . . . . . . . . . . . . . . . . Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Command Line Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Locating 4000API.EXE Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4000 Series Screen Emulation: VROTATE.EXE, FONTSEL.EXE . . . . . . . . . . . . VROTATE.EXE, Parameters and Command Line Switches . . . . . . . . . . . . . . . . . FONTSEL.EXE, Parameters and Command Line Switches . . . . . . . . . . . . . . . . . BMP Conversion Utility: BMPUTIL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Locating 4000 Series Video Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ATA BIOS: ATABIOS.SYS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Standard Keyboard Interface: INT 09h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Keyboard Services: Interrupt 16h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 6-3 6-11 6-13 6-13 6-16 6-17 6-19 6-19 6-19 6-23 6-24 6-25 6-26 6-26 6-27 6-28 6-28 6-87

The following tables provide additional assistance in locating interfaces: List of Tables Paragraph / Table Power Management BIOS Interfaces Table 6-1, APM Interrupts Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6100 BIOS Interfaces Table 6-2, 6100 BIOS Interrupt Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4000 Series Programming Interfaces Table 6-3, Programming Interrupt Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4000 Series Screen Emulation Table 6-4, Interrupts Supported by VROTATE.EXE . . . . . . . . . . . . . . . . . . . . . . . . Cross-Reference by Interrupt Numbers Table 6-5, Interrupt Cross-Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Keyboard Services: Interrupt 16h Table 6-6, Character Codes Returned by INT 16h . . . . . . . . . . . . . . . . . . . . . . . . .

6-2

PEN*KEY R 6100 Computer Programmer’s Reference Guide

Page 6-12 6-17 6-23 6-27 6-28 6-88

Page 139

SECTION 6

Conversions and Interfaces

Converting 4000 Series Applications Introduction Page 6-3 6-4 6-4 6-5 6-7

When applications are converted from a 4000 Series System to a PEN*KEY 6100 System, the information in the following paragraphs should be considered:

Files No Longer Supported The following 4000 Series files are not used in 6100 configurations: File 10X16.EXT BOOT.SYS BOOTCFG.SYS BOOTPH0.SYS CATFILES.EXE CATMAKE.BAT CATPREAM.BIN DEXIO.BIN FONTBUF.COM FPNOP.COM IO.SYS MAXI-DOS.SYS MEMIO.EXT MINI-DOS.SYS MINI-IO.SYS MINI-NET.COM NOR-ANSI.SYS NORANDBB.EXE NP4805.EXT NPRTBIOS.EXT NT4800.SYS PRTBIOS.EXT RAMCARD.SYS RAMCFMT.EXE RAMCUTIL.EXE RAMDISK.EXT RPLHOST.EXE

Comments Use VROTATE.EXE and FONTSEL.EXE (see New 6000 Series Files, page 6-4)

Use IPLFMT.EXE (see New 6000 Series Files, on page 6-4) Use IPLFMT.EXE Use PC-DEXIO.BIN

ROM DOS 5 is loaded from flash ROM DOS 5 is loaded from flash XLMEMIO is not supported ROM DOS 5 is loaded from flash ROM DOS 5 is loaded from flash Use MININET.EXE (see New 6000 Series Files, on page 6-4)

The 4805 Endcap Printer is specific to 4000 Series systems Use PC4800.SYS (see Files that Have Changed, on page 6-4) Use PC4800.SYS (see Files that Have Changed, on page 6-4) RCT printers (NP207, NP111) are not supported

A RAM drive is created as drive C: by the NORAND Utilities. The RAM drive on 4000 Series Computers is drive B:. Use INTERLNK.EXE PEN*KEY R 6100 Computer Programmer’s Reference Guide

6-3

6. Conversions and Interfaces

Files No Longer Supported . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Files that Have Changed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . New 6000 Series Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Unchanged Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PL/N Application Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 140

Conversions and Interfaces

File (Continued) SCAN4000.EXE SETDISP.EXE 6. Conversions and Interfaces

SOFTBIOS.EXT TNETBIOS.EXE XLMEMIO.BIN

SECTION 6

Comments Use VROTATE.EXE and FONTSEL.EXE (see New 6000 Series Files, on page 6-4) BIOS is loaded from flash. XLMEMIO is not supported.

Files that Have Changed The following 4000 Series Files are used differently on the 6100 Computer. You can make the changes as specified.

CONFIG.SYS The extended CONFIG.SYS commands in the 4000 Series version of IO.SYS are no longer supported: Command Comments EXT= BIOS is loaded from flash. Remove these lines from CONFIG.SYS. TSR= Use INSTALL= or execute TSRs from ROMINIT.BAT or AUTOEXEC.BAT. VERIFY The VERIFY ON command, a feature of COMMAND.COM, can be used. However, this command is not identical with VERIFY. VERIFY causes MINI-DOS/MAXI-DOS to write through the disk buffers and to write directory information to the media whenever it changes. These actions do not occur in DOS. The application is responsible for performing file commits. Refer to the PL/N Application Changes topic, on page 6-7.

Refer to the sample CONFIG.SYS listing in Appendix A, Sample Configuration Files, for an example of the CONFIG.SYS, as used in an application for the 6100 Computer. Also, refer to the ROM DOS 5 paragraph, in the Reference, System Information section, for additional information.

CPLNI.COM Do not use the -d command line switch. Do not delete driver files from the RAM drive after they are loaded. All files needed to restart the application after a reĆ set must remain on the RAM drive.

PC4800.SYS Use Version 1.80 or later for a PEN*KEY 6000 Series platform. This driver is used for NORAND Portable Communications Protocol (NPCP) printer support for both PL/N and non-PL/N applications. 4000API.EXE must be loaded when PC4800.SYS is used.

PC-DEXIO.BIN Use Version 1.26 or later for a PEN*KEY 6000 Series configuration. 4000API.EXE must be loaded when PC-DEXIO.BIN is used.

New 6000 Series Files The following files are new 6000 Series files that were not used on the 4000 SeĆ ries platform:

AUTOEXEC.BAT This is a standard ROM DOS 5 configuration file. Refer to the ROM DOS 5 topĆ ic, in the Reference, System Information section, for a description of this file. 6-4

PEN*KEY R 6100 Computer Programmer’s Reference Guide

Page 141

SECTION 6

Conversions and Interfaces

4000API.EXE This program provides functionality for certain applications written for the 4000 Series to run unmodified on the PEN*KEY 6000 Series platform.

VROTATE.EXE and FONTSEL.EXE

*.FNT Font files for use with FONTSEL.EXE.

IPLFMT.EXE This program concatenates a list of files into a single file that is suitable for download in a Norand communications session.

MININET.EXE This program replaces the 4000 Series MINI-NET.COM on the PEN*KEY 6000 Series platforms. It provides the NET BIOS interface to the NPCP LAN.

Unchanged Files The following 6000 Series files have not changed from the 4000 Series. File CLKIO.BIN DELETE.COM HOSTIO.BIN INT15.EXE KBDIO.BIN LZEXE.DOC LZEXE.EXE MEMIO.BIN MV.EXE NORSESS.COM PRN2COM.COM PRTIO.BIN TTYIO.BIN XYXFER.COM

Comments

For a PC only. Do not run on a PEN*KEY 6000 Series platform.

C++ Application Changes Keyboard Application programmers should consider making use of keys that are available on the 6000 Series Computers, but not available on the 4000 Series, such as PageUp, PageDown, Home, and End.

Display The current font files used with PEN*KEY 6000 Series Computers generate difĆ ferent display sizes than the 4000 Series supports. Application screen changes should be considered to better utilize the new sizes. PEN*KEY R 6100 Computer Programmer’s Reference Guide

6-5

6. Conversions and Interfaces

Use VROTATE.EXE for rotating the display screen. Use FONTSEL.EXE to change the screen font. These programs also provide functionality expected by applications written for the 4000 Series so that these applications can run unĆ modified on the PEN*KEY 6000 Series Computer. Refer to the 4000 Series Screen Emulation topic, on page 6-24, for additional information.

Page 142

Conversions and Interfaces

SECTION 6

Files

6. Conversions and Interfaces

Since each PEN*KEY 6000 Series Computer has a reset button, there is a possiĆ bility that the user could press it at any time. To maintain data integrity the apĆ plication must make sure that all file writes are committed to disk. This should be done at the completion of every transaction, e.g. a sales invoice. Applications should fflush() all open streams. Also, because of DOS disk buffers and the fact that DOS does not update the directory entry for a file with each write, apĆ plications must do one of the following: " Close and reopen all files. " Call DOS function 68h for each open file. All data still in DOS disk buffers is written to disk immediately, and the file's directory entry is updated. ExĆ ample code for Borland C++: asm mov ah,0x68 asm mov bx,filehandle asm int 0x21 "

Use DOS function 5D01h, which flushes DOS buffers and updates the diĆ rectory entries for all open files. Example code for Borland C++: int FileCommit(void) { REGS regs; SREGS sregs; // Parameter table used by function 5d01h. // computer_id are used. struct { unsigned int ax; unsigned int bx; unsigned int cx; unsigned int dx; unsigned int si; unsigned int di; unsigned int ds; unsigned int es; unsigned int RESERVED; unsigned int computer_id; unsigned int process_id; } dos_parm;

Only process_id and dos_parm.computer_id = 0; //set current computer dos_parm.process_id = getpsp();//set current process sregs.ds = FP_SEG(&dos_parm); //set up address of parameter table regs.x.dx = FP_OFF(&dos_parm); regs.x.ax = 0x5d01; //commit all files to disk intdosx(&regs,&regs,&sregs); if (regs.x.cflag) return regs.x.ax; // if error return code return 0; // completed ok }

Even if files are committed to disk, a reset can still occur at such a time as to leave a partial record in a file. Files such as the transaction stream should be verified at program start, and any invalid records should be truncated or marked as void. Remove any code used for formatting memory cards for the 4000 Series. PC memory cards can be formatted on the PEN*KEY 6000 Series Computer by loadĆ ing the CardSoft software and executing FORMAT.COM.

Drives The RAM drive is now drive C:, not drive B:. If CardSoft software is used, use only the CardSoft drives (E: and F:) to access the PC memory cards. Using drive A: or B: can corrupt the cards. 6-6

PEN*KEY R 6100 Computer Programmer’s Reference Guide

Page 143

SECTION 6

Conversions and Interfaces

Applications that use drive tables may need to change the file maintenance done after communications. Applications which attempt to move files from one drive to another, to conform to the drive table, should be changed to ignore drive D:, which is the Flash, a readĆonly drive. The 4805 Endcap Printer is not supported by the PEN*KEY 6000 Series ComĆ puters. Remove any code that is specific to the 4805 Printer.

Communications

References to COM3 must be changed. On the 4000 Series, COM3 refers to the same port as COM1, but ignores the modem control signals RTS and CTS. INT 14h function 5, provided by 4000API.EXE, can ignore modem control signals on COM1 when needed. Remove any reference to internal modems for the 4000 Series. This includes turning on/off switch V+ (Norlib function NRSwitchVplus). PEN*KEY 6000 Series applications can utilize PC modems.

Reset

It is important to remember that all variables lose their values when the 6100 Computer is reset. Any information needed to recover from a reset must be writĆ ten to a file so that it can be retrieved.

Memory

Verify that the memory requirements of the application can be met. On the 4000 Series, it is possible to achieve executable memory sizes of greater than 640K. This is not true on the PEN*KEY 6000 Series, which uses ROM DOS 5. Because of this, and due to differing system software requirements, some applications could encounter problems of insufficient memory.

Power Management

For maximum battery life, power to system components should be carefully managed. Drivers provided in the 6100 Tool Kit, such as PC4800.SYS and MININET.EXE, turn power on as needed, but they restore power to its previous state when finished. Therefore, applications should initially turn power off to certain components. For example: COM ports, the LAN adapter, and the touch screen. NORDOSPM.EXE provides this capability, or the Norlib function NRApmSetPower can be used within an application. Refer to the Power Management section of this publication.

Norlib

Use Norlib V2.00 or greater (or prerelease V1.20) for the PEN*KEY 6000 Series handĆheld computers. NRCursorSet does not support a blinking cursor on PEN*KEY 6000 Series Computer.

PL/N Application Changes In the interest of maintaining a single set of source code for applications that reĆ quire changes that are different for each platform, these changes should be imĆ plemented using the conditional compile facility of the PL/N compiler preprocessor. By convention, use 6000" to encase code that should exeĆ cute only on a PEN*KEY 6000 Series system. For further information on the facility, refer to the PL/N 4000 Series Reference Manual, Volume 1.

General Source Changes

In the HISTORY section, include explicit comments on changes and modules that were changed. PEN*KEY R 6100 Computer Programmer’s Reference Guide

6-7

6. Conversions and Interfaces

Printers

Page 144

Conversions and Interfaces

SECTION 6

KBDIO The current font files used with FONTMAP.EXE generate different display sizes than those fonts supported on the 4000 Series. Applications that use GETCTL 3 (KB_PHYSIZE) need to do the following: 6. Conversions and Interfaces

"

Include code to handle the new display size generated by FONTSEL.EXE. Applications that support multiple display sizes most commonly check the display size in menu functions or other places where a larger screen is used.

MEMIO Because the PEN*KEY 6000 Series Computer has a reset switch, to maintain data integrity, the application must make sure that all file writes are committed to disk. Because of DOS disk buffers and the fact that DOS does not update the directory entry for a file with each write, a new standard routine, IPFCMT6, is provided. This routine flushes DOS buffers and updates the directory entries for all open files. Applications should call this routine at the completion of every transaction; for example, a sales invoice. IPFCMT6 is described under New Standard Routines paragraph, on page 6-10. All files that are written by OUT instead of PUT require additional measures to properly commit them to disk. The use of OUT causes MEMIO to do buffering of its own. To cause MEMIO to flush its buffers, close and reopen these files. AlterĆ natively, replace all OUT statements with calls to the standard routine PZUFT1P, which ensures that partial buffers are written correctly.

PRTIO The 4805 Endcap Printer is not supported on the PEN*KEY 6000 Series platĆ form. Remove references to PUTCTL 1047 (PR_4805) as well as any other code that is specific to the 4805 Printer. RCT printers, e.g. NP207 and NP111, are not supported on the PEN*KEY 6000 Series platform. Remove references to PUTCTL 1044 (PR_NONNPCP) as well as any other code that is specific to these printers. Set PRT.LAST = 256 or 0 at the start of a report. Many applications set PRT.LAST = 256 when a formfeed is done to reset the line counter. This causes problems on the PEN*KEY 6000 Series platform. Instead, set PRT.LAST = 257 after the first line of the page printed. The standard routine PGWTE1P should be used at the end of each report to wait for the printer completion, or printer errors might be missed. The standard routines PGAPR2P/PGPER2P should be used. Some applications may still be using the older routines PGAPR1P/PGPER1P.

SYSIO Remove references to PUTCTL 1026 (SY_POWER_ON) and PUTCTL 1027 (SY_OFF_POWER). These were used on a 4000 Series Platform to enable the internal modem. Remove any references to the internal modems for the 4000 Series Platform.

XLMEMIO XLMEMIO is not supported on the PEN*KEY 6000 Series platform. ApplicaĆ tions must be converted to be DOSĆcompatible.

6-8

PEN*KEY R 6100 Computer Programmer’s Reference Guide

Page 145

SECTION 6

Conversions and Interfaces

Adding 6805 Printer Support to PL/N Applications These steps explain how to add 6805 Printer support to a PL/N application. 1. Install the IrDA Drivers.

EXAMPLE:

6100 CONFIG.SYS file: buffers=50 files=99 stacks=64,256 DEVICE=D:\ELANUMP.SYS /X=C000,C400 DOS=HIGH,UMB DEVICEHIGH=D:\ELANAPM.EXE DEVICEHIGH=D:\NORDOSPM.EXE DEVICEHIGH=D:\CLOCK.EXE DEVICEHIGH=D:\PC4800.SYS LPT1 1 /I1 DEVICEHIGH=D:\PRDRV.SYS NP6805$

EXAMPLE:

100 AUTOEXEC.BAT file: @echo off D:\4000API.EXE /10 /16 /PC /C3 LH D:\MININET.EXE –c1 –s1152 –t0 LH D:\IRDAPDRV.EXE –fNP6805$ –b19200 –r25 –d8 –t6100 LH D:\61MOUSE.COM C:\CALIB.EXE C:\VROTATE.EXE 12 20 159 240 –PLN LH D:\FONTSEL.EXE 1 C:\PSEKM0C.EXE KBDFILE.DAT LH D:\DOSGAS.EXE 25 1 –u5000 –C LH D:\ELANCFG.EXE /H12 /L1 /D4 /V0 /T2 /R1 /C0 LH D:\BKSP2DEL.COM DPLNI.COM PBRRR0P.PL6 CONFIG.PLN –p –w2

2. Use PC-PRTIO.BIN instead of PRTIO.BIN A new PL/N driver named PC-PRTIO. BIN supports the use of the IrDA drivers. Use this instead of PRTIO.BIN. This driver can be found in PLN4000 V1.07 or greater. " NOTE:

As of this writing, PC-PRTIO.BIN does not support printing to 4810/4815/4820 Printers and PRTIO.BIN does not support the 6805 Printer. Include only one of these drivers in a configuration, not both. Work is in progress to support all printers in a single PL/N driver.

3. Change the Printer Open Procedure A new putctl is added to PRTIO which selects the 6805 Printer. As of this time, no constant is defined in PCPRCNP. EXAMPLE:

OPEN (PRT, PRTBUF) PR_NAME IF CONFIG.PRINTER = PRT_6805 THEN PUTCTL (PRT) 1049 ;for 6805 IR printer ELSE PUTCTL (PRT) PR_NPCPROT ;for 4810/4815/4820 printer ENDIF IF CONFIG.PRINTER = PRT_4815 THEN PAGELEN = 66 PEN*KEY R 6100 Computer Programmer’s Reference Guide

6-9

6. Conversions and Interfaces

For installation instructions for these device drivers, refer to the DOS IrDA Printing paragraph, in the Supporting DOS Applications section, or the Windows IrDA Printing paragraph, in the Supporting Windows ApplicaĆ tions section.

Page 146

Conversions and Interfaces

" NOTE:

SECTION 6

As of this publication, PC-PRTIO.BIN does not support printing to 4810/4815/4820 Printers and PRTIO.BIN does not support the 6805 Printer. If putctl PR_NPCPROT is used with PCPRTIO.BIN, or putctl 1049 is used with PRTIO.BIN, the application locks up in the printer error procedure. Work is in progress to support all printers in a single PL/N driver.

6. Conversions and Interfaces

4. Open and close the driver for each report. In most PL/N applications, the printer is opened at the start of a program and closed only when chaining to another program. IrDA drivers required that the printer be opened just before printing a report and closed just after finishing the report. For applications which currently have a common PRINTCTL routine, often named PAxxP9P, this is accomplished by moving the open/close logic to this routine. Remove all other opens and closes. This change is compatible across all NORAND handĆheld computers, e.g. 4000 Series, so there is no need to include a ++IFDEF. 5. Remove Excess Linefeeds. The report formats used for the 6805 are the same as previous 40Ćcolumn printers. However, the 6805 requires fewer linefeeds to sufficiently eject a report. Many applications feed eight lines at the end of a report on a 40ĆcolĆ umn printer. Reduce this to five lines for a 6805 Printer. Also, reduce the number of linefeeds used prior to OK?" prompts. This saves paĆ per and makes your reports look nicer.

Unsupported Standard Routines IPFMCF6, the memory card format routine for the 4000 Series. Memory on PC Cards cards can be formatted on the PEN*KEY 6000 Series Computer by loading the CardSoft drivers (or NORMOD drivers) and executing the FORMAT.COM program from ROM DOS 5.

New Standard Routine Numeric Function IPFCMT6 This function commits all outstanding writes on all open files and updates the DOS directory. It uses DOS function 5D01h. This function can be used only on a PEN*KEY 6000 Series platform. On a 4000 Series, using MINI/MAXI-DOS, use of this function causes the system to display the message DOS call" and hang. Parameters: None Return Value: Zero (0) if successful. A return value of 257 indicates that the calling routine incorrectly attempted to pass parameters to this function. Any other return value is the return value of DOS function 5D01h.

6-10

PEN*KEY R 6100 Computer Programmer’s Reference Guide