28.06.2013 Views

Advanced Teletext System User Guide

Advanced Teletext System User Guide

Advanced Teletext System User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Advanced</strong><br />

<strong>Teletext</strong> <strong>System</strong><br />

USER GUIDE


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

WARNING: THE TELETEXT ADAPTOR MUST BE EARTHED<br />

Important: The wires in the mains lead for the <strong>Teletext</strong> Adaptor are coloured in accordance with the following<br />

code:<br />

Green and yellow Earth<br />

Blue Neutral<br />

Brown Live<br />

As the colours of the wires may not correspond with the coloured markings identifying the terminals in your<br />

plug, proceed as follows:<br />

The wire which is coloured green and yellow must be connected to the terminal in the plug which is marked by<br />

the letter E, or by the safety earth symbol, or coloured green, or green and yellow.<br />

The wire which is coloured blue must be connected to the terminal which is marked with the letter N, or<br />

coloured black or blue.<br />

The wire which is coloured brown must be connected to the terminal which is marked with the letter L, or<br />

coloured red or brown.<br />

If the socket outlet is not suitable for the plug supplied, the plug should be cut off and the appropriate plug fitted<br />

and wired as previously noted. The moulded plug which was cut off should be disposed of as it would be a<br />

potential shock hazard if it were to be plugged in with the cut off end of the mains cord exposed. The moulded<br />

plug must be used with the fuse and fuse carrier firmly in place. The fuse carrier is of the same basic colour* as<br />

the coloured insert in the base of the plug. Different manufacturer's plugs and fuse carriers are not<br />

interchangeable. In the event of loss of the fuse carrier, the moulded plug MUST NOT be used. Either replace<br />

the moulded plug with another conventional plug wired as previously described, or obtain a replacement fuse<br />

carrier from an authorised BBC Microcomputer dealer. In the event of the fuse blowing it should be replaced,<br />

after clearing any faults, with a 3 amp fuse that is ASTA approved to BS1362.<br />

* Not necessarily the same shade of that colour.<br />

Within this manual and associated software, the letters BBC refer to the British Broadcasting Corporation. The<br />

term 'BBC Micro' refers to the computer manufactured by Acorn Computer PLC under licence from the BBC. `<br />

Tube' and 'Econet' are registered trademarks of Acorn Computer PLC.<br />

All rights reserved. No part of this Manual (except brief passages quoted for critical purposes) or of the<br />

computer programs to which it relates, may be reproduced or translated in any form or by any means,<br />

electronic, mechanical or otherwise, without the prior consent of the copyright owner.<br />

Disclaimer: Because neither the BBC nor Acorn Computer PLC have any control over the circumstances of use<br />

of the programs, no warranty is given or should be implied as to the suitability of the programs described in this<br />

manual for any particular application. No liability can be accepted for any consequential loss or damage,<br />

however caused, arising as a result of the operation of the program.<br />

©BBC Enterprises Limited 1986<br />

First published 1986, revised reprint October 1986<br />

Published by BBC Publications, a division of BBC Enterprises Limited.<br />

35 Marylebone High Street, London W1M 4AA<br />

Printed in the United Kingdom by Grange Press Ltd., London. ISBN 0 563<br />

21310 8<br />

2


Contents<br />

Introduction 6<br />

1 Getting Started 7<br />

1.1 The Components 7<br />

1.2 Connecting up the Units 7<br />

1.3 Tuning the <strong>Teletext</strong> Adaptor 9<br />

2 The <strong>Teletext</strong> Terminal 11<br />

2.1 Enter the Terminal 11<br />

2.2 Leave the Terminal 11<br />

2.3 Select a Page 12<br />

2.4 Change Channel 12<br />

2.5 Tune a Channel 13<br />

2.6 Reveal and Conceal 13<br />

2.7 Hold and Release a Page 13<br />

2.8 Select a Sub-Page 13<br />

2.9 Load a Page 14<br />

2.10 Save a Page to File 14<br />

2.11 Kept Pages 14<br />

2.12 Terminal Status 15<br />

2.13 Operating <strong>System</strong> Commands 15<br />

2.14 Previous Page 15<br />

2.15 Telesoftware 16<br />

3 The Telesoftware Terminal 17<br />

3.1 Introduction 17<br />

3.2 Ordered and Disordered Files 17<br />

3.3 Differences Related to Filing <strong>System</strong>s 18<br />

3.4 Downloading a File 18<br />

Contents<br />

3


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

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

4.1 Introduction 21<br />

4.2 The Commands: 21<br />

*BBC 22<br />

*CH 22<br />

*DATA 23<br />

*DATE 23<br />

*DISPLAY 24<br />

*HOFF 24<br />

*HON 25<br />

*ITV 25<br />

* MAGAZINE 26<br />

*NOTTX 26<br />

*PAGE 27<br />

*S4C 27<br />

*TELESOFT 28<br />

*TELETEXT 28<br />

*TIME 29<br />

*TRANSFER 29<br />

*TTX 30<br />

*TUNE 30<br />

5 <strong>Teletext</strong> OSWORD Commands 31<br />

5.1 Introduction 31<br />

5.2 The OSWORD Commands 32<br />

6 Technical Information 41<br />

6.1 The <strong>Teletext</strong> Data Format 41<br />

6.2 The Catalogue File Format 43<br />

6.3 The <strong>Teletext</strong> Character Set 45<br />

6.4 The <strong>Teletext</strong> Control Codes 46<br />

A What is <strong>Teletext</strong> ? 49<br />

B Hints on Receiving <strong>Teletext</strong> 50<br />

C UK Network Identities 52<br />

4


D CP/M, PANOS, & DOS+ Telesoftware 53<br />

E The Copyright Position on Telesoftware 54<br />

F Fitting the <strong>Teletext</strong> ROM 55<br />

G Summary of <strong>Teletext</strong> OS Commands 59<br />

H Summary of Terminal Keys 60<br />

IMPORTANT<br />

Contents<br />

IF YOU ARE RECEIVING TELETEXT ON AN ORDINARY TELEVISION<br />

RECEIVER YOU ARE COVERED BY YOUR EXISTING TELEVISION LICENCE,<br />

WHICH OF COURSE, MUST BE VALID. IF YOU DO NOT HAVE A TELEVISION<br />

RECEIVER BUT ARE RECEIVING TELETEXT WITH THE AID OF A VIDEO<br />

MONITOR UNIT, YOU MUST HAVE A COLOUR OR BLACK AND WHITE<br />

TELEVISION LICENCE DEPENDING ON WHETHER YOUR MONITOR IS<br />

COLOUR OR BLACK AND WHITE.<br />

5


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

Introduction<br />

This <strong>User</strong> <strong>Guide</strong> contains all the information you need to use the BBC <strong>Teletext</strong><br />

Adaptor.<br />

Chapter 1 explains how to connect up the <strong>Teletext</strong> Adaptor and tune it in.<br />

Chapter 2 describes the facilities available with the <strong>Teletext</strong> Terminal.<br />

Chapter 3 describes how to download Telesoftware.<br />

Chapter 4 describes the extra Operating <strong>System</strong> commands that the <strong>Teletext</strong><br />

ROM provides.<br />

Chapter 5 gives details of the OSWORD call used by the <strong>Teletext</strong> software.<br />

Chapter 6 gives detailed technical information on the data formats and the<br />

<strong>Teletext</strong> character set.<br />

Appendix A explains just what <strong>Teletext</strong> is.<br />

Appendix B gives hints and advice on <strong>Teletext</strong> reception.<br />

Appendix C is a table of Network Identity Codes for the United Kingdom.<br />

Appendix D explains about using PANOS, CP/M and DOS+ Telesoftware.<br />

Appendix E is a statement about copyright of BBC Telesoftware.<br />

Appendix F explains how to insert the <strong>Teletext</strong> ROM.<br />

Appendix G is a summary of the Operating <strong>System</strong> commands.<br />

Appendix H is a summary of the Terminal keys.<br />

6


1 Getting Started<br />

1.1 The Components<br />

You should have :<br />

One <strong>Teletext</strong> ROM<br />

A function key strip<br />

This manual<br />

A BBC Microcomputer <strong>System</strong> <strong>Teletext</strong> Adaptor<br />

You will not need a new aerial lead as the existing television aerial lead can be<br />

used.<br />

The <strong>Teletext</strong> ROM will operate with any BBC model B, B+, or Master<br />

Microcomputer which uses Operating <strong>System</strong> version 1.2 or higher. If you are<br />

not sure which operating system your computer uses, switch it on, then type<br />

*FX0 and press RETURN.<br />

You will see the letters OS plus a number. If this number is 1.20 or higher, you<br />

can go straight on to the next section. If you see:<br />

OS0.10 or OS1.00<br />

your operating system is unsuitable and to use <strong>Teletext</strong> you must fit a newer<br />

operating system ROM to your machine (your Acorn dealer will advise you on<br />

this).<br />

1.2 Connecting up the Units<br />

The first thing to do is to ensure that the <strong>Teletext</strong> ROM is installed correctly (<br />

see Appendix F).<br />

Next, refer to Figure 1 which shows the microcomputer and <strong>Teletext</strong> Adaptor<br />

and connect up the system as follows:<br />

1. Connect the 34-way plug on the <strong>Teletext</strong> Adaptor 'ribbon' cable to the the<br />

socket labelled '1MHz BUS' on the underside of the computer.<br />

Caution: This plug may fit both ways round - the correct way is with the arrow<br />

at one end of the plug aligned with the arrow next to the '1MHz BUS' label. IF<br />

THE PLUG WILL NOT FIT, EXAMINE THE SOCKET FOR DAMAGE<br />

AND OBSTRUCTIONS. DO NOT USE EXCESSIVE FORCE.<br />

7


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

2. Disconnect the aerial lead from the back of your television set and reconnect<br />

it to the standard television aerial socket on the back of the <strong>Teletext</strong><br />

Adaptor.<br />

Note: Indoor aerials don't generally provide a strong enough signal. You will in<br />

all probability need a loft or externally mounted aerial. If you don't think your<br />

aerial is good enough refer to Appendix B, or consult your TV dealer.<br />

3. Place the key strip under the clear plastic trim at the top of the computer<br />

keyboard.<br />

4. Switch on the <strong>Teletext</strong> Adaptor, then switch on the monitor, microcomputer<br />

and storage device (e.g. disc drive or cassette machine) if fitted. IT IS<br />

IMPORTANT THAT THE TELETEXT ADAPTOR IS SWITCHED ON<br />

BEFORE THE MICROCOMPUTER, otherwise you will have to press<br />

BREAK on your computer after switching on the Adaptor.<br />

To check that all is well, type *HELP and then press RETURN.<br />

A message similar to the following should be displayed :<br />

ATS 2.50 (BBC1)<br />

The HELP text for any other ROMs you have in your computer may also be<br />

displayed.<br />

If the message 'No TTX Unit' appears, it means that the <strong>Teletext</strong> ROM cannot `<br />

