Amos Professional Manual  Contents  Index

Accessing a Serial Port


SERIAL ABORT
instruction: stop current data transfer
Serial Abort(channel number)

This command halts any serial operations that have been commenced by a SERIAL SEND or SERIAL OUT command, and leaves the channel clear. It allows an instant quit from a transfer, without the need to wait for current activities to be completed.

SERIAL BASE
function: get the address of the serial base
address=Serial Base

The SERIAL BASE function is especially useful for systems programmers. It returns the base address of the i/o structure of the current serial channel, allowing system functions to be called directly from an AMOS Professional program with EXEC. You are warned not to use this function unless you know precisely what you are doing, otherwise any mistakes can crash your computer.

Back    Next
10.04.06