28.06.2013 Views

Advanced Teletext System User Guide

Advanced Teletext System User Guide

Advanced Teletext System User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4 <strong>Teletext</strong> Operating <strong>System</strong> Commands<br />

4.1 Introduction<br />

This chapter is only of interest if you intend to write your own programs to<br />

handle <strong>Teletext</strong> data.<br />

The <strong>Teletext</strong> Operating <strong>System</strong> (OS) commands allow you access to the<br />

facilities of <strong>Teletext</strong> from your own programs. Some of the commands should<br />

be used with care because they copy <strong>Teletext</strong> data into the computer's<br />

memory and if used incorrectly could corrupt your program. Certain of the<br />

Terminal's facilities, such as REVEAL, are not available as OS commands.<br />

These have to be implemented by your program if you wish to use them.<br />

Important: Before you use the <strong>Teletext</strong> OS commands you must issue a<br />

*TTXON command (see below) to tell the <strong>Teletext</strong> Adaptor to start accepting<br />

<strong>Teletext</strong> data. When you have finished with <strong>Teletext</strong>, issue a *TTXOFF<br />

command to turn of the Adaptor's <strong>Teletext</strong> reception. This is important, as the<br />

computer's memory may be corrupted by unexpected data arriving from the<br />

Adaptor.<br />

4.2 The Commands<br />

All the commands can be typed in from the keyboard or included in a BASIC<br />

program. Each command is described separately under the following<br />

headings:<br />

Description What the command does in functional terms.<br />

Syntax The actual command words and the order in which commands<br />

and data are arranged.<br />

Example An example of a string of commands including the one described.<br />

Note Additional information.<br />

As with any other BBC Microcomputer OS command, <strong>Teletext</strong> allows you to<br />

type abbreviations for its commands, such as *TE. for *TELETEXT, or<br />

*MAG. for *MAGAZINE.<br />

To avoid clashes of OS command names, the <strong>Teletext</strong> system allows an extra '<br />

T' to be placed before a command, e.g. *TTIME for *TIME, or *TPAGE for<br />

*PAGE.<br />

21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!