find' the <strong>Teletext</strong> Adaptor, so check that the Adaptor is connected properly. If<br />

the message 'No Power' appears, check that the Adaptor is switched on and<br />

connected to the mains. The message 'No Signal' means that the Adaptor is not<br />

tuned in, or the aerial is not connected.


1.3 Tuning the <strong>Teletext</strong> Adaptor<br />

Getting Started<br />

The <strong>Teletext</strong> Adaptor can be tuned to four separate channels, assigned<br />

numbers one to four. We recommend that you allocate these channels as :<br />

Channel 1 - BBC1<br />

Channel 2 - BBC2<br />

Channel 3 - ITV<br />

Channel 4 - Ch4 or S4C<br />

If you tune the channels in a different order, the channel selection commands<br />

such as *BBC1 may not work properly.<br />

The procedure for tuning in the system to receive each channel is as follows :<br />

1. Type in *TELETEXT on the computer then press the RETURN key. The<br />

message 'BBC1' will appear in the top left of the screen.<br />

2. Press the SHIFT key together with the red function key f1 (BBC1) to select<br />

channel 1.<br />

3. Press the SHIFT and f0 (Tune) keys together.<br />

Your screen will display a station tuning scale (see Figure 3). A bar indicates<br />

the strength of the <strong>Teletext</strong> signal received. Maximum signal strength is<br />

achieved when this bar is as long as the scale (100%).<br />

4. Turn the number 1 tuning control on the rear of the Adaptor (Figure 2) to<br />

one end of its travel (this is indicated by a 'clicking' as you turn the control).<br />

Now,very slowly turn the control over its full travel. You will see the tuning<br />

bar suddenly increase in length as you tune into a BBC or IBA <strong>Teletext</strong><br />

channel. This is accompanied by the channel and page numbers at the top of<br />

the screen. When you have found the longest tuning bar together with the<br />

messages CEEFAX and BBC1 you are correctly tuned into channel 1. (<br />

CEEFAX pages begin with 1 on BBC1, and 2 on BBC2.) REMEMBER, YOU<br />

CAN RECEIVE ALL FOUR TELETEXT CHANNELS ON EACH TUNING<br />

CONTROL, SO MAKE SURE YOU GET THE RIGHT CHANNEL.<br />

5. Press the SPACE-BAR on your keyboard and repeat steps 2 to 4 for<br />

channels 2, 3, and 4. The only differences are:<br />

In step 2, you should press the appropriate channel selection button, with<br />

SHIFT.<br />

In step 4, you should rotate the appropriate tuning control (number 2, 3, or 4).<br />

9


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

6. When you have tuned in all four channels, press the SPACE-BAR. This will<br />

remove the tuning scale and a <strong>Teletext</strong> index page will be automatically<br />

displayed. This is the index page for the channel you tuned last.


2 The <strong>Teletext</strong> Terminal<br />

The <strong>Teletext</strong> Terminal behaves in the same way as the <strong>Teletext</strong> section of a<br />

television. However, it also has some extra facilities. Instead of using a remote<br />

keypad you use the BBC Microcomputer's keyboard and function keys. The<br />

function key strip should be placed above the red function keys when using the<br />

Terminal.<br />

2.1 Enter the Terminal<br />

To select the <strong>Teletext</strong> Terminal, type *TELETEXT and press RETURN. BBC1<br />

CEEFAX is selected by default and the initial page is displayed once it has<br />

been received. This initial page is usually an index to the service.<br />

At the top of the screen you will see a line of text which is constantly<br />

changing. This consists of :<br />

The channel title, or page number selected<br />

The name of the <strong>Teletext</strong> service (e.g. CEEFAX )<br />

The page number indicator, which displays the page number of the page<br />

presently being transmitted<br />

The date and time<br />

2.2 Leave the Terminal<br />

To leave the Terminal, press f9.<br />

If you are using a co-processor (e.g. 6502 second processor, etc.), this will<br />

return you to the language or application that you called <strong>Teletext</strong> from.<br />

Normally, any programs, or data, will remain intact. If you are not using a coprocessor,<br />

pressing f9 will start BASIC; any programs, or data, will be lost.<br />

The BREAK key<br />

In order to work properly with different co-processors, the Terminal does not<br />

start up as a language if you are using a co-processor. This means that if you<br />

press BREAK, you will leave the Terminal and you will return to the previous<br />

language, or application. On systems without co-processors, pressing BREAK<br />

will re-initialise the Terminal, and clear any 'kept' pages (see Section 2.11).<br />

11


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

2.3 Select a Page<br />

To select a page, simply enter the page number using the number keys. The<br />

number you enter will appear at the top left of the screen, preceded by the<br />

letter 'P' for PAGE. If you make a typing error, or simply want to replace the<br />

last digit entered, press DELETE.<br />

When all three page number digits have been entered, the Terminal will start<br />

looking for the page. The middle section of the top line will turn green to<br />

indicate that a page is being searched for. When the page is found, the<br />

Terminal displays it immediately and the top line of the screen turns white,<br />

signalling that the page has been found. The page number may also change<br />

colour. Red indicates that the page is corrupted or incomplete, and yellow<br />

means that the Terminal is unable to determine whether the page is alright or<br />

not.<br />

Note that you can instruct the Terminal to look for a new page while it is still<br />

searching for the one you initially specified. It will automatically start looking<br />

for the new page when you enter the last digit.<br />

At the bottom of the screen there may be a series of coloured boxes, followed<br />

by page numbers, or alternatively, a series of coloured 'keywords'. These<br />

correspond to the four coloured blocks on the keystrip (f1 to f4). They show<br />

that the current page has 'links' to other pages. These links tell the Terminal<br />

that the pages specified are likely to be selected next, so it should capture them<br />

if they come by. This means that if you select one of these pages, either by<br />

entering its page number, or by pressing one of the coloured buttons, it will be<br />

displayed more quickly. If the bottom line contains coloured keywords, this<br />

means that the <strong>Teletext</strong> Editors controlling the broadcast have told the<br />

Terminal what sort of page the links point to.<br />

Next to the four coloured keys you will find the INDEX button (f0). Normally,<br />

pressing this will take you back to the index page. This may be the main index<br />

page, or a sub-index, such as the sport index.<br />

2.4 Change Channel<br />

To change channel at any time, press one of the four function keys f1 to f4,<br />

while holding down the SHIFT key. This will clear any kept pages and the<br />

Terminal will start to look for the initial page of the channel chosen.<br />

12


2.5 Tune a Channel<br />

The <strong>Teletext</strong> Terminal<br />

Pressing SHIFT and f0 will display the tuning bar and scale. See `Tuning the<br />

<strong>Teletext</strong> Adaptor' (Section 1.3) for more details on tuning channels.<br />

When you have finished tuning, press the SPACE-BAR to leave the tuning<br />

routine.<br />

Note: The Adaptor will resist any attempt to retune a channel unless the system<br />

is in tuning mode.<br />

2.6 Reveal and Conceal<br />

Certain <strong>Teletext</strong> pages contain 'concealed' information. These include quizzes,<br />

jokes, etc. They usually contain a phrase such as :<br />

Press REVEAL for the answers<br />

To display the concealed information you should press f6. This will `reveal' the<br />

