Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact
Page 1 of PDT 3200 Run-Time Library Reference Manual

Manual · Symbol

PDT 3200 Run-Time Library Reference Manual

Manual168 pagesPDF 949 KB

Programmer's reference for the Symbol PDT 3200 DOS portable run-time library: BIOS, serial communications and configuration functions.

Download the PDF949 KB

Names · 1 model

The models it names

Filed with · 1 model

Also filed with these models on the old site

Summary

What is in it

The reference manual for the run-time library in the Developer's Toolkit for the Symbol PDT 3200 DOS portable terminal. Written for experienced C programmers, it explains how to install the library files, lists the header files, typedefs, constants and routines by category, documents each BIOS and configuration function (power management, display, keyboard, speaker, fonts, date and time), describes the serial communications calls, and gives a sample program for Borland and Microsoft compilers.

Its parts

  1. About This Document
  2. Library Cross-Reference
  3. Function Reference
  4. Serial Communications
  5. A Program Sample

From the manual

Key facts from this manual

Each line names its page in the PDF.

A Symbol programmer's manual (p/n 70-31577-01, Revision A, July 1997) for the run-time library in the PDT 3200 Developer's Toolkit. It lists the C functions for the terminal's BIOS, display, keyboard, power management, sound, serial ports and bar code settings, and shows how to compile a sample program with Borland or Microsoft C.

Read for this summary: pages 1 to 3, 9 to 11, 13 to 16, 25 to 27, 29 to 31, 132 to 133, 137, 139 to 141, 146, 153 and 163 to 165 of 168.

What it is
C run-time library (API) for BIOS services, serial communications and the bar code configuration driver p. 9
Library files
FALCS.LIB, FALCM.LIB and FALCL.LIB for the small, medium and large memory models p. 16
Compilers
Built with Borland C++ 4.52; links with Borland C++ or Microsoft C++ p. 16
Header files
filexfer.h, p_bios.h, p_cfg.h, p_supp.h, sio.h p. 16
Function groups
Advanced power management, serial communications, keyboard, time and date, sound, configuration programming p. 26, 27
Serial ports
COM1 and COM2 only p. 139
Baud rates
300, 1200, 2400, 4800, 9600, 19200, 38400, 57600 and 115200 baud p. 140
File transfer
Symbol ACK/NAK, ASCII dump and Xmodem protocols p. 146
Bar code settings
CFG_Read and CFG_Write, program codes 0 to 255, for Code 39, I 2/5, M 2/5, S 2/5, Code 11, Codabar/Ames, MSI, UPC-A, UPC-E and EAN/JAN p. 132, 133
Installation
Developer's Toolkit disk in drive A, run A:\SETUP p. 15
Sample program
KEYSAMP.C, installed to \3200\3200\SAMPLE p. 163
Related manuals
Product Reference Guide 70-31466-xx; Technical Reference Guide 70-31468-xx; Quick Reference Guide 70-31467-xx; Cradle Quick Reference Guide 70-31469-xx p. 11

What this manual walks you through

  • Installing the run-time library files p. 15
  • Choosing the library file for the memory model p. 16
  • Reading and writing bar code configuration settings p. 132, 133
  • Opening a serial port and setting data bits, stop bits, parity and baud rate p. 139, 140, 141
  • Uploading and downloading files over the serial port p. 146
  • Compiling and linking the sample with Borland C++ p. 163, 164
  • Compiling and linking the sample with Microsoft C++ p. 165

Good to know

  • Applications must be compiled and linked with the matching memory model library. p. 16
  • The GPO2 bit acts as a master interrupt enable and should not be changed when using interrupts. p. 141
  • Appending received data to a file works only with the Symbol ACK/NAK protocol. p. 146
  • A read or write buffer size of zero leaves that port's read or write interrupts off. p. 153

Questions this manual answers

Which compilers work with the PDT 3200 run-time library?

The libraries were built with Borland C++ 4.52 and can be linked with Borland C++ or Microsoft C++ in small, medium or large memory models. p. 16

Which PDT 3200 library file goes with the large memory model?

FALCL.LIB; FALCS.LIB is for small and FALCM.LIB for medium. p. 16

What baud rates does the PDT 3200 serial library support?

From 300 up to 115200 baud, including 9600, 19200, 38400 and 57600. p. 140

Which file transfer protocols can PDT 3200 programs use?

Symbol ACK/NAK, ASCII dump and Xmodem. p. 146

Contents

Chapters and sections

Each line opens the PDF at its page.

  1. About This Document9
    1. Overview9
    2. Audience9
    3. Chapter Descriptions10
    4. Notational Conventions10
    5. Related Publications11
  2. Chapter 1 Library Cross-Reference13
    1. Installing15
    2. Library Cross-Reference16
  3. Chapter 2 Function Reference29
    1. BIOS_ApmAudioBLI33
    2. BIOS_ApmBacklight35
    3. BIOS_ApmGetStatus36
    4. BIOS_ApmHighSpeed37
    5. BIOS_ApmInitialize38
    6. BIOS_ApmLowSpeed39
    7. BIOS_ApmSleepDisable40
    8. BIOS_ApmSleepEnable42
    9. BIOS_ApmTimeout43
    10. BIOS_ApmTimerInfo44
    11. BIOS_ClearScreen45
    12. BIOS_ClearViewport47
    13. BIOS_ClearWindow48
    14. BIOS_CursorOff49
    15. BIOS_CursorOn51
    16. BIOS_DisableCursorEmulation52
    17. BIOS_DisableVideo54
    18. BIOS_EnableCursorEmulation55
    19. BIOS_EnableVideo56
    20. BIOS_GetCursorPos57
    21. BIOS_GetCursorType58
    22. BIOS_GetCurXY59
    23. BIOS_GetDate60
    24. BIOS_GetDisplayPage62
    25. BIOS_GetFontInfo63
    26. BIOS_GetKbdCtrl64
    27. BIOS_GetKeyClick66
    28. BIOS_GetKeyExtFlags67
    29. BIOS_GetKeyFlags68
    30. BIOS_GetKeyInputState70
