The text of a manual · part 4 of 19
PDT 3200 Run-Time Library Reference Manual: Chapter 1 Library Cross-Reference, pages 21 to 28
Pages 21 to 28 of 168, from PDT 3200 Run-Time Library Reference Manual
The original document is the PDF (949 KB). 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 Symbol PDT-3200
Page 21
Chapter 1: Library Cross-Reference
Keyboard Click Settings P_KBDSOUND_BEEP P_KBDSOUND_CLICK P_KBDSOUND_OFF
0x02 0x01 0x00
Special Key-Sequence Controls P_KBDCTRL_PRGM P_KBDCTRL_REBOOT
0x01 0x02
Speaker Services Constants
Volume Controls P_SNDVOL_DOWN P_SNDVOL_OFF P_SNDVOL_UP
0x09 0x00 0x08
Advanced Power Management Constants
APM Return or Error Codes The following constants check return values produced by the BIOS_Apm... library routines: APM_ERR_CONNECTED APM_ERR_DEVICEID APM_ERR_DISABLED APM_ERR_DISENGAGED APM_ERR_LOWBAT APM_ERR_NOCONNECT APM_ERR_NONE APM_ERR_OUTOFRANGE APM_ERR_PENDING APM_ERR_STATE APM_ERR_UNKNOWN
0x02 0x09 0x01 0x0B 0x81 0x03 0x00 0x0A 0x80 0x60 0xFF
APM High-Speed Clock Speeds The following constants are used when calling BIOS_ApmHighSpeed(): APM_HSCLK_20MHZ APM_HSCLK_25MHZ APM_HSCLK_OFF
0x0002 0x0003 0x0000
1-9
Page 22
PDT 3200 Run-Time Library Reference Manual
APM_HSCLK_ON
0x0001
APM Low-Speed Clock Speeds The following constants are used when calling BIOS_ApmHighSpeed(): APM_CLK_1MHZ APM_CLK_2MHZ APM_CLK_4MHZ APM_CLK_9MHZ
0x0003 0x0002 0x0001 0x0000
Communications Port Constants
Port Identifier The following constants set port ID in the PORT data structure. Note that COM3 and COM4 are not yet supported: SIO_COM1 SIO_COM2 SIO_MAX_PORTS
0 1 2
Format Settings The following constants set parity in the PORT data structure: SIO_EVEN_PARITY SIO_MARK_PARITY SIO_NO_PARITY SIO_ODD_PARITY SIO_SPACE_PARITY
0x18 0x28 0x00 0x08 0x38
The following constants set stop bits in the PORT data structure: SIO_ONE_STOPBIT SIO_ONE5_STOPBITS SIO_TWO_STOPBITS
0x00 0x00 0x04
The following constants set data bits in the PORT data structure: SIO_EIGHT_DATABITS SIO_FIVE_DATABITS SIO_SEVEN_DATABITS SIO_SIX_DATABITS
1-10
0x03 0x00 0x02 0x01
Page 23
Chapter 1: Library Cross-Reference
Baud Rates The following constants set baud rate in the PORT data structure: SIO_BAUD_300 SIO_BAUD_1200 SIO_BAUD_2400 SIO_BAUD_4800 SIO_BAUD_9600 SIO_BAUD_19K SIO_BAUD_38K SIO_BAUD_56K SIO_BAUD_115K
300 1200 2400 4800 9600 19200 38400L 57600L 115200L
Transfer Protocol The following constants set protocol in the PORT data structure. The protocol setting is used by SIO_FileTransfer(). SIO_ASCIIDUMP SIO_PACKNAK SIO_XMODEM
0x03 0x01 0x02
Interrupt Enabling The following constants set interrupts in the PORT data structure: SIO_INTR_NONE SIO_INTR_READ
0x00 0x01
Error Codes The following constants check the error code returned by SIO_GetCommError(): SIO_BREAK_DETECT SIO_DATAREADY SIO_FRAMING_ERR SIO_LINEERRORS SIO_OVERRUN_ERR SIO_PARITY_ERR SIO_READBUFFERFULL SIO_TRANSBUFFEMPTY SIO_TRANSEMPTY SIO_WRITEBUFFERFULL
0x010 0x001 0x008 0x01e 0x002 0x004 0x100 0x020 0x040 0x080
1-11
Page 24
PDT 3200 Run-Time Library Reference Manual
The following constants check the error code returned by SIO_FileTransfer(): SIO_ERR_FILEAPPEND SIO_ERR_FILECREATE SIO_ERR_FILEOPEN SIO_ERR_FILEWRITE SIO_ERR_INVALIDFTP SIO_ERR_KEYSTROKE SIO_ERR_LINELENGTH SIO_ERR_MALLOC SIO_ERR_NONE SIO_ERR_NOTDONE SIO_ERR_PACKETNBR SIO_ERR_TIMEOUT SIO_ERR_UNKNOWN
-103 -102 -101 -104 -1 -4 -201 -202 0 -901 -204 -3 -900
File Transfer Parameters The following constants set the Flags parameter in SIO_FileTransfer(): SIO_FLG_APPEND SIO_FLG_RECEIVE SIO_FLG_TRANSMIT
0x0004 0x0002 0x0001
Flush Comm Buffer Parameters The following constants set the Flags parameter in SIO_FlushComm(): SIO_FLUSHALL SIO_FLUSHREAD SIO_FLUSHWRITE
0x03 0x01 0x02
Routines by Category Video BIOS_ClearScreen BIOS_ClearViewport BIOS_ClearWindow BIOS_CursorOff BIOS_CursorOn BIOS_DisableCursorEmulation BIOS_DisableVideo
1-12 p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h
Page 25
Chapter 1: Library Cross-Reference
BIOS_EnableCursorEmulation BIOS_EnableVideo BIOS_GetCursorPos BIOS_GetCursorType BIOS_GetCurXY BIOS_GetDisplayPage BIOS_GetFontInfo BIOS_GetVideoColumns BIOS_GetVideoMode BIOS_GetViewportMode BIOS_GetViewportPos BIOS_GetViewportSize BIOS_IsCursorOn BIOS_Load6x8Font BIOS_Load8x8Font BIOS_Load8x16Font BIOS_LoadUserFont BIOS_MoveViewportDown BIOS_MoveViewportLeft BIOS_MoveViewportRight BIOS_MoveViewportUp BIOS_ReadPixel BIOS_RefreshDisplay BIOS_ScrollPageDown BIOS_ScrollPageUp BIOS_ScrollViewportDown BIOS_ScrollViewportUp BIOS_SetCursorPos BIOS_SetCursorStyle BIOS_SetCursorType BIOS_SetCurXY BIOS_SetDisplayPage BIOS_SetVideoMode BIOS_SetViewportMode BIOS_SetViewportPos BIOS_VideoReadCharAtt BIOS_VideoWriteCharAtt BIOS_VideoWriteCharOnly BIOS_WriteAttribStr BIOS_WriteAttribStrWithCur p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h
1-13
Page 26
PDT 3200 Run-Time Library Reference Manual
BIOS_WriteCharTeleMode BIOS_WritePixel BIOS_WriteString BIOS_WriteStringWithCur BIOS_WriteStrXY p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h
Advanced Power Management BIOS_ApmAudioBLI BIOS_ApmBacklight BIOS_ApmGetStatus BIOS_ApmHighSpeed BIOS_ApmInitialize BIOS_ApmLowSpeed BIOS_ApmSleepDisable BIOS_ApmSleepEnable BIOS_ApmTimeout BIOS_ApmTimerInfo p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h
Serial Communications SIO_AutoClose SIO_Close SIO_FileTransfer SIO_FlushComm SIO_GetComm SIO_GetCommError SIO_Keyflush SIO_Keyhit SIO_Open SIO_Read SIO_SetComm SIO_Ticks SIO_Time SIO_Write sio.h sio.h sio.h sio.h sio.h sio.h sio.h sio.h sio.h sio.h sio.h sio.h sio.h sio.h
Keyboard BIOS_GetKbdCtrl BIOS_GetKeyClick BIOS_GetKeyExtFlags BIOS_GetKeyFlags
1-14 p_bios.h p_bios.h p_bios.h p_bios.h
Page 27
Chapter 1: Library Cross-Reference
BIOS_GetKeyInputState BIOS_GetKeyStatus BIOS_KeyboardReadChar BIOS_KeyboardWriteChar BIOS_SetKbdCtrl BIOS_SetKeyClick BIOS_SetKeyInputState p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h
Time and Date BIOS_GetDate BIOS_GetTickCount BIOS_GetTime BIOS_SetDate BIOS_SetTickCount BIOS_SetTime p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h
Sound BIOS_SpeakerAlternate BIOS_SpeakerTone BIOS_GetSpeakerAlternate BIOS_GetSpeakerVolume BIOS_SetSpeakerAlternate BIOS_SetSpeakerVolume p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h p_bios.h
ConÞguration Programming CFG_Read CFG_Write p_cfg.h p_cfg.h
1-15
Page 28
PDT 3200 Run-Time Library Reference Manual
1-16