information and put the page on `hold' (see the following section). Press f6 to<br />

conceal the information again and release the page.<br />

2.7 Hold and Release a Page<br />

Pressing the f7 key will hold the currently displayed page and stop it from<br />

being updated by subsequent rolling pages. The clock display in the top righthand<br />

corner will be replaced by the word 'HOLD'.<br />

To release the page, and allow it to be updated, press f7 again. The clock<br />

display should re-appear. The page is automatically released when a new page<br />

number is entered.<br />

2.8 Select a Sub-Page<br />

Some <strong>Teletext</strong> pages consist of more than one screenful of text. The individual<br />

pages are transmitted in sequence. A good example of this is Newsreel on<br />

BBC1. This consists of about a dozen 'sub-pages'. Each of these sub-pages has<br />

a number from one upwards. If you wish to select a particular sub-page, you<br />

should press f8. The clock display in the top right-hand corner of the screen<br />

will be replaced by an 'S' followed by four dashes. Any numbers you now type<br />

will replace the dashes in the same way as they do when entering a page<br />

number, except this time there are four digits to enter. DELETE works in the<br />

13


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

same way as for page numbers. Leading zeros are important and must be<br />

entered; sub-page twelve, for example, would be entered as 0012, sub-page<br />

three would be entered as 0003, etc.<br />

Once four digits have been entered, the Terminal will start searching for the<br />

sub-page specified.<br />

To return to entering page numbers rather than sub-page numbers, press f8 .<br />

2.9 Load a Page<br />

If you wish to display a Mode 7 screen stored on the current filing system (<br />

disc, network, etc.), press the SHIFT and f6 keys. The message 'Load Page : '<br />

is displayed, followed by a flashing line.<br />

Type the filename of the screen you want to load, and press RETURN.<br />

The screen is then displayed, along with the message 'Press SPACE to continue'.<br />

When you press the SPACE-BAR, the top line starts to change again and the<br />

page displayed before you pressed SHIFT f6 re-appears.<br />

2.10 Save a Page to File<br />

To save a page of <strong>Teletext</strong> to the currently selected filing system, such as disc<br />

or network, press the SHIFT and f7 keys. The message 'Save Page : ' is<br />

displayed, followed by a flashing line.<br />

Type in the filename for the page and press RETURN. (See the filing system's<br />

user guide for more information on filenames.)<br />

The page is then stored in a file. If an error occurs when saving the page, a<br />

message is displayed.<br />

When the page has been saved, the Terminal is ready for another command.<br />

2.11 Kept Pages<br />

If you are using <strong>Teletext</strong> for long periods at a time, you will find there are<br />

pages which you want to keep returning to, such as news and financial<br />

headlines, the sports results, or the weather. The Terminal has the ability to `<br />

keep' some of these pages for you, updating them when it can, so that when<br />

you select them, they appear immediately, without your having to wait for<br />

them to<br />

14


The <strong>Teletext</strong> Terminal<br />

come round. The number of pages that can be kept in this manner is determined<br />

by the memory available in the computer. It ranges from about 7 to 11 pages.<br />

To keep a page, select its page number in the usual way and press COPY. The<br />

message `Kept' will appear at the bottom of the screen and the computer will<br />

beep. You can now go and select another page to be kept, without having to<br />

wait for the previous page to be displayed. If you fill up all the available space<br />

for kept pages, the message `Buffer Full' will be displayed, and the page will<br />

not be kept.<br />

To release a kept page, select its page number and press COPY again. The<br />

message `Released' will appear and the computer will beep.<br />

To release all the kept pages, press SHIFT and COPY together. The message `<br />

All Released' will be displayed, and the computer will beep.<br />

To see what pages have been kept, use the `Terminal Status' facility (Section 2.<br />

12).<br />

2.12 Terminal Status<br />

To see what pages the Terminal is currently looking for, together with any kept<br />

pages, press the RETURN key on its own. The screen will display a page<br />

showing the page numbers.<br />

To return to the main Terminal mode, press the SPACE-BAR.<br />

2.13 Operating <strong>System</strong> Commands<br />

If you wish to perform an OS command, press the * on the keyboard and enter<br />

the command, followed by RETURN. The command will then be executed and<br />

the message 'Press SPACE to continue' will appear. If you wish to perform<br />

another OS command, press * again.<br />

2.14 Previous Page<br />

When you are looking at pages which have more than one sub-page, the page<br />

is often updated before you have had time to read it. To get round this problem,<br />

the Terminal has a `previous page' facility. Pressing TAB switches between the<br />

current page and the previous page, giving you more time to read the pages. If<br />

another new page arrives, it is automatically displayed and TAB then switches<br />

between it and the previous page.<br />

15


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

2.15 Telesoftware<br />

If you wish to download a Telesoftware file, you should first select the correct<br />

channel and then press f5. This starts the Telesoftware Terminal. For more<br />

information on how to use the Telesoftware Terminal, see the next chapter.


3 The Telesoftware Terminal<br />

3.1 Introduction<br />

`Telesoftware' is the name given to any software that is distributed by<br />

electronic means, e.g. <strong>Teletext</strong> and Viewdata.<br />

The <strong>Teletext</strong> Terminal has a built-in Telesoftware Terminal for downloading<br />

programs and data files onto your local filing system (e.g. disc or Econet). This<br />

makes the business of using Telesoftware very easy.<br />

Telesoftware files are divided into sections, called 'blocks'. Each of these<br />

blocks occupies one sub-page of a <strong>Teletext</strong> page. Normally, a block contains<br />

about 800 bytes of information, encoded in a special format called 'Redefinable<br />

Telesoftware Format' (RTF). This format is very complex and it is beyond the<br />

scope of this manual to describe it.<br />

3.2 Ordered and Disordered Files<br />

There are two sorts of file in Telesoftware. One is the 'ordered' file and the<br />

other is a 'disordered' file.<br />

Ordered files have to be downloaded in strict order, starting from block 1 of<br />

the file and carrying on until the end of the file. If an error occurs, in the fourth<br />

block of the file, for example, the Telesoftware Terminal has to wait for the<br />

fourth block to come round again before it can continue downloading the file.<br />

This makes ordered files very time-consuming to download, if you do not have<br />

a perfect signal from you aerial.<br />

Disordered files can be downloaded in any order. Say the Telesoftware<br />

Terminal is downloading a file; it downloads the fourth and fifth blocks, but an<br />

error occurs in the sixth block. Well, it will skip the sixth block and download<br />

the seventh. It will carry on downloading blocks until the loading cycle comes<br />

round to the fourth block again. It will then wait for the sixth block, without<br />

doing any downloading, and attempts to download the block again. This ability<br />

to load the blocks in any order makes disordered files far more convenient.<br />

Most files on CEEFAX are disordered.<br />

17


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

3.3 Differences Related to Filing <strong>System</strong>s<br />

The operation of the Telesoftware Terminal differs slightly if you are using the<br />

cassette filing system instead of disc or Econet.<br />

Normally, when using disc or Econet, each block of a file is saved as it is<br />

received. This allows the Terminal to download larger files than would<br />

otherwise fit in memory.<br />

Cassettes are not fast enough to save each block as it is received, so if you are<br />

using cassettes to store files, rather than discs or Econet, blocks have to be<br />

stored in memory until the whole file has been received. This means that<br />

cassette users cannot download some of the very large files available on<br />

Telesoftware.<br />

3.4 Downloading a File<br />

On <strong>Teletext</strong> services that carry Telesoftware there is a special page called the `<br />

catalogue'. This page contains a Telesoftware file which has details of all the<br />

programs currently available on the service. The actual position of this page is<br />

not defined, but the Telesoftware Terminal can find it by using a 'link' from the<br />

index page.<br />

To download a file, follow this procedure :<br />

1. Enter the <strong>Teletext</strong> Terminal.<br />

2. If you are using discs you should place a disc with sufficient room to store<br />

the programs in the drive. ADFS users must use a *MOUNT command to<br />

inform the computer that they have changed discs.<br />

3. Press f5 (Telesoftware).<br />

The computer will now look for the catalogue of Telesoftware. If there is no<br />

catalogue, an error message will be displayed. It may take the computer several<br />

seconds to find the catalogue so please be patient.<br />

Once the catalogue has been found, the first few entries are displayed on the<br />

screen. Only those entries that say they are suitable for the BBC<br />

Microcomputer will be displayed.<br />

4. Scroll through the list using the UP and DOWN cursor keys to move the<br />

coloured bar.<br />

5. When you have found the program or file you want to download, press the<br />

RETURN key.<br />

18


The Telesoftware Terminal<br />

Some of the entries may be in colour. If the item above or below an entry is in<br />

the same colour, this indicates that the files go together and both should be<br />

downloaded. There may of course be more than two files in a group.<br />

When you have selected the file you want to download and pressed RETURN,<br />

the screen will clear and the name of the file, along with its load and execution<br />

addresses, will be displayed.<br />

The computer now waits for the page containing the file to arrive.<br />

When it finds the file, a display of all the blocks in the file appears - this is<br />

initially in white. As each page of a file is found, the appropriate block turns<br />

green, unless an error is detected, in which case the block turns red. If there are<br />

more than eighty blocks, a text message is displayed instead.<br />

When all the blocks are green, the complete file has been downloaded. If you<br />

are using a cassette system, the Terminal will now save the file, so place a<br />

cassette in the recorder and follow the standard SAVE instructions.<br />

Once the file has been saved, the Telesoftware Terminal will again look for the<br />

catalogue and display it. If you have finished downloading Telesoftware, press<br />

ESCAPE to return to the main Terminal.<br />

If, while you are downloading a file, the message 'Different File' appears, the<br />

Terminal has encountered another file on the same page. It is quite possible to<br />

put several files on one page and thereby reduce the amount of space taken up<br />

on the normal <strong>Teletext</strong> service.<br />

If you are downloading a group of related files, you should start by<br />

downloading the first file, and carry on downloading each file in turn until all<br />

of them have been downloaded. Occasionally a special 'loader' will be supplied<br />

to download a group of files. If this is the case it will be the first file in the<br />

group and have the word 'Loader' beside it. Download the loader in the normal<br />

way, return to BASIC, and *RUN the loader.<br />

Hint for Disc <strong>User</strong>s: If you are going to download a large Telesoftware file, it<br />

is a good idea to COMPACT the disc before you start to make sure there is<br />

sufficient room on your disc. (See the Disc <strong>System</strong> <strong>User</strong> <strong>Guide</strong> for information<br />

on compacting discs.) As the Terminal uses OPENOUT, the filing system will<br />

need at least 16K free to open any Telesoftware file.<br />

19


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong>


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


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

*BBC<br />

Description<br />

This command is used to select channels 1,2,3 or 4 for <strong>Teletext</strong> reception.<br />

Syntax<br />