76 more lines, from page 73 on
  1. BIOS_GetKeyStatus73
    1. BIOS_GetSpeakerAlternate74
    2. BIOS_GetSpeakerVolume75
    3. BIOS_GetTickCount76
    4. BIOS_GetTime77
    5. BIOS_GetVideoColumns78
    6. BIOS_GetVideoMode79
    7. BIOS_GetViewportMode80
    8. BIOS_GetViewportPos82
    9. BIOS_GetViewportSize83
    10. BIOS_IsCursorOn84
    11. BIOS_KeyboardReadChar85
    12. BIOS_KeyboardWriteChar86
    13. BIOS_Load6x8Font87
    14. BIOS_Load8x16Font89
    15. BIOS_Load8x8Font90
    16. BIOS_LoadUserFont91
    17. BIOS_MoveViewportDown92
    18. BIOS_MoveViewportLeft93
    19. BIOS_MoveViewportRight94
    20. BIOS_MoveViewportUp95
    21. BIOS_ReadPixel96
    22. BIOS_RefreshDisplay97
    23. BIOS_ScrollPageDown98
    24. BIOS_ScrollPageUp99
    25. BIOS_ScrollViewportDown100
    26. BIOS_ScrollViewportUp101
    27. BIOS_SetCursorPos102
    28. BIOS_SetCursorStyle103
    29. BIOS_SetCursorType104
    30. BIOS_SetCurXY105
    31. BIOS_SetDate106
    32. BIOS_SetDisplayPage107
    33. BIOS_SetKbdCtrl108
    34. BIOS_SetKeyClick109
    35. BIOS_SetKeyInputState110
    36. BIOS_SetSpeakerAlternate111
    37. BIOS_SetSpeakerVolume112
    38. BIOS_SetTickCount113
    39. BIOS_SetTime114
    40. BIOS_SetVideoMode115
    41. BIOS_SetViewportMode116
    42. BIOS_SetViewportPos117
    43. BIOS_SpeakerAlternate118
    44. BIOS_SpeakerTone120
    45. BIOS_VideoReadCharAtt121
    46. BIOS_VideoWriteCharAtt123
    47. BIOS_VideoWriteCharOnly124
    48. BIOS_WriteAttribStr125
    49. BIOS_WriteAttribStrWithCur126
    50. BIOS_WriteCharTeleMode127
    51. BIOS_WritePixel128
    52. BIOS_WriteString129
    53. BIOS_WriteStringWithCur130
    54. BIOS_WriteStrXY131
    55. CFG_Read132
    56. CFG_Write135
  2. Chapter 3 Serial Communications137
    1. PORT Data Structure139
    2. SIO_AutoClose144
    3. SIO_Close145
    4. SIO_FileTransfer146
    5. SIO_FlushComm148
    6. SIO_GetComm149
    7. SIO_GetCommError150
    8. SIO_Keyflush151
    9. SIO_Keyhit152
    10. SIO_Open153
    11. SIO_Read155
    12. SIO_SetComm156
    13. SIO_Ticks157
    14. SIO_Time158
    15. SIO_Write159
  3. Chapter 4 A Program Sample161
    1. Borland Compilation163
    2. Microsoft Compilation165

From the PDF’s own bookmarks.

The whole text · 19 parts

Read the manual here as text

Its text as extracted from the PDF, unedited, in parts; each page opens the PDF at that page.

  1. Pages 1 to 81-8
  2. About This Document9-12
  3. Chapter 1 Library Cross-Reference, pages 13 to 2013-20
  4. Chapter 1 Library Cross-Reference, pages 21 to 2821-28
  5. Chapter 2 Function Reference, pages 29 to 3829-38
  6. Chapter 2 Function Reference, pages 39 to 4839-48
  7. Chapter 2 Function Reference, pages 49 to 5849-58
  8. Chapter 2 Function Reference, pages 59 to 6859-68
  9. Chapter 2 Function Reference, pages 69 to 7869-78
  10. Chapter 2 Function Reference, pages 79 to 8879-88
  11. Chapter 2 Function Reference, pages 89 to 9889-98
  12. Chapter 2 Function Reference, pages 99 to 10899-108
  13. Chapter 2 Function Reference, pages 109 to 118109-118
  14. Chapter 2 Function Reference, pages 119 to 128119-128
  15. Chapter 2 Function Reference, pages 129 to 136129-136
  16. Chapter 3 Serial Communications, pages 137 to 144137-144
  17. Chapter 3 Serial Communications, pages 145 to 152145-152
  18. Chapter 3 Serial Communications, pages 153 to 160153-160
  19. Chapter 4 A Program Sample161-168

The file

Revision and size

Part no.70-31577-01
RevisionRevision A, July 1997
PublisherSymbol Technologies, Inc.
Pages168
PDF949 KB
TextText from the PDF itself; page 161 is a scan, read by OCR, which may hold reading errors.
70-31577-01

The first pages · 3 of 168

Look before you download

Each page opens the PDF at that page.

Page 1
Page 1of 168
Page 2
Page 2of 168
Page 3
Page 3of 168