VERBatim - V119
VERBatim - V125
VERBatim - V118
Advanced Revelation Assembler Interface Module - Yves Pattyn, Technical Manager, Distribase, France
VERBatim - V70
VERBatim - V124
VERBatim - V70
VERBatim - V123
VERBatim - V124
VERBatim - V122
VERBatim - V124
VERBatim - V123
VERBatim - V124
Reader's Clinic - Preventing Records Being Amended
QTIPS - Finding/Replacing Spaces With The Editor
Reader's Clinic - Scribe Replace Processes in Window
VERBatim - V124
VERBatim - V124DBG
Redefining Keys
RTP Series - RTP53B
Prompt Help
VERBatim - V124
Popups
@ATTACK - @Environ.Set
@ATTACK - @Edit.Keys
@ATTACK - @Int.Const
@ATTACK - @HW
@ATTACK - @Modal
@ATTACK - @Move.Keys
@ATTACK - @Priority.Int
@ATTACK - @Macro.Mode
Utility Diskette # 3 - Part I
Utility Diskette # 3 - Part II
Utility Diskette # 4
QTIPS - Menus Without an Action Bar
Vroom
RTP Series - RTP5
VERBatim - V15
Play it Again, Cam
QTIPS - BASIC Options
Utility Diskette # 4
Version 2
Directory Exists on Novell
Gas Bar
Prompt Help
DOS Interfacing (Part II)
@ATTACK - @Help.Level
@ATTACK - @StatList
QTIPS - Standardising Error Message Display
Video Control
Customising the Status Line
QTIPS - File Handle Structure
Menus and Menu Drivers
QTIPS - Postscript Driver Problem
VERBatim - V126
Esc.To.Exit
Uncommon Knowledge - WC_WST_CHAR%
@ATTACK - @Scribe.State
Reader's Clinic - Scribe Replace Processes in Window
DOS Interfacing (Part II)
Reader's Clinic - Preventing Records Being Amended
How Indexes Are Updated
A RevTechie Replies - And Miscellaneous Jottings - Mike Pope - Revelation Technologies (UK) Ltd
Caching in on the Frames Array - Mike Pope
File Variables
Argument passing - Subroutines and Functions - Mike Pope
RevTech Replies - Mike Pope (RevTech UK Ltd)
Symbol Table Structure
@ATTACK - @Break
QTIPS - Break-On Date Fields
A RevTechie Replies - And Miscellaneous Jottings - Mike Pope - Revelation Technologies (UK) Ltd
Reader's Clinic - Suppressing Break-On Columns (Again!)
A RevTechie Replies - Mike Pope - Revelation Technologies (UK) Ltd
QTIPS - BREAK-ON Headings
The End of the Line - Mike Pope and Hal Wyman
QTIPS - RLIST Average / Total Results
What's New (and un(der)documented!) In 2.12
QTIPS - DOSTime
VERBatim - V11
@ATTACK - @Backgrnd.Time
@ATTACK - @Index.Time
QTIPS - Time-outs in Windows
RTP Series - RTP5
VERBatim - V22
Play it Again, Cam
Reader's Forum - Mark Hirst Revelation C Interface - Part 1
Reader's Forum - Numeric Precision in R/Basic - Hal Wyman
QTIPS - Use of Mouse
Reader's Forum The C Interface Part 2 - Mark Hirst (Senior Techie - ICS) Reader's Clinic
RTP Series - RTP38
VERBatim - V124
Rebuilding Indexes
QTIPS - Make.Index 2.11+
Index Flush
Caching in on the Frames Array - Mike Pope
Referential Integrity
Reader's Clinic - Line Length > 256 Characters
QTIPS - String Space
QTIPS - String Space Format Errors
Reader's Forum - Numeric Precision in R/Basic - Hal Wyman
REVMEDIA Revisted
QTIPS - Using @Upper.Case and @Lower.Case with Foreign Languages
Base Conversions
Utility Diskette # 3 - Part I
Sorting out Collation Sequences by Mike Pope
What's New (and un(der)documented!) In 2.12
@ATTACK - @Default.Stops
QTIPS - Stop Lists
Reader's Clinic - Stop Lists
QTIPS - Default Stop Lists
QTIPS - Manipulating XREF formulae.
VERBatim - V2
Viewer
@ATTACK - @Browse.Mode
@ATTACK - @File.Error.Mode
@ATTACK - @Macro.Mode
QTIPS - Using INIT.VIEW with Printers
@ATTACK - @Scroll.Mode
@ATTACK - @View.Mode
QUERY.SUB
What's New (and un(der)documented!) In 2.12
A RevTI Techie Replies - Mike Pope - Revelation Technologies (UK) Ltd
Redefining Keys
Background Processing
Reader's Clinic - Prompting for Passwords
Capture
Creating Your Own Background Processes
@ATTACK - @Edit.Keys
@ATTACK - @Index.Time
@ATTACK - @PlayBack
@ATTACK - @Priority.Int
How Indexes Are Updated
A RevTechie Replies - And Miscellaneous Jottings - Mike Pope - Revelation Technologies (UK) Ltd
QTIPS - Use of Mouse
QTIPS - Interrupt Proof Error Messages
Uncommon Knowledge - WC_Soft_Keys%
A RevTI Techie Replies - Mike Pope - Revelation Technologies (UK) Ltd
Version 3 Technical Highlights - Input.Char
Version 3 Technical Highlights - @Prog.Char
Version 3 Technical Highlights - Highlight