*BBC <br />

where is 1,2,3 or 4. If no channel is specified, 1 is assumed.<br />

Example<br />

*TTXON<br />

*BBC1<br />

This will select channel 1.<br />

Notes<br />

It is up to you to ensure that channel 1 is tuned to BBC1 and channel 2 is tuned<br />

to BBC2 for this command to produce the expected results.<br />

*CH<br />

Description<br />

This command is identical to *BBC and is for use in countries other than the<br />

UK. It can also be used to select Channel 4.<br />

Syntax<br />

*CH <br />

where is 1,2,3 or 4. If no channel is specified, channel 1 is assumed.<br />

Example<br />

*TTXON<br />

*CH4<br />

This will select Channel 4 for <strong>Teletext</strong> reception.<br />

22


*DATA<br />

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

Description<br />

This command transfers the full data for the current page to a given memory<br />

location. For details of the data format, see Chapter 6.<br />

Syntax<br />

*DATA <br />

where is an area of memory reserved for the data. The memory of the<br />

current language processor is used, unless an address in the form FFFFxxxx is<br />

used.<br />

Example<br />

*TTXON<br />

*S4C<br />

*PAGE 400<br />

OSCLI("DATA"+STR$~(Buffer))<br />

Notes<br />

This command will wait forever if the current page cannot be found. ESCAPE<br />

will exit the command if ESCAPE is enabled.<br />

The area of memory reserved for the data must be 2K long, i.e. 2048 bytes.<br />

*DATE<br />

Description<br />

This command causes the date, as transmitted in the television data packet to be<br />

displayed.<br />

Syntax<br />

*DATE<br />

Example<br />

*TTXON<br />

*BBC1<br />

*DATE<br />

Notes<br />

In order to give the Adaptor time to grab the date, which is only transmitted once<br />

a second, you must leave a gap of at least 1.5 seconds between changing channel<br />

and asking for the date.<br />

If the Television Service Data Packet (TSDP) is not transmitted, an error<br />

message is displayed instead of the date.<br />

23


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

*DISPLAY<br />

Description<br />

This command is used to display any <strong>Teletext</strong> page which has previously been<br />

transferred into memory with a *TRANSFER command. It decodes the page<br />

from the internal form used by the <strong>Teletext</strong> system into the form required for<br />

screen display. The computer must be in Mode 7 or 135 (shadow) for this<br />

command to work properly.<br />

Syntax<br />

*DISPLAY <br />

where is the hexadecimal address used in the *TRANSFER or<br />

*DATA commands. If the address is eight digits long and the first four are '<br />

FFFF', the memory used will be that of the I/O processor, regardless of<br />

whether a co-processor is attached or not.<br />

Example<br />

MODE 7<br />

*TTXON<br />

*BBC2<br />

*PAGE 200<br />

*TRANSFER 7000<br />

*DISPLAY 7000<br />

This will display BBC2 CEEFAX page 200 on the screen.<br />

*HOFF<br />

Description<br />

This command switches off the top line display (Header) of the <strong>Teletext</strong> system.<br />

Syntax<br />

*HOFF<br />

24


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

*HON<br />

Description<br />

This command controls the top line display (Header) of the <strong>Teletext</strong> system. It<br />

allows the top line to be displayed, with or without the clock. It also sets the<br />

display to any magazine (see *MAGAZINE).<br />

Syntax<br />

*HON [0] Switch on the Header line with the clock display.<br />

*HON 1 Switch on the Header line without the clock display.<br />

The square brackets mean that the zero is optional.<br />

Example<br />

*TTXON<br />

*BBC1<br />

*HON 1<br />

PRINT TAB(32,0);CHR$(130);"HOLD";<br />

This will switch on the Header for BBC1, and print the word 'HOLD' where<br />

the clock display normally goes.<br />

Notes<br />

This command only works if the screen display is currently Mode 7 (without<br />

shadow) and the screen has not been scrolled since the last CLS. Scrolling<br />

within a window does not matter. The Headers of certain services appear to<br />

flicker; to stop the flicker, use the *MAGAZINE command.<br />

*ITV<br />

Description<br />

This command selects channel 3 or 4 for <strong>Teletext</strong> reception. If no number is<br />

given after the command, channel 3 is used.<br />

Syntax<br />

*ITV<br />

*ITV 1<br />

*ITV2<br />

Example<br />

*TTXON<br />

*ITV<br />

*PAGE 100<br />

This will make page 100 of ORACLE the currently selected page.<br />

25


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

*MAGAZINE<br />

Description<br />

This command controls which magazine's Headers are displayed.<br />

In <strong>Teletext</strong>, the pages are grouped together in 'magazines'. These consist of up<br />

to 100 pages. The initial page digit signifies which magazine the page is in;<br />

103,156, and 175 are all in Magazine 1, and 704 is in Magazine 7, etc.<br />

There are two ways of transmitting Magazines in <strong>Teletext</strong>. In one the<br />

magazines are sent in numeric order, e.g. Magazine 1, Magazine 2, etc. This is<br />

called 'serial' transmission. In this case, all the Headers for all the magazines<br />

are displayed and the *MAGAZINE command has no effect. The other method<br />

is to send the magazines in 'parallel' . An example page sequence might be 100,<br />

200,101,201,102,202,etc. In this case the Headers appear to flicker.<br />

Syntax<br />

*MAGAZINE <br />

where is the first digit of the page numbers to be displayed.<br />

Example<br />

*TTXON<br />

*ITV<br />

*HON<br />

*MAGAZINE 1<br />

This will display only those Headers whose page number begins with 1.<br />

*NOTTX<br />

Description<br />

This command 'removes' the <strong>Teletext</strong> ROM from the Operating <strong>System</strong>'s view.<br />

It produces the message 'Press CTRL-BREAK...'. Once 'removed' in this way,<br />

<strong>Teletext</strong> no longer takes up any of the computer's memory and the <strong>Teletext</strong><br />

commands become inoperative. The only way to 'replace' the ROM is to switch<br />

the computer off and on again.<br />

A less drastic, but non-software method of switching off the <strong>Teletext</strong> system is<br />

to switch off the Adaptor, and press BREAK on the computer keyboard. The<br />

<strong>Teletext</strong> system can then be switched on again by switching on the Adaptor<br />

and pressing BREAK.<br />

Syntax<br />

*NOTTX<br />

26


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

Notes<br />

Switching the <strong>Teletext</strong> system on and off will alter PAGE in a Model B or B+<br />

computer. You should therefore save any programs you are working on before<br />

issuing this command. This is NOT the case with *TTX.<br />

*PAGE<br />

Description<br />

This command sets the specified <strong>Teletext</strong> page as the current page.<br />

Syntax<br />

*PAGE [S


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

*TELESOFT<br />

Description<br />

This command provides a degree of compatability with the old TFS. When<br />

issued it has the same effect as a *TTXON command, except when<br />

*TRANSFER or *DISPLAY is used. When in TFS emulation mode<br />

*TRANSFER returns the teletext data in the form of a 960 byte block,<br />

consisting of 24 rows of 40 characters each. The data has the top bit set on<br />

every character, and is suitable for immediate display. This means that<br />

*TRANSFER 7C00 will produce the correct screen display.<br />

Syntax<br />

*TELESOFT<br />

Example<br />

*TELESOFT<br />

*TRANSFER FFFF7C00<br />

*SAVE MODE7 FFFF7C00+400<br />

This will save a file called MODE7 which will be a normal MODE 7 screen.<br />

Notes<br />

If you are going to use some of the more advanced features of the ATS, which<br />

are not available in the old TFS, there is no point in using this command as the<br />

programs will not work with TFS anyway. Use *TTXON instead and make use<br />

of the more powerful data format.<br />

*TELETEXT<br />

Description<br />

This command starts the <strong>Teletext</strong> Terminal. If a co-processor is in use, the<br />

Terminal is started as an OS command and is exited if BREAK is pressed.<br />

Otherwise, the Terminal is started as a normal language.<br />

Syntax<br />

*TELETEXT<br />

28


*TIME<br />

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

Description<br />

This command displays the local time, as transmitted by the Television<br />

Service Data Packet.<br />

Syntax<br />

*TIME<br />

Example<br />

*TTXON<br />

*BBC1<br />

*TIME<br />

Notes<br />

Time information is extracted from the television service data packet (TSDP).<br />

If the TSDP is not transmitted, an error message is displayed instead of the<br />

time.<br />

*TRANSFER<br />

Description<br />

This command transfers the display data, for the current page to a given<br />

memory location. For details of the data format, see Chapter 6.<br />

Syntax<br />

*TRANSFER <br />

where is an area of memory reserved for the data. The memory of<br />

the current language processor will be used unless an address in the form<br />

FFFFxxxx is used.<br />

Example<br />

*TTXON<br />

*BBC1<br />

*PAGE 700<br />

*TRANSFER 7000<br />

Notes<br />

This command will wait indefinitely if the current page cannot be. found.<br />

ESCAPE will exit the command if ESCAPE is enabled.<br />

The area of memory reserved for the data must be at least 1K long, i.e. 1024<br />

bytes.<br />

29


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

*TTX<br />

Description<br />

This command controls the <strong>Teletext</strong> Adaptor. If you wish to use <strong>Teletext</strong>, you<br />

must first issue a *TTXON command. When you have finished, you should<br />

issue a *TTXOFF command to switch off the <strong>Teletext</strong> Adaptor.<br />

Syntax<br />

*TTXON<br />

*TTXOFF<br />

Example<br />

*TTXON<br />

*TIME<br />

Notes<br />

The *TTXON and *TTXOFF commands are not necessary if you are using the<br />

<strong>Teletext</strong> Terminal, which automatically switches the Adaptor on and off.<br />

*TUNE<br />

Description<br />

This command invokes the tuning routine for the currently selected channel.<br />

For more details see Section 1.3.<br />

Syntax<br />

*TUNE<br />

30


5 <strong>Teletext</strong> OSWORD Calls<br />

5.1 Introduction<br />

<strong>Teletext</strong> OSWORD calls allow you access to the facilities of <strong>Teletext</strong> from<br />

your own assembly language programs, and to access some of the lower level<br />

facilities available with the <strong>Teletext</strong> system.<br />

The basis of the <strong>Teletext</strong> system is the 'page grabber'. This is a piece of<br />

machine code which constantly looks for <strong>Teletext</strong> pages. It can look for up to<br />

20 pages, automatically storing them in the designated area of memory when it<br />

finds them. It also looks for, and stores, the TSDP. The <strong>Teletext</strong> OS commands<br />

only use one of the page grabber's 20 records to grab pages requested with<br />

*PAGE. From assembly language however it is possible to use all 20, as the<br />

Terminal does.<br />

All the facilities of the <strong>Teletext</strong> system are controlled by one OSWORD call<br />

&7A. The first byte of the parameter block for an OSWORD &7A is a<br />

command code. The commands are described in Section 5.2.<br />

<strong>Teletext</strong> <strong>System</strong> Control<br />

OSWORD with A = &7A<br />

The call address is &FFF1<br />

On entry, X (lo-byte) and Y (hi-byte) point to the parameter block:<br />

Important: Before you use the <strong>Teletext</strong> OSWORD call, you must issue a<br />

*TTXON command, or an OSWORD &7A with command = 13, to tell the<br />

<strong>Teletext</strong> Adaptor to start accepting <strong>Teletext</strong> data. When you have finished with<br />

<strong>Teletext</strong>, issue a *TTXOFF command, or OSWORD &7A with command = 12,<br />

and command = 14, to switch off the Adaptor's <strong>Teletext</strong> reception.<br />

31


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

5.2 The OSWORD Commands<br />

For each call a list of parameters is given, along with the offset within the<br />

parameter block at which they reside.<br />

0 Read Channel<br />

Read the channel which is currently being used for <strong>Teletext</strong> reception.<br />

Parameters:<br />

0 0<br />

1 Returned channel number (0 to 3 ; 0: BBC1)<br />

1 Set Channel<br />

Set the channel to be used for <strong>Teletext</strong> reception.<br />

Parameters:<br />

0 1<br />

1 The channel to be used (0 to 3).<br />

2 Read a Record Flag<br />

For each record in the page grabber there is an associated flag byte. This<br />

contains information such as whether the page has arrived yet, and if it is being<br />

updated at the moment. It also controls whether the page is on hold or not. The<br />

format of the flag is :<br />

Bit 0 HOLD (0: No, 1: Yes)<br />

Bit 1 Page received (0: No, 1: Yes)<br />

Bit 2 Page being updated (0: No, 1: Yes)<br />

Other bits undefined.<br />

Parameters:<br />

0 2<br />

1 Record number (0 to 19)<br />

2 Flag for record requested<br />

3 Record currently being grabbed (or &FF if none)<br />

32


3 Set a Record Flag<br />

The <strong>Teletext</strong> OSWORD Commands<br />

This command allows you to alter the flag for a particular record. This is done<br />

to HOLD or RELEASE a page and also to clear the 'page received' bit so that a<br />

new copy of the page can be detected.<br />

Parameters:<br />

0 3<br />

1 Record number (0 to 19)<br />

2 New value for flag<br />

4 Read a Page Grabber Record<br />

This command returns one of the page grabber's records.<br />

Parameters:<br />

0 4<br />

1 Record number (0 to 19)<br />

2 Magazine number of page being looked for<br />

3 Page number of page (in BCD, i.e. &23 means page 23)<br />

4 Sub-page number (hi-byte) &3F means any sub-page<br />

5 Sub-page number (lo-byte) &7F means any sub-page<br />

6 Address to put page (lo-byte)<br />

7 Address to put page (hi-byte)<br />

Note: The address is always in the I/O processor<br />

5 Set a Page Grabber Record<br />

This command allows you to specify which page should be grabbed by a<br />

particular record. If you specify the same page in different records, only the<br />

first record will ever get it.<br />

Note: The page grabber always stores pages in the I/0 processor memory. If<br />

you wish to store the pages in the co-processor, you must use the <strong>Teletext</strong> OS<br />

commands which will copy them across for you.<br />

33


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

Parameters:<br />

0 5<br />

1 Record number (0 to 19)<br />

2 Magazine number of page to be looked for<br />

3 Page number of page (in BCD, i.e. &23 means page 23)<br />

4 Sub-page number (hi-byte) &3F means any sub-page<br />

5 Sub-page number (lo-byte) &7F means any sub-page<br />

6 Address to put page data (lo-byte)<br />

7 Address to put page data (hi-byte)<br />

6 Read the No. of Rows to be Captured<br />

This command returns the number of rows that are being grabbed for each page.<br />

Parameters:<br />

0 6<br />

1 Number of rows being grabbed<br />

7 Set the No. of Rows to be Captured<br />

This command allows you to specify the number of rows that are stored for each<br />

page. If you only want to store the displayed part of a page, set the number of<br />

rows to 24. This will require 1024 bytes of memory per page. If you want to<br />

store non-display rows in addition to display rows, you should set the number of<br />

rows to 30. This will require 1260 bytes per page.<br />

Parameters:<br />

0 7<br />

1 Number of rows<br />

8 Read the Header Line Status<br />

This command returns the current status of the Header line.<br />

Parameters:<br />

0 8<br />

1 Header status<br />

34


Status values are :<br />

&00 Header off<br />

&01 Header on with clock<br />

&FF Header on without clock.<br />

9 Set the Header Line Status<br />

The <strong>Teletext</strong> OSWORD Commands<br />

This command sets the current status of the Header line (*HON).<br />

Parameters:<br />

0 9<br />

0 Header status<br />

See the previous call for the status values.<br />

10 Read the Magazine for Header Display<br />

This command returns the magazine whose Headers are currently displayed.<br />

Parameters:<br />

0 10<br />

1 Magazine<br />

Note: Magazine 8 is returned as zero. &FF means that all Headers are displayed.<br />

11 Set the Magazine for Header Display<br />

This command sets the magazine whose Headers are to be displayed (<br />

*MAGAZINE).<br />

Parameters:<br />

0 11<br />

1 Magazine<br />

Note: Magazine 8 should be entered as zero. &FF means that all Headers are to<br />

be displayed.<br />

35


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

12 Switch Off <strong>Teletext</strong> Interrupts<br />

This command disables the <strong>Teletext</strong> Adaptor interrupts (*TTXOFF).<br />

Parameter:<br />

0 12<br />

13 Switch On <strong>Teletext</strong> Interrupts<br />

This command enables the <strong>Teletext</strong> Adaptor interrupts (*TTXON).<br />

Parameter:<br />

0 13<br />

14 Clear All Page Grabber Records<br />

This command clears all page grabber records. It should be issued before<br />

turning off <strong>Teletext</strong> interrupts if you are not going to re-enable them soon.<br />

Parameter:<br />

0 14<br />

15 Read Television Service Data Packet<br />

This command returns the TSDP, except for the 'status message' (which is not<br />

connected with <strong>Teletext</strong>).<br />

Parameters:<br />

0 15<br />

1 TSDP<br />

to<br />

13<br />

The Television Service Data Packet:<br />

Byte Meaning<br />

1 Magazine for initial page<br />

2 Page number for initial page (&FF : Not Specified)<br />

3 Page sub-code for initial page (hi-byte)<br />

4 Page sub-code for initial page (lo-byte)<br />

5 Network Identity Group (hi-byte)<br />

6 Network Identity Group (lo-byte)<br />

36


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

7 Time offset from Universal Co-ordinated Time (UTC)<br />

8 Modified Julian Date (10,000's) (BCD)<br />

9 (1000's and 100's) (BCD)<br />

10 (10's and 1's) (BCD)<br />

11 Universal Co-ord. Time (Hours) (BCD)<br />

12 (Minutes) (BCD)<br />

13 (Seconds) (BCD)<br />

The Network Identity Group is a 16 bit number, unique to each television<br />

channel. A list of the numbers used in the UK is given in Appendix C. You<br />

will see that each IBA company has its own identity number.<br />

The time offset allows the local time to be calculated from UTC. In the UK<br />

therefore, the time offset is normally &81, but in British Summer Time it<br />

becomes &85 to indicate that one hour should be added to UTC. Note that<br />

UTC is the international name for Greenwich Mean Time (GMT).<br />

The format of the offset is as follows:<br />

Bit Meaning<br />

0 Always 1<br />

1 Half-hour<br />

2 1 Hour<br />

3 2 Hours<br />

4 4 Hours<br />

5 8 Hours<br />

6 0: Add offset, 1: Subtract offset<br />

7 Always 1<br />

16 Clear Page Grabber Status<br />

This command halts the page grabber, even if it is half way through grabbing<br />

a page. If you wish to change a record it is advisable to check if it is currently<br />

being updated. If so, call this command to stop the update before changing the<br />

record.<br />

Parameter:<br />

0 16<br />

37


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

17 Read <strong>Teletext</strong> Adaptor Status<br />

This command returns the status of the <strong>Teletext</strong> Adaptor.<br />

Parameters:<br />

0 17<br />

1 Adaptor status<br />

Status: &00: On and connected<br />

&01: On, but no TV signal<br />

&02: Off, but connected<br />

&FF: No Adaptor connected<br />

18 Set the Subtitle Enable Flag<br />

This command allows you to turn subtitle reception on and off. Subtitles are<br />

NOT stored, but displayed immediately upon reception. This allows them to<br />

remain synchronised with the TV program.<br />

Parameters:<br />

0 18<br />

1 Subtitle enable (&00: enable, &FF: disable)<br />

2 Subtitle magazine (normally 0)<br />

3 Subtitle page (normally &88)<br />

19 Set Interrupt Handling Flag<br />

This command allows you to control whether the <strong>Teletext</strong> ROM handles the<br />

interrupts from the Adaptor, or whether they are passed on to other software.<br />

This can be used to allow very low level control of the <strong>Teletext</strong> Adaptor.<br />

Parameters:<br />

0 19<br />

1 Interrupt enable (&00:enable, &FF: disable)<br />

20 Tuning Routine<br />

This command calls the tuning routine for the current channel. The call is<br />

terminated by pressing the SPACE-BAR.<br />

Parameter:<br />

38<br />

0 20


21 Return Time from TSDP<br />

This command returns the local time in ASCII form.<br />

Parameters:<br />

0 21<br />

1 'HH:MM:SS' time string<br />

10 Error flag (&00: time OK, &FF: time not found)<br />

22 Return Date from TSDP<br />

This command returns the local date in ASCII form.<br />

Parameters:<br />

0 22<br />

1 DD/MM/YYYY' date string<br />

12 Error flag (&00: date OK, &FF: date not found)<br />

23 Check CRC<br />

The <strong>Teletext</strong> OSWORD Commands<br />

This command checks the CRC of the page pointed to. It allows you to check<br />

that the data collected by the <strong>Teletext</strong> Adaptor has not been corrupted. This<br />

could be very important if the data being collected is of a financial nature.<br />

Parameters:<br />

0 23<br />

1 Pointer to page data (lo-byte)<br />

2 Pointer to page data (hi-byte)<br />

3 Returned flag (0: No CRC, 1:CRC OK, &FF: CRC Failed)<br />

Note: The page data must be in the I/0 processor.<br />

39


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

24 Download a File from <strong>Teletext</strong><br />

This command downloads a file from the current channel.<br />

Parameters:<br />

0 24<br />

1 Pointer to filename (lo-byte) (terminated by &OD)<br />

2 Pointer to filename (hi-byte)<br />

3 Load address (lo-byte) (32 bits)<br />

:<br />

6 Load address (hi-byte)<br />

7 Exec address (lo-byte) (32 bits)<br />

:<br />

10 Exec address (hi-byte)<br />

11 Magazine number (0 to 7)<br />

12 Page number (&00 to &FF)<br />

13 Load to memory/file (&00: memory, &01: file)<br />

14 Reset default tables (&00: yes, &01: no)<br />

Notes: The filename must be in the I/O processor and be in upper case only.<br />

The load address must agree with the load address in the file being<br />

downloaded. This is normally held in Block 1 of a file, or is available from the<br />

catalogue file (see Chapters 3 and 6).<br />

When downloading to memory, the file is always stored at OSHWM onwards,<br />

regardless of the load address. When downloading to file, the load and exec<br />

addresses are set to those given in the telesoftware file.<br />

Normally, the default tables SHOULD be reset.<br />

The progress of downloading is shown by a graphical display representing the<br />

blocks received.<br />

25 De-Ham a Byte<br />

This command will translate an 8 bit hammed byte into a 4 bit decoded value.<br />

Parameters:<br />

0 25<br />

1 Byte to be decoded<br />

2 Decoded byte (&FF: unrecoverable error)<br />

Note: If bit 6 is set, but bit 7 is not, then an error occured in the transmission,<br />

but was recoverable, thanks to the hamming protection. The value returned<br />

should normally be ANDed with &OF before being used.<br />

40


6 Technical Information<br />

6.1 The <strong>Teletext</strong> Data Format<br />

Each row of <strong>Teletext</strong> data (normally equivalent to a single row of the screen<br />

display) takes up 42 bytes. The first byte contains the magazine number of the<br />

page, and the second byte is a 'row address'. The row address is a number<br />

between 0 and 29. The first row is always row address 0. The following rows<br />

can be in ANY order. The maximum number of rows captured is controlled by<br />

OSWORD &7A:7. For *TRANSFER, 24 rows are captured, and for *DATA,<br />

48 rows. Unused rows have both the magazine and row address set to zero.<br />

Row 0 is the Header row and contains the full information on the <strong>Teletext</strong><br />

page. The first byte after the two initial bytes is the page number. This is a<br />

hexadecimal number, so page 119 would have a page number &19. The next<br />

two bytes are the sub-page number, high byte first. If this is &0000 there is<br />

only one sub-page, otherwise it is the number of the rolling page received. The<br />

next two bytes contain the control bits for the page (see later).<br />

The next three bytes are all zero and have no meaning. Finally, there are 32<br />

bytes which are suitable for display and contain the displayed part of the<br />

Header, complete with the clock display. Each byte should be OR'ed with &80<br />

before being displayed.<br />

The following diagram shows the general format of the data, and the specific<br />

formats for rows 0 and 27 :


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

The control bits contain information such as whether the Page Header should<br />

be displayed, whether the page a newsflash, etc. The meaning of each bit is<br />

given below:<br />

Rows 1 to 24 are suitable for display, except that each of the next 40 bytes<br />

should be OR'ed with &80 before being displayed. Not all the Rows 1 to 24<br />

need necessarily be present and those that are not should be assumed to contain<br />

40 spaces.<br />

Row 25 is not intended for display, but may contain 40 bytes of encoded telesoftware.<br />

Row 27 contains the links to other pages and the Cyclic Redundancy Check (<br />

CRC). There can be up to four row 27s and they are distinguished by the first<br />

of the 40 data bytes. Once this byte has been de-hammed (see OSWORD &7A:<br />

25) it contains a value of 0 to 3. Only row 27/0 contains the CRC. Bytes 2 to<br />

37 of the data contain six links, each six bytes long. These six bytes must be<br />

de-hammed before use. The format of a link group is given below :<br />

The three bits, C3 (bit 3 of the fifth byte), C4, and C5 (bits 2 and 3,<br />

respectively, of the sixth byte) form a 3 bit number (C3 is the least significant<br />

bit of this number). This three bit number is EOR'ed with the magazine number<br />

of the current page to get the magazine number of the page pointed to by the<br />

link. Sub-code &3F7F indicates that the sub-code does not matter. Page number<br />

&FF means that the link is not being used.<br />

42


Technical Information<br />

The 38th byte of the data contains the Link Control. This byte must be dehammed<br />

to give a four bits. The meaning of these bits is given below:<br />

The 39th and 40th bytes contain the 16 bit CRC. The algorithm used to<br />

calculate CRC's is too complex to discuss here. Use OSWORD &7A:23 to<br />

check the CRC of any <strong>Teletext</strong> data.<br />

Rows 26, 28 and 29 are not transmitted in Level 1 <strong>Teletext</strong>.<br />

6.2 The Catalogue File Format<br />

The catalogue file contains a list of all the programs and files currently<br />

available on the telesoftware service of the selected channel. The format is as<br />

follows :<br />

The file begins with two strings, each intended for direct display and<br />

containing teletext colour codes. Each byte must be OR'ed with &80 before<br />

being displayed. The first byte of any string in the catalogue contains its length<br />

(not including the length byte itself). There then follow n entries, one for each<br />

file. Each entry consists of eight fields.<br />

Field one refers to the type of computer that the file is intended for and is a<br />

string. The computer types defined so far are :<br />

ANY : Any computer<br />

AMIGA : Commodore Amiga computers<br />

AMSTRAD : Amstrad computers<br />

ATARIST : Atari ST computers<br />

BBC : BBC Microcomputer <strong>System</strong> (B, B+, Master)<br />

CBM64 : Commodore 64 computers<br />

CBM128 : Commodore 128 computers<br />

CPM : Any CPM computer<br />

IBM : IBM Computers<br />

MSDOS : Any MSDOS computer<br />

SPECTRUM : Sinclair Spectrum computers<br />

*** : End of catalogue - no more data<br />

43


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

Field two is the filename, as a string, plus a single colour-code at the beginning<br />

of the filename. This colour-code is NOT part of the filename and is for<br />

display purposes only.<br />

Field three is a string, defining the type of file. This is completely free-format,<br />

but some examples of entries that might be included are given below :<br />

TEXT : Text only files (ASCII)<br />

BASIC : A BASIC program (tokenised if necessary)<br />

EXEC : An EXEC file, possibly a BASIC program in text form<br />

M/C : Machine Code<br />

SCREEN : Screen picture<br />

LOADER : Multiple file downloader (always M/C for BBC)<br />

FORTRAN : Fortran source code<br />

PASCAL : Pascal source code<br />

Field four is a string, giving the size of the file. This is also completely freeformat,<br />

but some examples of possible entries are given below :<br />

12 Pages<br />

&3453 Bytes<br />

8K<br />

Field five is the LOAD address of the file and is four bytes long (32 bits), with<br />

the most significant byte first (unlike 6502 format).<br />

Field six is the EXEC address of the file and is four bytes long, with the most<br />

significant byte first.<br />

Field seven is the magazine in which the file can be found. This is a single byte<br />

with values from 0 to 7.<br />

Field eight is the page number on which the file can be found. This is a single<br />

byte with values from 0 to 255.<br />

44


6.3 The <strong>Teletext</strong>. Character Set<br />

Technical Information<br />

Here is the <strong>Teletext</strong> Character set for the BBC Microcomputer. Note that it<br />

starts at &80 (128), NOT at &00. The characters in columns &CO, and &DO<br />

are always shown, regardless of whether they are preceded by a graphic colour<br />

or not.<br />

* These control characters are presumed before each screen row begins.<br />

t These control characters have no action on the BBC Microcomputer but may be contained in<br />

some <strong>Teletext</strong> pages.<br />

45


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

6.4 The <strong>Teletext</strong> Control Codes<br />

The previous table shows the available characters, their codes and also the<br />

control codes. The control codes can be sent in place of any character code<br />

anywhere in a row. The control codes are normally displayed as spaces (but<br />

see the section below on the hold graphics control). The fact that they can be<br />

used within a row enables you to change some aspects of the display part way<br />

through a row (e.g. the display colour).<br />

Display Modes<br />

There are three modes of display in the <strong>Teletext</strong> system - one alphanumeric<br />

mode and two graphics modes. The two graphic modes are called contiguous<br />

and separated. The difference is best shown by illustration :<br />

Colour<br />

Seven different display colours are provided (red, green, yellow, blue,<br />

magenta, cyan, and white). Fourteen control codes are available to select<br />

alphanumerics or graphics and the required colour simultaneously. This<br />

provides a change of colour and mode in one step.<br />

The background colour can be any of the seven colours listed above, or black.<br />

Coloured background is selected by using the 'new background' control code.<br />

After this code appears, the new background colour will be the display colour<br />

in use when the 'new background' control was used.<br />

Flashing and Concealed Characters<br />

Two modes are provided in which the display characters appear as spaces<br />

some of the time. In flashing mode, a character appears alternately as a space<br />

and as the character at a rate determined by a clock in the computer. In conceal<br />

mode, the character appears as a space until revealed. The character is revealed<br />

by pressing 'Reveal' (f6 on the BBC Microcomputer).<br />

46


Double Height<br />

Technical Information<br />

Characters may be displayed in double height, in which case they take two<br />

rows. Therefore the information sent in row n also applies to row n+1 in this<br />

mode. The decoder ignores row n+1 if it is sent. It is possible to mix single and<br />

double height characters, but single height characters can only appear on the<br />

top line of the two.<br />

Hold Graphics Control<br />

The hold graphics control code allows a limited number of abrupt display<br />

colour changes. A control code is normally displayed as a space which<br />

therefore causes a break in the display. In hold graphics mode, the character<br />

rectangle occupied by the control code is filled with a held graphics character.<br />

This can be used with any control code issued in the graphics mode. The held<br />

graphics character will be the most recent character with bit 6 equal to 1 in its<br />

code, provided that there has been no intervening change in either the<br />

alphanumeric/graphics modes or the normal/double height modes. In the<br />

absence of a suitable character, a space is displayed.<br />

47


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

48<br />

Figure 8 A Page from CEEFAX


A What is <strong>Teletext</strong>?<br />

<strong>Teletext</strong> is a service provided by the BBC and the IBA which makes available<br />

a wide variety of information through the medium of television. This<br />

information could be share prices on the stock market or the latest football<br />

results; the possibilities are almost endless.<br />

<strong>Teletext</strong> information is transmitted from BBC and IBA television transmitters<br />

and can be received on a commercial television receiver suitably equipped with<br />

a <strong>Teletext</strong> decoder. The transmitted signal, however, unlike a normal television<br />

signal, is in digital form which makes it additionally suitable for use with<br />

computers.<br />

The total amount of <strong>Teletext</strong> information is too large to be displayed on a<br />

television screen at any one instant and for this reason it is transmitted in '<br />

pages' rather like the pages of a book. Only one page can be displayed on the<br />

screen at a time.<br />

A page of information may contain text, symbols, or a mixture of both; it<br />

depends on the type of information and how the broadcasters decide to present<br />

it.<br />

Because of the amount and variety of information available, transmitted<br />

<strong>Teletext</strong> pages are organised and numbered in such a manner as to enable you<br />

to locate and display specific items of information both quickly and easily.<br />

The service broadcast by the different channels usually consists of one or more<br />

'magazines'. These magazines can incorporate up to 255 pages. Page references<br />

consist of three digits. The first digit always refers to the magazine number and<br />

as there is a maximum of eight magazines, can be any number from 1 to 8 (for<br />

OSWORD calls, 8 is represented as 0).<br />

The magazine number is followed by a two digit hexadecimal number. Page<br />

&00 normally contains an index to the magazine. Only those pages whose<br />

number is entirely numeric (i.e. no letters) are used for information that is<br />

meant to be displayed. The other page numbers are used for computer-readable<br />

information.<br />

Each page may contain more than one screen of information. Each of these<br />

screens is given a sub-page number, which is a four digit hexadecimal number.<br />

The sub-pages are sent in cycles, so when the last sub-page has been sent, the<br />

broadcast returns to the beginning of the cycle and re-transmits the first subpage.<br />

The cycle continues until a new page is selected.<br />

49


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

B Hints on <strong>Teletext</strong> Reception<br />

Generally, a good receiving system is as important for correctly-decoded<br />

<strong>Teletext</strong> as it is for receiving ordinary television broadcasts but, because of the<br />

digital nature of the <strong>Teletext</strong> signal, good reception is even more critical in<br />

certain situations. To display pages of text,<strong>Teletext</strong> relies on instructions<br />

received with the television signal. Depending on the quality of reception these<br />

can produce anything from a perfect or near perfect display to just a hopeless<br />

jumble of characters. Unfortunately, such jumbled characters can often arise<br />

even though the ordinary television picture appears satisfactory. The main<br />

cause of the problem is delayed signals. These can come from two sources:<br />

reflected signals picked up by the aerial from nearby hills or tall structures;<br />

reflections within the aerial and distribution system itself.<br />

Reflections External to the Aerial<br />

Reflections received by the aerial are normally visible on television pictures as<br />

ghosting (faint extra images). A suitable receiving aerial will usually reduce<br />

the ghosting to a level which is not disturbing on pictures and also does not<br />

affect <strong>Teletext</strong> signals. As the viewer is not normally able to try a selection of<br />

aerials it is best to use the services of an aerial contractor and to specifying that<br />

good <strong>Teletext</strong> reception is required, of course.<br />

Reflections in the Aerial <strong>System</strong><br />

Reflections in the aerial system can be particularly troublesome since they can<br />

rarely be seen on normal television pictures except, perhaps, as an apparent<br />

sharpening of the picture or slight double-edging on vertical detail (not to be<br />

confused with 'ringing', a regular pattern of diminishing after-images caused by<br />

deficiencies of the receiver).<br />

The problem rarely arises where an aerial feeds a single receiver but is<br />

commonly found with incorrectly installed multiple-outlet systems where a<br />

single aerial feed is split between several receivers or aerial sockets. Multiple<br />

outlet systems are commonplace in blocks of flats but simpler, smaller scale<br />

versions are increasingly used in households. The general rule is that in order<br />

to split the signal it is not permissible to simply join an extra cable into an<br />

existing one, since this creates an impedance mis-match and sets up the<br />

reflections in the cables.<br />

50


1. Household Installations<br />

Hints on Receiving <strong>Teletext</strong><br />

In a household installation the simplest device to split the signal is a 'passive<br />

splitter' which, because of an inherent power loss, should be used only if the<br />

signal is strong enough in the first place. In order to prevent reflections<br />

appearing in the system, a television must be connected to each outlet at all<br />

times. If you have only one television and move it from room to room then a<br />

75Ohm termination plug should be fitted to the spare outlets when not in use.<br />

Suitable attenuators and termination plugs are available from aerial suppliers<br />

and television retailers.<br />

If the received signal is too low to allow passive splitting, a 'distribution<br />

amplifier' should be fitted. These have between two and eight outlets<br />

depending on the make and model. The two outlet versions are frequently<br />

called 'second set amplifiers'. Although it is good engineering practice to<br />

terminate unused amplifier outlets, <strong>Teletext</strong> reception should generally not<br />

suffer if they are left unterminated, unless there is a length of unterminated<br />

cable connected to the outlet. Amplifiers of this type are useful since they<br />

usually provide a slight increase in the signal level which will compensate for<br />

losses in long cable runs.<br />

2. Communal <strong>System</strong>s<br />

In large distribution systems as in blocks of flats or hotels where there are<br />

many amplifiers and long cable runs, the problem of 'pre-imaging' may arise.<br />

In this case, the television set not only receives the signal through the cable but<br />

also receives a direct signal because the receiver and cable act as an aerial. The<br />

main symptom is noticeable ghosting on the picture caused by the delay<br />

between the cable-fed signal and the direct signal reaching the television<br />

receiver. To minimise the problem care should be taken with the lead<br />

connecting the wall outlet to the television: ensure that 'double-screened' cable<br />

is used, that it is as short as possible, and that the connections are electrically<br />

sound. If this does not cure the fault, then the system may need adjusting to<br />

provide a higher output signal or a translating device should be used to<br />

distribute the television channels on different frequencies. Once again, these<br />

items are available from aerial suppliers and television retailers.<br />

This information was provided by BBC Engineering Information Department.<br />

For more information on <strong>Teletext</strong> and Television reception contact :<br />

Engineering Information Department,<br />

BBC Broadcasting House,<br />

LONDON,<br />

W1A IAA<br />

Telephone 01-927 5040<br />

51


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

C United Kingdom Network Identities<br />

A Table of the Network Identities for the United Kingdom<br />

The table above gives a 16 bit number for each TV station transmitting in the<br />

UK. To find the identity of the station being received you must compare the<br />

identity contained in the TSDP with the table entries. The following extract<br />

from a BASIC program includes a function to return the identity:<br />

10 DIM Buffer 20<br />

:<br />

100 IF FNidentity = &5FF6 THEN PRINT "BBC1"<br />

:<br />

1000 DEF FNidentity<br />

1005 Buffer?0=15<br />

1010 X%= Buffer : Y% = X% DIV 256 : A% = &7A : CALL &FFF1<br />

1020 = (Buffer?5)*256 + Buffer?6<br />

52


D CP/M, PANOS, & DOS+ Telesoftware<br />

When using the Telesoftware Terminal, the files are saved to the current I/O<br />

processor filing system (i.e. DFS, ADFS, NFS, or ANFS) and not to the coprocessor's<br />

filing system.<br />

This does not matter if the co-processor is a 6502 or Turbo, as these use the<br />

same filing systems as the I/O processor.<br />

Similarly, if you are using PANOS t , you can access the files directly, because<br />

PANOS also uses the I/O processor filing system, although the filenames may<br />

appear slightly different, e.g. the file "_F77.FORPROG" appears in PANOS as "<br />

FORPROG F77".<br />

With CP/M* and DOS+* the situation is different. These co-processor filing<br />

systems do not use the same format as the I/O processor filing systems. To get<br />

round this a convert program is supplied with each one to allow files to be<br />

copied from the I/O processor filing system into CP/M or DOS+.<br />

Caution: Care should be taken when using <strong>Teletext</strong> from the Z80 co-processor<br />

as CP/M uses the I/O processor's memory to store the disc catalogue, and this<br />

will be corrupted if <strong>Teletext</strong> is used.<br />

t PANOS is a trademark of Acorn Computer PLC.<br />

* CP/M and DOS+ are trademarks of Digital Research.<br />

53


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

E Copyright Position on Telesoftware<br />

The copyright situation on Telesoftware programs broadcast by the BBC is as<br />

follows:<br />

(i) Domestic users of a program broadcast on CEEFAX may:<br />

- Make two copies only for private purposes.<br />

- Adapt or modify it for private purposes but not for sale.<br />

(ii) Educational and training institutions and agencies may:<br />

- Record and use the program for their own educational training purposes<br />

but nor for sale.<br />

- Adapt, modify, and distribute a program for their own educational and<br />

training purposes but not for sale.<br />

(iii) No part of a program may otherwise be reproduced, stored in a retrieval<br />

system or transmitted in any form or by any means, without the prior<br />

permission of the BBC, except in accordance with the 1956 copyright act.<br />

Different concessions apply, and are set out in detail in 'Recording BBC<br />

Educational Programmes', with respect to those BBC programmes listed in '<br />

The Annual Programme for Schools and Colleges' and/or 'The Annual<br />

Programme for Continuing Education'.<br />

All other BBC programmes may not be recorded without the prior consent of<br />

the BBC and the holders of the copyright and performing rights in the<br />

component parts of the programmes concerned.<br />

54


F Fitting the <strong>Teletext</strong> ROM<br />

Before installing any ROMs you should switch off your computer and unplug<br />

it from the mains.<br />

Model B<br />

1 Remove the top cover. To do this:<br />

a Remove the two fixing screws from the underside, they are large crosshead<br />

screws marked 'FIX'.<br />

b Remove the two fixing screws at the back of the machine.<br />

c Lift the top cover upwards.<br />

2 Loosen the keyboard. To do this:<br />

a Undo and remove the two fixing nuts and bolts at the sides of the<br />

keyboard. (Don't forget to remove the washers.)<br />

b Move the keyboard carefully to reveal the ROM sockets at the front right<br />

of the circuit board. (The keyboard is connected to the circuit board by<br />

a red and black twisted wire and a flat grey cable. If you wish you can<br />

unplug these from the circuit board so as to remove the keyboard<br />

completely. Before removing them notice carefully how they plug into<br />

the circuit board so that you can replace them correctly.)<br />

3 Plug the ROM into one of the sockets marked by the arrows in the diagram<br />

below. The ROM should be inserted with the dimple at the top facing the<br />

rear of the machine. The BASIC and filing system chips may be in different<br />

sockets on your computer. This does not matter but normally the ROM you<br />

are inserting should go to the left of BASIC. If there is no empty socket to<br />

the left of BASIC, you may have to move the ROMs. If you wish <strong>Teletext</strong><br />

to start when you switch on the computer, you should insert it to the right<br />

of BASIC, and any other language ROMs you have.


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

CAUTION: Handle the ROM with care and do not touch the pins.<br />

Make sure that the ROM is correctly aligned with the socket.<br />

Each pin should fit into a hole, and there should be none hanging over the edge<br />

of the socket. Make sure that all the pins are correctly seated before pushing the<br />

ROM home.<br />

DO NOT USE EXCESSIVE FORCE. If a pin is not correctly seated it is easy to<br />

bend it up under the ROM if you push too hard.<br />

4 Replace the keyboard.<br />

a If you have unplugged the wire and cable, carefully plug them back into<br />

the the circuit board.<br />

b Replace the nuts and bolts securing the keyboard. Do not forget the<br />

washers, which go between the nuts and the keyboard base.<br />

5 Replace the top cover.<br />

a Place the cover in position.<br />

b Replace the two fixing screws in the base and the two at the back and<br />

tighten.<br />

6 Replace the mains power plug and switch on the computer.<br />

Model B+<br />

1 Remove the top cover. To do this:<br />

a Remove the two fixing screws from the underside, they are large crosshead<br />

screws marked 'FIX'.<br />

b Remove the two fixing screws at the back of the machine.<br />

c Lift the top cover upwards.<br />

2 The ROM sockets on the Model B+ are located in the top left hand area of the<br />

circuit board (near the large copper-coloured power supply, towards the<br />

back of the computer). There are six sockets arranged in two rows of three.<br />

Nearer the keyboard are two very similar sockets for the speech system.<br />

Under no circumstances should a ROM be placed in these speech<br />

sockets. Some of the six ROM sockets will already contain ROM's and the<br />

top-right ROM should not be moved, as this contains the operating system.<br />

The diagram below shows the ROM sockets on the Model B+, along with<br />

the two speech sockets.<br />

56


The ROM Sockets on the Model B+<br />

CAUTION: Handle the ROM with care and do not touch the pins.<br />

Make sure that the ROM is correctly aligned with the socket.<br />

Each pin should fit into a hole, and there should be none hanging over the edge<br />

of the socket. Make sure that all the pins are correctly seated before pushing<br />

the ROM home.<br />

DO NOT USE EXCESSIVE FORCE. If a pin is not correctly seated it is easy<br />

to bend it up under the ROM if you push too hard.<br />

5 Replace the top cover.<br />

a Place the cover in position.<br />

b Replace the two fixing screws in the base and the two at the back and<br />

tighten.<br />

6 Replace the mains power plug and switch on the computer.<br />

57


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong><br />

Master Series<br />

The simplest way to use the ROM with a Master, is to use the EPROM<br />

cartridge (ADF13), available from your Acorn Dealer. Otherwise you will<br />

have to insert the ROM into one of the three internal ROM sockets.<br />

1 Remove the top cover. To do this:<br />

a Remove the four fixing screws from the underside, they are large crosshead<br />

screws marked 'FIX'.<br />

b Lift the top cover upwards.<br />

2 The ROM sockets on the Master are located on the far right hand side of the<br />

circuit board, just above the cartridge slots. There are four, arranged one<br />

above the other. The top socket contains the 128K Operating <strong>System</strong> ROM.<br />

Of the remaining three, the middle one is the easiest to use. Insert the ROM<br />

as before, making sure the dimple at the top of the ROM goes on the left.<br />

If the middle socket is occupied you will have to change two links on the<br />

circuit board. If you want to use the top socket, i.e. the one below the 128K<br />

ROM, you should change link 19 so that the two right-most pins are<br />

connected. This will disable banks 6 and 7 of the sideways RAM, and<br />

replace them by the ROM. To use the bottom-most ROM socket you should<br />

change link 18 so that the two right-most pins are connected. This will<br />

disable banks 4 and 5 of the sideways ROM, and incidently, stop the '<br />

Convert' program from working.<br />

The ROM Sockets on the Master Series<br />

3 Replace the top cover.<br />

a Place the cover in position.<br />

b Replace the four fixing screws in the base and tighten.<br />

4 Replace the mains power plug and switch on the computer.<br />

58


G Summary of OS Commands<br />

*BBC Select channels 1,2,3 or 4.<br />

*CH Select channels 1,2,3 or 4.<br />

*DATA Transfer 2K of <strong>Teletext</strong> data into memory.<br />

*DATE Display the local date (from TSDP).<br />

*DISPLAY Display <strong>Teletext</strong> data held in memory.<br />

*HOFF Turn off the changing top line.<br />

*HON [1] Turn on the changing top line.<br />

*ITV Select channels 3 or 4.<br />

*MAGAZINE Select magazine whose top lines will be<br />

displayed.<br />

*NOTTX 'Unplug' the <strong>Teletext</strong> ROM.<br />

*PAGE Select the page to be captured.<br />

*S4C Dewiswch Sianel Pedwar Cymru. (Select<br />

Channel 4 Wales.)<br />

*TELESOFT TFS emulation mode<br />

*TELETEXT Enter the <strong>Teletext</strong> terminal.<br />

*TIME Display the local time (from TSDP).<br />

*TRANSFER Transfer 1K of <strong>Teletext</strong> data into memory.<br />

*TTX ON/OFF Turn the <strong>Teletext</strong> system on or off.<br />

*TUNE Tune the current TV channel.<br />

59


H Summary of Terminal Keys


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong>


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong>


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong>


The <strong>Advanced</strong> <strong>Teletext</strong> <strong>System</strong> <strong>User</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!