RevMedia FKB

DocumentV1I9A15
TitleVERBatim - V124
KeywordsV124
V122
V123
SERIAL
V124.TXT
UTILITY.DOC
PORT
FLUSH
TextThis is the assembler routine used for addressing the serial port It is the
routine called by both V122 abd V123 and can thus be used to replace both of
them The same caveat regarding device drivers applies V124 has been
documented by Dan Ellis on the RevTech bulletin board (1985) by RevTech in
the "System Subroutines" documentation available to Advantage subscribers
and in V124 TXT in UTILITY DOC Unfortunatley documentation is in part
conflicting and/or misleading so we present below details of CALLING V124

As V124 is an assembler routine it is passed varying numbers of parameters
depending upon the action to be taken but the basic parameters are

V124( Action Channel Info Amt Status )

where ACTION is the action to take CHANNEL is the handle assigned by DOS to
the device driver INFO is the data being sent to/from the driver/buffer
AMT is used to state the number of bytes to read FROM the driver/buffer and
STATUS is a flag variable

To utilise the serial port the device must first be opened (OP) and if
necessary configured (CI/CO) Information can then be either read (RD) or
written (WR) WITH the Break Key being checked for (TB) until all operations
are completed at which stage the device must be closed (CL) Please note
that before opening the device for the first time an RBASIC FLUSH should be
issued to ensure integrity of string space/data

OP
V124("OP" CHANNEL "COMM$" : CHAR(0) "" FLAG)
Note that INFO is here set to the DOS internal name for the port This
action opens the port to the channel and returns a FLAG of 0 for OK 1 for
fail

CI
V124("CI" CHANNEL INFOR 7 FLAG)
Returns a seven byte string in INFO containing the CURRENT port parameters
When a number is represented by a byte the ASCII character is returned not
the literal EG Char(2) not 2

Byte 1 the baud rate Returns a number between 0 and 15 this representing
a baud rate of 50 75 110 134 5 150 200 300 600 1200 1800 2000
2400 3600 4800 9600 or 19200 EG 0 = 50 14 = 9600 etc

Byte 2 number of stop bits

Byte 3 number of data bits

Byte 4 literal character for parity

Byte 5 Protocol byte If this Byte is CHAR(4) XOFF mode is set if
CHAR(16) STRIP nulls mode is set if CHAR(20) both modes are set

Byte 6 not used

Byte 7 break count

CO
V124("CO" CHANNEL INFO)
Used to set the CURRENT port parameters INFO should be loaded WITH a seven
byte string WITH LAYOUT as above When a number is represented by a byte
the ASCII character should be used not the literal EG CHAR(2) not 2 Note
that Byte 6 should be loaded WITH a CHAR(0)

RD
V124("RD" CHANNEL INFO)
The IO equivalent of an INPUT INFO 1 Returns whatever is waiting in the
buffer at the time the request was issued and waits for no special
characters to return

WR
V124("WR" CHANNEL INFO)
The IO equivalent of a PRINT : Places the INFO into the BUFFER for sending
along the serial LINE

TB
V124("TB" INFO)
Sees if break key has been hit and if so sends a break signal to the port

CL
V124("CL" CHANNEL)
Closes the channel to the port/device driver This MUST be DONE at the end
of a comms SESSION otherwise data corruption could occur

For examples of USING the above COMMANDS see V124 TXT on UTILITY DOC


(Volume 1 Issue 9 Pages 7 8)
[revmedia/copyrigh.htm]

Page last modified: 30/01/03