Home » CEEFAX disks » telesoftware7.adl » 18-06-88/NEWSTXT
18-06-88/NEWSTXT
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » CEEFAX disks » telesoftware7.adl |
Filename: | 18-06-88/NEWSTXT |
Read OK: | ✔ |
File size: | 1E69 bytes |
Load address: | 0000 |
Exec address: | FFFFFFFF |
File contents
Extra! Extra! ... Read all about it .... Get yourelf a copy of the CEEFAX Daily News! How up-to-date is your morning newspaper? No matter how efficient the presses are, you can't get a paper with more recent news than the CEEFAX Daily News! The program "News" will produce a printed copy of all the latest news stories from CEEFAX pages. Simply run the program when you get out of bed, and your newspaper will be delivered before breakfast! And it will cost nothing (well, just the cost of the printer paper!) Within minutes of a news story breaking, the CEEFAX news team can have the details "on air" and available to millions of people nationwide! Now you can have your own printed copy of the very latest news - hours before even the most efficient newspaper can release the stories! The program looks at the news pages from CEEFAX (pages 103 to 118), gets rid of colour control codes and the like, then merges alternate lines to produce rows of text suitable for a standard 80-column printer. It has been deliberately designed for use with any printer, and therefore produces only the normal ASCII characters, and no printer control codes at all. This compatibility has been achieved at the loss of correct interpretation of the quarter, half and three-quarter symbols, which will appear as curly brackets and oblique stroke. However, these are not common symbols on the news pages, and should rarely affect the output. One symbol that does differ from printer to printer is the pound sign. If your printer uses a code other than 35 to print this character, then remove the "REM" from line 980, suitably adjusting the rest of the line to give the code your printer requires. The program does, of course, need a teletext adapter (the BBC Microcomputer System adapter with ATS). To achieve a tolerable speed, 17 of the adapter's page grabbers are put into action to simultaneously grab all the news pages, plus the news index page (page 102). The latter is used to provide a suitable heading to each story, which is included in the printout underlined with "=" characters to ensure compatibility with most printers. By using several page grabbers, the entire CEEFAX news section can be received in less than 20 seconds, whereas receiving just one page at a time would take around 6 minutes! The stories themselves are stripped of teletext control codes. Trailing and leading spaces on each row are removed, then each pair of lines joined together to produce up to 79 characters per row of text (suitable for standard printer paper or a mode 131 display). Because the whole news area of CEEFAX is committed to computer memory, there is not enough space left for high resolution (80 column) screen modes. For those who have Shadow screen memory on their machines, a good display can be obtained by selecting MODE131 in line 280 instead of MODE 7. For those without such facilities, using MODE 3 will crash the system. However, as the program is primarily for printed copy, it seems somewhat arbitrary which screen mode is used. You may also produce a text file of the news, ready to be *TYPEd or READ into a wordprocessor. Here you can really begin to play "Editor", adjusting the news stories as you want! Simply choose this option when prompted, and you will be asked for a filename. In order to make the procedure as versatile as possible with different filing systems, no check is made as to the suitability of the given name for the filing system in use. Such checks must be made manually in order to avoid overwriting some important file or getting the "bad filename" error. Because of the hardware restrictions of certain designs of teletext adapter, the program cannot be guaranteed compatible with all adapter makes. It has been written for use with the BBC Microcomputer System adapter. Users of the Morley adapter should read the note below. If you are using an older version of the BBC Micro, with BASIC 1, you may find it necessary to delete the REM statement lines. BASIC 1's string handling capabilities are not quite as efficient as those of later versions of BASIC, and a "no room" error may result. So take a copy of your very own CEEFAX Daily News to work and keep really up to date with the news! If you want the late or the evening editions, just run the program and your copy will be delivered within minutes! __________________________________________________________________________ Procedures/Functions: PROCsetpages - limits the number of teletext lines received per CEEFAX page to only the displayable part of each page FNcheck_got - checks to see if each page has been received by its appropriate page grabber PROCoscli - an OSCLI simulation to maintain compatibility with BASIC1 PROCstop_updates - checks to see if the page is currently being updated (i.e. if a new version of the page is in the process of overwriting the existing copy) PROCset_hold - puts the page in 'HOLD' mode to prevent any further updates PROCreset_grabbers - clears the page grabber records so they no longer search CEEFAX for information PROCwait_for_pages - waits until all the page grabbers report they have actually received the page they are looking for PROCprintpages - converts the page into ASCII format, trims the lines to remove control codes, trailing and leading spaces etc., then prints the text to file and/or printer PROCcheckline - checks for blank lines, ignoring them as required FNprinttitle - finds, converts and prints the appropriate heading to the next story FNadapter - checks if the adapter is connected, on and receiving teletext transmissions PROCselect - requests details of the users requirements for the output route(s) __________________________________________________________________________ NEWS program for the Morley adapter: ==================================== The BBC Microcomputer System adapter (either Acorn or GIS) has the facility to allow simultaneous capture of up to 20 CEEFAX pages. This feature is incorporated in the "NEWS" program to capture the 15 pages carrying the news stories plus the index page (102) from which it calculates the appropriate story headline. The Morley adapter is so designed that this feature cannot be implemented. Modifications are therefore required to eliminate the need for more than one page to be searched for at a time. This causes problems in two areas: 1. By not receiving all the page in a single cycle the program runs more slowly. A comparative test between both versions of "News" showed an increase in execution time of the Morley version of over 50% that of the original. 2. Because the CEEFAX news pages are updated regularly, any time delay between receiving the news story and receiving its appropriate headline could result in the wrond details being given to the title! To prevent this, the original version "grabbed" all 16 pages during a single CEEFAX cycle. This is not possible with the Morley adapter, so the alterations ensure that a new "headlines" page is obtained immediately after receiving the news story details. In this way, it can be (almost) guaranteed that any news page updated during the execution of this program will bear the correct headline. Users of the Morley adapter must use the version entitled "MORNEWS". Although this will also work with the BBC Microcomputer System adapter, users of the Acorn or GIS units will find the version called "NEWS" a far more efficient and faster routine.
00000000 0d 45 78 74 72 61 21 20 45 78 74 72 61 21 20 2e |.Extra! Extra! .| 00000010 2e 2e 20 52 65 61 64 20 61 6c 6c 20 61 62 6f 75 |.. Read all abou| 00000020 74 20 69 74 20 2e 2e 2e 2e 0d 0d 47 65 74 20 79 |t it ......Get y| 00000030 6f 75 72 65 6c 66 20 61 20 63 6f 70 79 20 6f 66 |ourelf a copy of| 00000040 20 74 68 65 20 43 45 45 46 41 58 20 44 61 69 6c | the CEEFAX Dail| 00000050 79 20 4e 65 77 73 21 0d 0d 48 6f 77 20 75 70 2d |y News!..How up-| 00000060 74 6f 2d 64 61 74 65 20 69 73 20 79 6f 75 72 20 |to-date is your | 00000070 6d 6f 72 6e 69 6e 67 20 6e 65 77 73 70 61 70 65 |morning newspape| 00000080 72 3f 20 4e 6f 20 6d 61 74 74 65 72 20 68 6f 77 |r? No matter how| 00000090 20 65 66 66 69 63 69 65 6e 74 20 74 68 65 0d 70 | efficient the.p| 000000a0 72 65 73 73 65 73 20 61 72 65 2c 20 79 6f 75 20 |resses are, you | 000000b0 63 61 6e 27 74 20 67 65 74 20 61 20 70 61 70 65 |can't get a pape| 000000c0 72 20 77 69 74 68 20 6d 6f 72 65 20 72 65 63 65 |r with more rece| 000000d0 6e 74 20 6e 65 77 73 20 74 68 61 6e 20 74 68 65 |nt news than the| 000000e0 20 43 45 45 46 41 58 0d 44 61 69 6c 79 20 4e 65 | CEEFAX.Daily Ne| 000000f0 77 73 21 0d 0d 54 68 65 20 70 72 6f 67 72 61 6d |ws!..The program| 00000100 20 22 4e 65 77 73 22 20 77 69 6c 6c 20 70 72 6f | "News" will pro| 00000110 64 75 63 65 20 61 20 70 72 69 6e 74 65 64 20 63 |duce a printed c| 00000120 6f 70 79 20 6f 66 20 61 6c 6c 20 74 68 65 20 6c |opy of all the l| 00000130 61 74 65 73 74 20 6e 65 77 73 0d 73 74 6f 72 69 |atest news.stori| 00000140 65 73 20 66 72 6f 6d 20 43 45 45 46 41 58 20 70 |es from CEEFAX p| 00000150 61 67 65 73 2e 20 53 69 6d 70 6c 79 20 72 75 6e |ages. Simply run| 00000160 20 74 68 65 20 70 72 6f 67 72 61 6d 20 77 68 65 | the program whe| 00000170 6e 20 79 6f 75 20 67 65 74 20 6f 75 74 20 6f 66 |n you get out of| 00000180 20 62 65 64 2c 0d 61 6e 64 20 79 6f 75 72 20 6e | bed,.and your n| 00000190 65 77 73 70 61 70 65 72 20 77 69 6c 6c 20 62 65 |ewspaper will be| 000001a0 20 64 65 6c 69 76 65 72 65 64 20 62 65 66 6f 72 | delivered befor| 000001b0 65 20 62 72 65 61 6b 66 61 73 74 21 20 41 6e 64 |e breakfast! And| 000001c0 20 69 74 20 77 69 6c 6c 20 63 6f 73 74 0d 6e 6f | it will cost.no| 000001d0 74 68 69 6e 67 20 28 77 65 6c 6c 2c 20 6a 75 73 |thing (well, jus| 000001e0 74 20 74 68 65 20 63 6f 73 74 20 6f 66 20 74 68 |t the cost of th| 000001f0 65 20 70 72 69 6e 74 65 72 20 70 61 70 65 72 21 |e printer paper!| 00000200 29 0d 0d 57 69 74 68 69 6e 20 6d 69 6e 75 74 65 |)..Within minute| 00000210 73 20 6f 66 20 61 20 6e 65 77 73 20 73 74 6f 72 |s of a news stor| 00000220 79 20 62 72 65 61 6b 69 6e 67 2c 20 74 68 65 20 |y breaking, the | 00000230 43 45 45 46 41 58 20 6e 65 77 73 20 74 65 61 6d |CEEFAX news team| 00000240 20 63 61 6e 20 68 61 76 65 20 74 68 65 0d 64 65 | can have the.de| 00000250 74 61 69 6c 73 20 22 6f 6e 20 61 69 72 22 20 61 |tails "on air" a| 00000260 6e 64 20 61 76 61 69 6c 61 62 6c 65 20 74 6f 20 |nd available to | 00000270 6d 69 6c 6c 69 6f 6e 73 20 6f 66 20 70 65 6f 70 |millions of peop| 00000280 6c 65 20 6e 61 74 69 6f 6e 77 69 64 65 21 20 4e |le nationwide! N| 00000290 6f 77 20 79 6f 75 0d 63 61 6e 20 68 61 76 65 20 |ow you.can have | 000002a0 79 6f 75 72 20 6f 77 6e 20 70 72 69 6e 74 65 64 |your own printed| 000002b0 20 63 6f 70 79 20 6f 66 20 74 68 65 20 76 65 72 | copy of the ver| 000002c0 79 20 6c 61 74 65 73 74 20 6e 65 77 73 20 2d 20 |y latest news - | 000002d0 68 6f 75 72 73 20 62 65 66 6f 72 65 20 65 76 65 |hours before eve| 000002e0 6e 0d 74 68 65 20 6d 6f 73 74 20 65 66 66 69 63 |n.the most effic| 000002f0 69 65 6e 74 20 6e 65 77 73 70 61 70 65 72 20 63 |ient newspaper c| 00000300 61 6e 20 72 65 6c 65 61 73 65 20 74 68 65 20 73 |an release the s| 00000310 74 6f 72 69 65 73 21 0d 0d 54 68 65 20 70 72 6f |tories!..The pro| 00000320 67 72 61 6d 20 6c 6f 6f 6b 73 20 61 74 20 74 68 |gram looks at th| 00000330 65 20 6e 65 77 73 20 70 61 67 65 73 20 66 72 6f |e news pages fro| 00000340 6d 20 43 45 45 46 41 58 20 28 70 61 67 65 73 20 |m CEEFAX (pages | 00000350 31 30 33 20 74 6f 20 31 31 38 29 2c 20 67 65 74 |103 to 118), get| 00000360 73 0d 72 69 64 20 6f 66 20 63 6f 6c 6f 75 72 20 |s.rid of colour | 00000370 63 6f 6e 74 72 6f 6c 20 63 6f 64 65 73 20 61 6e |control codes an| 00000380 64 20 74 68 65 20 6c 69 6b 65 2c 20 74 68 65 6e |d the like, then| 00000390 20 6d 65 72 67 65 73 20 61 6c 74 65 72 6e 61 74 | merges alternat| 000003a0 65 20 6c 69 6e 65 73 20 74 6f 0d 70 72 6f 64 75 |e lines to.produ| 000003b0 63 65 20 72 6f 77 73 20 6f 66 20 74 65 78 74 20 |ce rows of text | 000003c0 73 75 69 74 61 62 6c 65 20 66 6f 72 20 61 20 73 |suitable for a s| 000003d0 74 61 6e 64 61 72 64 20 38 30 2d 63 6f 6c 75 6d |tandard 80-colum| 000003e0 6e 20 70 72 69 6e 74 65 72 2e 0d 0d 49 74 20 68 |n printer...It h| 000003f0 61 73 20 62 65 65 6e 20 64 65 6c 69 62 65 72 61 |as been delibera| 00000400 74 65 6c 79 20 64 65 73 69 67 6e 65 64 20 66 6f |tely designed fo| 00000410 72 20 75 73 65 20 77 69 74 68 20 61 6e 79 20 70 |r use with any p| 00000420 72 69 6e 74 65 72 2c 20 61 6e 64 20 74 68 65 72 |rinter, and ther| 00000430 65 66 6f 72 65 0d 70 72 6f 64 75 63 65 73 20 6f |efore.produces o| 00000440 6e 6c 79 20 74 68 65 20 6e 6f 72 6d 61 6c 20 41 |nly the normal A| 00000450 53 43 49 49 20 63 68 61 72 61 63 74 65 72 73 2c |SCII characters,| 00000460 20 61 6e 64 20 6e 6f 20 70 72 69 6e 74 65 72 20 | and no printer | 00000470 63 6f 6e 74 72 6f 6c 20 63 6f 64 65 73 20 61 74 |control codes at| 00000480 0d 61 6c 6c 2e 20 54 68 69 73 20 63 6f 6d 70 61 |.all. This compa| 00000490 74 69 62 69 6c 69 74 79 20 68 61 73 20 62 65 65 |tibility has bee| 000004a0 6e 20 61 63 68 69 65 76 65 64 20 61 74 20 74 68 |n achieved at th| 000004b0 65 20 6c 6f 73 73 20 6f 66 20 63 6f 72 72 65 63 |e loss of correc| 000004c0 74 0d 69 6e 74 65 72 70 72 65 74 61 74 69 6f 6e |t.interpretation| 000004d0 20 6f 66 20 74 68 65 20 71 75 61 72 74 65 72 2c | of the quarter,| 000004e0 20 68 61 6c 66 20 61 6e 64 20 74 68 72 65 65 2d | half and three-| 000004f0 71 75 61 72 74 65 72 20 73 79 6d 62 6f 6c 73 2c |quarter symbols,| 00000500 20 77 68 69 63 68 20 77 69 6c 6c 0d 61 70 70 65 | which will.appe| 00000510 61 72 20 61 73 20 63 75 72 6c 79 20 62 72 61 63 |ar as curly brac| 00000520 6b 65 74 73 20 61 6e 64 20 6f 62 6c 69 71 75 65 |kets and oblique| 00000530 20 73 74 72 6f 6b 65 2e 20 48 6f 77 65 76 65 72 | stroke. However| 00000540 2c 20 74 68 65 73 65 20 61 72 65 20 6e 6f 74 20 |, these are not | 00000550 63 6f 6d 6d 6f 6e 0d 73 79 6d 62 6f 6c 73 20 6f |common.symbols o| 00000560 6e 20 74 68 65 20 6e 65 77 73 20 70 61 67 65 73 |n the news pages| 00000570 2c 20 61 6e 64 20 73 68 6f 75 6c 64 20 72 61 72 |, and should rar| 00000580 65 6c 79 20 61 66 66 65 63 74 20 74 68 65 20 6f |ely affect the o| 00000590 75 74 70 75 74 2e 0d 0d 4f 6e 65 20 73 79 6d 62 |utput...One symb| 000005a0 6f 6c 20 74 68 61 74 20 64 6f 65 73 20 64 69 66 |ol that does dif| 000005b0 66 65 72 20 66 72 6f 6d 20 70 72 69 6e 74 65 72 |fer from printer| 000005c0 20 74 6f 20 70 72 69 6e 74 65 72 20 69 73 20 74 | to printer is t| 000005d0 68 65 20 70 6f 75 6e 64 20 73 69 67 6e 2e 20 49 |he pound sign. I| 000005e0 66 0d 79 6f 75 72 20 70 72 69 6e 74 65 72 20 75 |f.your printer u| 000005f0 73 65 73 20 61 20 63 6f 64 65 20 6f 74 68 65 72 |ses a code other| 00000600 20 74 68 61 6e 20 33 35 20 74 6f 20 70 72 69 6e | than 35 to prin| 00000610 74 20 74 68 69 73 20 63 68 61 72 61 63 74 65 72 |t this character| 00000620 2c 20 74 68 65 6e 0d 72 65 6d 6f 76 65 20 74 68 |, then.remove th| 00000630 65 20 22 52 45 4d 22 20 66 72 6f 6d 20 6c 69 6e |e "REM" from lin| 00000640 65 20 39 38 30 2c 20 73 75 69 74 61 62 6c 79 20 |e 980, suitably | 00000650 61 64 6a 75 73 74 69 6e 67 20 74 68 65 20 72 65 |adjusting the re| 00000660 73 74 20 6f 66 20 74 68 65 20 6c 69 6e 65 20 74 |st of the line t| 00000670 6f 0d 67 69 76 65 20 74 68 65 20 63 6f 64 65 20 |o.give the code | 00000680 79 6f 75 72 20 70 72 69 6e 74 65 72 20 72 65 71 |your printer req| 00000690 75 69 72 65 73 2e 0d 0d 54 68 65 20 70 72 6f 67 |uires...The prog| 000006a0 72 61 6d 20 64 6f 65 73 2c 20 6f 66 20 63 6f 75 |ram does, of cou| 000006b0 72 73 65 2c 20 6e 65 65 64 20 61 20 74 65 6c 65 |rse, need a tele| 000006c0 74 65 78 74 20 61 64 61 70 74 65 72 20 28 74 68 |text adapter (th| 000006d0 65 20 42 42 43 0d 4d 69 63 72 6f 63 6f 6d 70 75 |e BBC.Microcompu| 000006e0 74 65 72 20 53 79 73 74 65 6d 20 61 64 61 70 74 |ter System adapt| 000006f0 65 72 20 77 69 74 68 20 41 54 53 29 2e 20 54 6f |er with ATS). To| 00000700 20 61 63 68 69 65 76 65 20 61 20 74 6f 6c 65 72 | achieve a toler| 00000710 61 62 6c 65 20 73 70 65 65 64 2c 20 31 37 0d 6f |able speed, 17.o| 00000720 66 20 74 68 65 20 61 64 61 70 74 65 72 27 73 20 |f the adapter's | 00000730 70 61 67 65 20 67 72 61 62 62 65 72 73 20 61 72 |page grabbers ar| 00000740 65 20 70 75 74 20 69 6e 74 6f 20 61 63 74 69 6f |e put into actio| 00000750 6e 20 74 6f 20 73 69 6d 75 6c 74 61 6e 65 6f 75 |n to simultaneou| 00000760 73 6c 79 20 67 72 61 62 0d 61 6c 6c 20 74 68 65 |sly grab.all the| 00000770 20 6e 65 77 73 20 70 61 67 65 73 2c 20 70 6c 75 | news pages, plu| 00000780 73 20 74 68 65 20 6e 65 77 73 20 69 6e 64 65 78 |s the news index| 00000790 20 70 61 67 65 20 28 70 61 67 65 20 31 30 32 29 | page (page 102)| 000007a0 2e 20 54 68 65 20 6c 61 74 74 65 72 20 69 73 0d |. The latter is.| 000007b0 75 73 65 64 20 74 6f 20 70 72 6f 76 69 64 65 20 |used to provide | 000007c0 61 20 73 75 69 74 61 62 6c 65 20 68 65 61 64 69 |a suitable headi| 000007d0 6e 67 20 74 6f 20 65 61 63 68 20 73 74 6f 72 79 |ng to each story| 000007e0 2c 20 77 68 69 63 68 20 69 73 20 69 6e 63 6c 75 |, which is inclu| 000007f0 64 65 64 20 69 6e 20 74 68 65 0d 70 72 69 6e 74 |ded in the.print| 00000800 6f 75 74 20 75 6e 64 65 72 6c 69 6e 65 64 20 77 |out underlined w| 00000810 69 74 68 20 22 3d 22 20 63 68 61 72 61 63 74 65 |ith "=" characte| 00000820 72 73 20 74 6f 20 65 6e 73 75 72 65 20 63 6f 6d |rs to ensure com| 00000830 70 61 74 69 62 69 6c 69 74 79 20 77 69 74 68 20 |patibility with | 00000840 6d 6f 73 74 0d 70 72 69 6e 74 65 72 73 2e 0d 0d |most.printers...| 00000850 42 79 20 75 73 69 6e 67 20 73 65 76 65 72 61 6c |By using several| 00000860 20 70 61 67 65 20 67 72 61 62 62 65 72 73 2c 20 | page grabbers, | 00000870 74 68 65 20 65 6e 74 69 72 65 20 43 45 45 46 41 |the entire CEEFA| 00000880 58 20 6e 65 77 73 20 73 65 63 74 69 6f 6e 20 63 |X news section c| 00000890 61 6e 20 62 65 0d 72 65 63 65 69 76 65 64 20 69 |an be.received i| 000008a0 6e 20 6c 65 73 73 20 74 68 61 6e 20 32 30 20 73 |n less than 20 s| 000008b0 65 63 6f 6e 64 73 2c 20 77 68 65 72 65 61 73 20 |econds, whereas | 000008c0 72 65 63 65 69 76 69 6e 67 20 6a 75 73 74 20 6f |receiving just o| 000008d0 6e 65 20 70 61 67 65 20 61 74 20 61 0d 74 69 6d |ne page at a.tim| 000008e0 65 20 77 6f 75 6c 64 20 74 61 6b 65 20 61 72 6f |e would take aro| 000008f0 75 6e 64 20 36 20 6d 69 6e 75 74 65 73 21 0d 0d |und 6 minutes!..| 00000900 54 68 65 20 73 74 6f 72 69 65 73 20 74 68 65 6d |The stories them| 00000910 73 65 6c 76 65 73 20 61 72 65 20 73 74 72 69 70 |selves are strip| 00000920 70 65 64 20 6f 66 20 74 65 6c 65 74 65 78 74 20 |ped of teletext | 00000930 63 6f 6e 74 72 6f 6c 20 63 6f 64 65 73 2e 20 54 |control codes. T| 00000940 72 61 69 6c 69 6e 67 0d 61 6e 64 20 6c 65 61 64 |railing.and lead| 00000950 69 6e 67 20 73 70 61 63 65 73 20 6f 6e 20 65 61 |ing spaces on ea| 00000960 63 68 20 72 6f 77 20 61 72 65 20 72 65 6d 6f 76 |ch row are remov| 00000970 65 64 2c 20 74 68 65 6e 20 65 61 63 68 20 70 61 |ed, then each pa| 00000980 69 72 20 6f 66 20 6c 69 6e 65 73 20 6a 6f 69 6e |ir of lines join| 00000990 65 64 0d 74 6f 67 65 74 68 65 72 20 74 6f 20 70 |ed.together to p| 000009a0 72 6f 64 75 63 65 20 75 70 20 74 6f 20 37 39 20 |roduce up to 79 | 000009b0 63 68 61 72 61 63 74 65 72 73 20 70 65 72 20 72 |characters per r| 000009c0 6f 77 20 6f 66 20 74 65 78 74 20 28 73 75 69 74 |ow of text (suit| 000009d0 61 62 6c 65 20 66 6f 72 0d 73 74 61 6e 64 61 72 |able for.standar| 000009e0 64 20 70 72 69 6e 74 65 72 20 70 61 70 65 72 20 |d printer paper | 000009f0 6f 72 20 61 20 6d 6f 64 65 20 31 33 31 20 64 69 |or a mode 131 di| 00000a00 73 70 6c 61 79 29 2e 0d 0d 42 65 63 61 75 73 65 |splay)...Because| 00000a10 20 74 68 65 20 77 68 6f 6c 65 20 6e 65 77 73 20 | the whole news | 00000a20 61 72 65 61 20 6f 66 20 43 45 45 46 41 58 20 69 |area of CEEFAX i| 00000a30 73 20 63 6f 6d 6d 69 74 74 65 64 20 74 6f 20 63 |s committed to c| 00000a40 6f 6d 70 75 74 65 72 20 6d 65 6d 6f 72 79 2c 0d |omputer memory,.| 00000a50 74 68 65 72 65 20 69 73 20 6e 6f 74 20 65 6e 6f |there is not eno| 00000a60 75 67 68 20 73 70 61 63 65 20 6c 65 66 74 20 66 |ugh space left f| 00000a70 6f 72 20 68 69 67 68 20 72 65 73 6f 6c 75 74 69 |or high resoluti| 00000a80 6f 6e 20 28 38 30 20 63 6f 6c 75 6d 6e 29 20 73 |on (80 column) s| 00000a90 63 72 65 65 6e 0d 6d 6f 64 65 73 2e 20 46 6f 72 |creen.modes. For| 00000aa0 20 74 68 6f 73 65 20 77 68 6f 20 68 61 76 65 20 | those who have | 00000ab0 53 68 61 64 6f 77 20 73 63 72 65 65 6e 20 6d 65 |Shadow screen me| 00000ac0 6d 6f 72 79 20 6f 6e 20 74 68 65 69 72 20 6d 61 |mory on their ma| 00000ad0 63 68 69 6e 65 73 2c 20 61 20 67 6f 6f 64 0d 64 |chines, a good.d| 00000ae0 69 73 70 6c 61 79 20 63 61 6e 20 62 65 20 6f 62 |isplay can be ob| 00000af0 74 61 69 6e 65 64 20 62 79 20 73 65 6c 65 63 74 |tained by select| 00000b00 69 6e 67 20 4d 4f 44 45 31 33 31 20 69 6e 20 6c |ing MODE131 in l| 00000b10 69 6e 65 20 32 38 30 20 69 6e 73 74 65 61 64 20 |ine 280 instead | 00000b20 6f 66 20 4d 4f 44 45 0d 37 2e 20 46 6f 72 20 74 |of MODE.7. For t| 00000b30 68 6f 73 65 20 77 69 74 68 6f 75 74 20 73 75 63 |hose without suc| 00000b40 68 20 66 61 63 69 6c 69 74 69 65 73 2c 20 75 73 |h facilities, us| 00000b50 69 6e 67 20 4d 4f 44 45 20 33 20 77 69 6c 6c 20 |ing MODE 3 will | 00000b60 63 72 61 73 68 20 74 68 65 20 73 79 73 74 65 6d |crash the system| 00000b70 2e 0d 48 6f 77 65 76 65 72 2c 20 61 73 20 74 68 |..However, as th| 00000b80 65 20 70 72 6f 67 72 61 6d 20 69 73 20 70 72 69 |e program is pri| 00000b90 6d 61 72 69 6c 79 20 66 6f 72 20 70 72 69 6e 74 |marily for print| 00000ba0 65 64 20 63 6f 70 79 2c 20 69 74 20 73 65 65 6d |ed copy, it seem| 00000bb0 73 20 73 6f 6d 65 77 68 61 74 0d 61 72 62 69 74 |s somewhat.arbit| 00000bc0 72 61 72 79 20 77 68 69 63 68 20 73 63 72 65 65 |rary which scree| 00000bd0 6e 20 6d 6f 64 65 20 69 73 20 75 73 65 64 2e 0d |n mode is used..| 00000be0 0d 59 6f 75 20 6d 61 79 20 61 6c 73 6f 20 70 72 |.You may also pr| 00000bf0 6f 64 75 63 65 20 61 20 74 65 78 74 20 66 69 6c |oduce a text fil| 00000c00 65 20 6f 66 20 74 68 65 20 6e 65 77 73 2c 20 72 |e of the news, r| 00000c10 65 61 64 79 20 74 6f 20 62 65 20 2a 54 59 50 45 |eady to be *TYPE| 00000c20 64 20 6f 72 20 52 45 41 44 0d 69 6e 74 6f 20 61 |d or READ.into a| 00000c30 20 77 6f 72 64 70 72 6f 63 65 73 73 6f 72 2e 20 | wordprocessor. | 00000c40 48 65 72 65 20 79 6f 75 20 63 61 6e 20 72 65 61 |Here you can rea| 00000c50 6c 6c 79 20 62 65 67 69 6e 20 74 6f 20 70 6c 61 |lly begin to pla| 00000c60 79 20 22 45 64 69 74 6f 72 22 2c 0d 61 64 6a 75 |y "Editor",.adju| 00000c70 73 74 69 6e 67 20 74 68 65 20 6e 65 77 73 20 73 |sting the news s| 00000c80 74 6f 72 69 65 73 20 61 73 20 79 6f 75 20 77 61 |tories as you wa| 00000c90 6e 74 21 20 53 69 6d 70 6c 79 20 63 68 6f 6f 73 |nt! Simply choos| 00000ca0 65 20 74 68 69 73 20 6f 70 74 69 6f 6e 20 77 68 |e this option wh| 00000cb0 65 6e 0d 70 72 6f 6d 70 74 65 64 2c 20 61 6e 64 |en.prompted, and| 00000cc0 20 79 6f 75 20 77 69 6c 6c 20 62 65 20 61 73 6b | you will be ask| 00000cd0 65 64 20 66 6f 72 20 61 20 66 69 6c 65 6e 61 6d |ed for a filenam| 00000ce0 65 2e 20 49 6e 20 6f 72 64 65 72 20 74 6f 20 6d |e. In order to m| 00000cf0 61 6b 65 20 74 68 65 0d 70 72 6f 63 65 64 75 72 |ake the.procedur| 00000d00 65 20 61 73 20 76 65 72 73 61 74 69 6c 65 20 61 |e as versatile a| 00000d10 73 20 70 6f 73 73 69 62 6c 65 20 77 69 74 68 20 |s possible with | 00000d20 64 69 66 66 65 72 65 6e 74 20 66 69 6c 69 6e 67 |different filing| 00000d30 20 73 79 73 74 65 6d 73 2c 20 6e 6f 20 63 68 65 | systems, no che| 00000d40 63 6b 0d 69 73 20 6d 61 64 65 20 61 73 20 74 6f |ck.is made as to| 00000d50 20 74 68 65 20 73 75 69 74 61 62 69 6c 69 74 79 | the suitability| 00000d60 20 6f 66 20 74 68 65 20 67 69 76 65 6e 20 6e 61 | of the given na| 00000d70 6d 65 20 66 6f 72 20 74 68 65 20 66 69 6c 69 6e |me for the filin| 00000d80 67 20 73 79 73 74 65 6d 20 69 6e 0d 75 73 65 2e |g system in.use.| 00000d90 20 53 75 63 68 20 63 68 65 63 6b 73 20 6d 75 73 | Such checks mus| 00000da0 74 20 62 65 20 6d 61 64 65 20 6d 61 6e 75 61 6c |t be made manual| 00000db0 6c 79 20 69 6e 20 6f 72 64 65 72 20 74 6f 20 61 |ly in order to a| 00000dc0 76 6f 69 64 20 6f 76 65 72 77 72 69 74 69 6e 67 |void overwriting| 00000dd0 20 73 6f 6d 65 0d 69 6d 70 6f 72 74 61 6e 74 20 | some.important | 00000de0 66 69 6c 65 20 6f 72 20 67 65 74 74 69 6e 67 20 |file or getting | 00000df0 74 68 65 20 22 62 61 64 20 66 69 6c 65 6e 61 6d |the "bad filenam| 00000e00 65 22 20 65 72 72 6f 72 2e 0d 0d 42 65 63 61 75 |e" error...Becau| 00000e10 73 65 20 6f 66 20 74 68 65 20 68 61 72 64 77 61 |se of the hardwa| 00000e20 72 65 20 72 65 73 74 72 69 63 74 69 6f 6e 73 20 |re restrictions | 00000e30 6f 66 20 63 65 72 74 61 69 6e 20 64 65 73 69 67 |of certain desig| 00000e40 6e 73 20 6f 66 20 74 65 6c 65 74 65 78 74 0d 61 |ns of teletext.a| 00000e50 64 61 70 74 65 72 2c 20 74 68 65 20 70 72 6f 67 |dapter, the prog| 00000e60 72 61 6d 20 63 61 6e 6e 6f 74 20 62 65 20 67 75 |ram cannot be gu| 00000e70 61 72 61 6e 74 65 65 64 20 63 6f 6d 70 61 74 69 |aranteed compati| 00000e80 62 6c 65 20 77 69 74 68 20 61 6c 6c 20 61 64 61 |ble with all ada| 00000e90 70 74 65 72 0d 6d 61 6b 65 73 2e 20 49 74 20 68 |pter.makes. It h| 00000ea0 61 73 20 62 65 65 6e 20 77 72 69 74 74 65 6e 20 |as been written | 00000eb0 66 6f 72 20 75 73 65 20 77 69 74 68 20 74 68 65 |for use with the| 00000ec0 20 42 42 43 20 4d 69 63 72 6f 63 6f 6d 70 75 74 | BBC Microcomput| 00000ed0 65 72 20 53 79 73 74 65 6d 0d 61 64 61 70 74 65 |er System.adapte| 00000ee0 72 2e 20 55 73 65 72 73 20 6f 66 20 74 68 65 20 |r. Users of the | 00000ef0 4d 6f 72 6c 65 79 20 61 64 61 70 74 65 72 20 73 |Morley adapter s| 00000f00 68 6f 75 6c 64 20 72 65 61 64 20 74 68 65 20 6e |hould read the n| 00000f10 6f 74 65 20 62 65 6c 6f 77 2e 0d 0d 49 66 20 79 |ote below...If y| 00000f20 6f 75 20 61 72 65 20 75 73 69 6e 67 20 61 6e 20 |ou are using an | 00000f30 6f 6c 64 65 72 20 76 65 72 73 69 6f 6e 20 6f 66 |older version of| 00000f40 20 74 68 65 20 42 42 43 20 4d 69 63 72 6f 2c 20 | the BBC Micro, | 00000f50 77 69 74 68 20 42 41 53 49 43 20 31 2c 20 79 6f |with BASIC 1, yo| 00000f60 75 20 6d 61 79 0d 66 69 6e 64 20 69 74 20 6e 65 |u may.find it ne| 00000f70 63 65 73 73 61 72 79 20 74 6f 20 64 65 6c 65 74 |cessary to delet| 00000f80 65 20 74 68 65 20 52 45 4d 20 73 74 61 74 65 6d |e the REM statem| 00000f90 65 6e 74 20 6c 69 6e 65 73 2e 20 42 41 53 49 43 |ent lines. BASIC| 00000fa0 20 31 27 73 20 73 74 72 69 6e 67 0d 68 61 6e 64 | 1's string.hand| 00000fb0 6c 69 6e 67 20 63 61 70 61 62 69 6c 69 74 69 65 |ling capabilitie| 00000fc0 73 20 61 72 65 20 6e 6f 74 20 71 75 69 74 65 20 |s are not quite | 00000fd0 61 73 20 65 66 66 69 63 69 65 6e 74 20 61 73 20 |as efficient as | 00000fe0 74 68 6f 73 65 20 6f 66 20 6c 61 74 65 72 0d 76 |those of later.v| 00000ff0 65 72 73 69 6f 6e 73 20 6f 66 20 42 41 53 49 43 |ersions of BASIC| 00001000 2c 20 61 6e 64 20 61 20 22 6e 6f 20 72 6f 6f 6d |, and a "no room| 00001010 22 20 65 72 72 6f 72 20 6d 61 79 20 72 65 73 75 |" error may resu| 00001020 6c 74 2e 0d 0d 53 6f 20 74 61 6b 65 20 61 20 63 |lt...So take a c| 00001030 6f 70 79 20 6f 66 20 79 6f 75 72 20 76 65 72 79 |opy of your very| 00001040 20 6f 77 6e 20 43 45 45 46 41 58 20 44 61 69 6c | own CEEFAX Dail| 00001050 79 20 4e 65 77 73 20 74 6f 20 77 6f 72 6b 20 61 |y News to work a| 00001060 6e 64 20 6b 65 65 70 20 72 65 61 6c 6c 79 0d 75 |nd keep really.u| 00001070 70 20 74 6f 20 64 61 74 65 20 77 69 74 68 20 74 |p to date with t| 00001080 68 65 20 6e 65 77 73 21 20 49 66 20 79 6f 75 20 |he news! If you | 00001090 77 61 6e 74 20 74 68 65 20 6c 61 74 65 20 6f 72 |want the late or| 000010a0 20 74 68 65 20 65 76 65 6e 69 6e 67 20 65 64 69 | the evening edi| 000010b0 74 69 6f 6e 73 2c 0d 6a 75 73 74 20 72 75 6e 20 |tions,.just run | 000010c0 74 68 65 20 70 72 6f 67 72 61 6d 20 61 6e 64 20 |the program and | 000010d0 79 6f 75 72 20 63 6f 70 79 20 77 69 6c 6c 20 62 |your copy will b| 000010e0 65 20 64 65 6c 69 76 65 72 65 64 20 77 69 74 68 |e delivered with| 000010f0 69 6e 20 6d 69 6e 75 74 65 73 21 0d 0d 5f 5f 5f |in minutes!..___| 00001100 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f |________________| * 00001140 5f 5f 5f 5f 5f 5f 5f 0d 0d 50 72 6f 63 65 64 75 |_______..Procedu| 00001150 72 65 73 2f 46 75 6e 63 74 69 6f 6e 73 3a 0d 0d |res/Functions:..| 00001160 50 52 4f 43 73 65 74 70 61 67 65 73 20 20 20 20 |PROCsetpages | 00001170 20 20 20 2d 20 6c 69 6d 69 74 73 20 74 68 65 20 | - limits the | 00001180 6e 75 6d 62 65 72 20 6f 66 20 74 65 6c 65 74 65 |number of telete| 00001190 78 74 20 6c 69 6e 65 73 20 72 65 63 65 69 76 65 |xt lines receive| 000011a0 64 20 70 65 72 0d 20 20 20 20 20 20 20 20 20 20 |d per. | 000011b0 20 20 20 20 20 20 20 20 20 20 20 43 45 45 46 41 | CEEFA| 000011c0 58 20 70 61 67 65 20 74 6f 20 6f 6e 6c 79 20 74 |X page to only t| 000011d0 68 65 20 64 69 73 70 6c 61 79 61 62 6c 65 20 70 |he displayable p| 000011e0 61 72 74 20 6f 66 20 65 61 63 68 20 70 61 67 65 |art of each page| 000011f0 0d 0d 46 4e 63 68 65 63 6b 5f 67 6f 74 20 20 20 |..FNcheck_got | 00001200 20 20 20 20 20 2d 20 63 68 65 63 6b 73 20 74 6f | - checks to| 00001210 20 73 65 65 20 69 66 20 65 61 63 68 20 70 61 67 | see if each pag| 00001220 65 20 68 61 73 20 62 65 65 6e 20 72 65 63 65 69 |e has been recei| 00001230 76 65 64 20 62 79 20 69 74 73 0d 20 20 20 20 20 |ved by its. | 00001240 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00001250 61 70 70 72 6f 70 72 69 61 74 65 20 70 61 67 65 |appropriate page| 00001260 20 67 72 61 62 62 65 72 0d 0d 50 52 4f 43 6f 73 | grabber..PROCos| 00001270 63 6c 69 20 20 20 20 20 20 20 20 20 20 2d 20 61 |cli - a| 00001280 6e 20 4f 53 43 4c 49 20 73 69 6d 75 6c 61 74 69 |n OSCLI simulati| 00001290 6f 6e 20 74 6f 20 6d 61 69 6e 74 61 69 6e 20 63 |on to maintain c| 000012a0 6f 6d 70 61 74 69 62 69 6c 69 74 79 20 77 69 74 |ompatibility wit| 000012b0 68 0d 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |h. | 000012c0 20 20 20 20 20 20 20 42 41 53 49 43 31 0d 0d 50 | BASIC1..P| 000012d0 52 4f 43 73 74 6f 70 5f 75 70 64 61 74 65 73 20 |ROCstop_updates | 000012e0 20 20 2d 20 63 68 65 63 6b 73 20 74 6f 20 73 65 | - checks to se| 000012f0 65 20 69 66 20 74 68 65 20 70 61 67 65 20 69 73 |e if the page is| 00001300 20 63 75 72 72 65 6e 74 6c 79 20 62 65 69 6e 67 | currently being| 00001310 20 75 70 64 61 74 65 64 0d 20 20 20 20 20 20 20 | updated. | 00001320 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 | (i| 00001330 2e 65 2e 20 69 66 20 61 20 6e 65 77 20 76 65 72 |.e. if a new ver| 00001340 73 69 6f 6e 20 6f 66 20 74 68 65 20 70 61 67 65 |sion of the page| 00001350 20 69 73 20 69 6e 20 74 68 65 20 70 72 6f 63 65 | is in the proce| 00001360 73 73 0d 20 20 20 20 20 20 20 20 20 20 20 20 20 |ss. | 00001370 20 20 20 20 20 20 20 20 6f 66 20 6f 76 65 72 77 | of overw| 00001380 72 69 74 69 6e 67 20 74 68 65 20 65 78 69 73 74 |riting the exist| 00001390 69 6e 67 20 63 6f 70 79 29 0d 0d 50 52 4f 43 73 |ing copy)..PROCs| 000013a0 65 74 5f 68 6f 6c 64 20 20 20 20 20 20 20 2d 20 |et_hold - | 000013b0 70 75 74 73 20 74 68 65 20 70 61 67 65 20 69 6e |puts the page in| 000013c0 20 27 48 4f 4c 44 27 20 6d 6f 64 65 20 74 6f 20 | 'HOLD' mode to | 000013d0 70 72 65 76 65 6e 74 20 61 6e 79 20 66 75 72 74 |prevent any furt| 000013e0 68 65 72 0d 20 20 20 20 20 20 20 20 20 20 20 20 |her. | 000013f0 20 20 20 20 20 20 20 20 20 75 70 64 61 74 65 73 | updates| 00001400 0d 0d 50 52 4f 43 72 65 73 65 74 5f 67 72 61 62 |..PROCreset_grab| 00001410 62 65 72 73 20 2d 20 63 6c 65 61 72 73 20 74 68 |bers - clears th| 00001420 65 20 70 61 67 65 20 67 72 61 62 62 65 72 20 72 |e page grabber r| 00001430 65 63 6f 72 64 73 20 73 6f 20 74 68 65 79 20 6e |ecords so they n| 00001440 6f 20 6c 6f 6e 67 65 72 0d 20 20 20 20 20 20 20 |o longer. | 00001450 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 | se| 00001460 61 72 63 68 20 43 45 45 46 41 58 20 66 6f 72 20 |arch CEEFAX for | 00001470 69 6e 66 6f 72 6d 61 74 69 6f 6e 0d 0d 50 52 4f |information..PRO| 00001480 43 77 61 69 74 5f 66 6f 72 5f 70 61 67 65 73 20 |Cwait_for_pages | 00001490 2d 20 77 61 69 74 73 20 75 6e 74 69 6c 20 61 6c |- waits until al| 000014a0 6c 20 74 68 65 20 70 61 67 65 20 67 72 61 62 62 |l the page grabb| 000014b0 65 72 73 20 72 65 70 6f 72 74 20 74 68 65 79 20 |ers report they | 000014c0 68 61 76 65 0d 20 20 20 20 20 20 20 20 20 20 20 |have. | 000014d0 20 20 20 20 20 20 20 20 20 20 61 63 74 75 61 6c | actual| 000014e0 6c 79 20 72 65 63 65 69 76 65 64 20 74 68 65 20 |ly received the | 000014f0 70 61 67 65 20 74 68 65 79 20 61 72 65 20 6c 6f |page they are lo| 00001500 6f 6b 69 6e 67 20 66 6f 72 0d 0d 50 52 4f 43 70 |oking for..PROCp| 00001510 72 69 6e 74 70 61 67 65 73 20 20 20 20 20 2d 20 |rintpages - | 00001520 63 6f 6e 76 65 72 74 73 20 74 68 65 20 70 61 67 |converts the pag| 00001530 65 20 69 6e 74 6f 20 41 53 43 49 49 20 66 6f 72 |e into ASCII for| 00001540 6d 61 74 2c 20 74 72 69 6d 73 20 74 68 65 20 6c |mat, trims the l| 00001550 69 6e 65 73 0d 20 20 20 20 20 20 20 20 20 20 20 |ines. | 00001560 20 20 20 20 20 20 20 20 20 20 74 6f 20 72 65 6d | to rem| 00001570 6f 76 65 20 63 6f 6e 74 72 6f 6c 20 63 6f 64 65 |ove control code| 00001580 73 2c 20 74 72 61 69 6c 69 6e 67 20 61 6e 64 20 |s, trailing and | 00001590 6c 65 61 64 69 6e 67 20 73 70 61 63 65 73 0d 20 |leading spaces. | 000015a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 000015b0 20 20 20 20 65 74 63 2e 2c 20 74 68 65 6e 20 70 | etc., then p| 000015c0 72 69 6e 74 73 20 74 68 65 20 74 65 78 74 20 74 |rints the text t| 000015d0 6f 20 66 69 6c 65 20 61 6e 64 2f 6f 72 20 70 72 |o file and/or pr| 000015e0 69 6e 74 65 72 0d 0d 50 52 4f 43 63 68 65 63 6b |inter..PROCcheck| 000015f0 6c 69 6e 65 20 20 20 20 20 20 2d 20 63 68 65 63 |line - chec| 00001600 6b 73 20 66 6f 72 20 62 6c 61 6e 6b 20 6c 69 6e |ks for blank lin| 00001610 65 73 2c 20 69 67 6e 6f 72 69 6e 67 20 74 68 65 |es, ignoring the| 00001620 6d 20 61 73 20 72 65 71 75 69 72 65 64 0d 0d 46 |m as required..F| 00001630 4e 70 72 69 6e 74 74 69 74 6c 65 20 20 20 20 20 |Nprinttitle | 00001640 20 20 2d 20 66 69 6e 64 73 2c 20 63 6f 6e 76 65 | - finds, conve| 00001650 72 74 73 20 61 6e 64 20 70 72 69 6e 74 73 20 74 |rts and prints t| 00001660 68 65 20 61 70 70 72 6f 70 72 69 61 74 65 20 68 |he appropriate h| 00001670 65 61 64 69 6e 67 20 74 6f 0d 20 20 20 20 20 20 |eading to. | 00001680 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 | t| 00001690 68 65 20 6e 65 78 74 20 73 74 6f 72 79 0d 0d 46 |he next story..F| 000016a0 4e 61 64 61 70 74 65 72 20 20 20 20 20 20 20 20 |Nadapter | 000016b0 20 20 2d 20 63 68 65 63 6b 73 20 69 66 20 74 68 | - checks if th| 000016c0 65 20 61 64 61 70 74 65 72 20 69 73 20 63 6f 6e |e adapter is con| 000016d0 6e 65 63 74 65 64 2c 20 6f 6e 20 61 6e 64 20 72 |nected, on and r| 000016e0 65 63 65 69 76 69 6e 67 0d 20 20 20 20 20 20 20 |eceiving. | 000016f0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 65 | te| 00001700 6c 65 74 65 78 74 20 74 72 61 6e 73 6d 69 73 73 |letext transmiss| 00001710 69 6f 6e 73 0d 0d 50 52 4f 43 73 65 6c 65 63 74 |ions..PROCselect| 00001720 20 20 20 20 20 20 20 20 20 2d 20 72 65 71 75 65 | - reque| 00001730 73 74 73 20 64 65 74 61 69 6c 73 20 6f 66 20 74 |sts details of t| 00001740 68 65 20 75 73 65 72 73 20 72 65 71 75 69 72 65 |he users require| 00001750 6d 65 6e 74 73 20 66 6f 72 20 74 68 65 0d 20 20 |ments for the. | 00001760 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00001770 20 20 20 6f 75 74 70 75 74 20 72 6f 75 74 65 28 | output route(| 00001780 73 29 0d 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f |s)._____________| 00001790 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f |________________| * 000017c0 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 0d 0d 0d |_____________...| 000017d0 4e 45 57 53 20 70 72 6f 67 72 61 6d 20 66 6f 72 |NEWS program for| 000017e0 20 74 68 65 20 4d 6f 72 6c 65 79 20 61 64 61 70 | the Morley adap| 000017f0 74 65 72 3a 0d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |ter:.===========| 00001800 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 00001810 3d 3d 3d 3d 3d 3d 3d 3d 3d 0d 0d 54 68 65 20 42 |=========..The B| 00001820 42 43 20 4d 69 63 72 6f 63 6f 6d 70 75 74 65 72 |BC Microcomputer| 00001830 20 53 79 73 74 65 6d 20 61 64 61 70 74 65 72 20 | System adapter | 00001840 28 65 69 74 68 65 72 20 41 63 6f 72 6e 20 6f 72 |(either Acorn or| 00001850 20 47 49 53 29 20 68 61 73 20 74 68 65 0d 66 61 | GIS) has the.fa| 00001860 63 69 6c 69 74 79 20 74 6f 20 61 6c 6c 6f 77 20 |cility to allow | 00001870 73 69 6d 75 6c 74 61 6e 65 6f 75 73 20 63 61 70 |simultaneous cap| 00001880 74 75 72 65 20 6f 66 20 75 70 20 74 6f 20 32 30 |ture of up to 20| 00001890 20 43 45 45 46 41 58 20 70 61 67 65 73 2e 20 54 | CEEFAX pages. T| 000018a0 68 69 73 0d 66 65 61 74 75 72 65 20 69 73 20 69 |his.feature is i| 000018b0 6e 63 6f 72 70 6f 72 61 74 65 64 20 69 6e 20 74 |ncorporated in t| 000018c0 68 65 20 22 4e 45 57 53 22 20 70 72 6f 67 72 61 |he "NEWS" progra| 000018d0 6d 20 74 6f 20 63 61 70 74 75 72 65 20 74 68 65 |m to capture the| 000018e0 20 31 35 20 70 61 67 65 73 0d 63 61 72 72 79 69 | 15 pages.carryi| 000018f0 6e 67 20 74 68 65 20 6e 65 77 73 20 73 74 6f 72 |ng the news stor| 00001900 69 65 73 20 70 6c 75 73 20 74 68 65 20 69 6e 64 |ies plus the ind| 00001910 65 78 20 70 61 67 65 20 28 31 30 32 29 20 66 72 |ex page (102) fr| 00001920 6f 6d 20 77 68 69 63 68 20 69 74 0d 63 61 6c 63 |om which it.calc| 00001930 75 6c 61 74 65 73 20 74 68 65 20 61 70 70 72 6f |ulates the appro| 00001940 70 72 69 61 74 65 20 73 74 6f 72 79 20 68 65 61 |priate story hea| 00001950 64 6c 69 6e 65 2e 0d 0d 54 68 65 20 4d 6f 72 6c |dline...The Morl| 00001960 65 79 20 61 64 61 70 74 65 72 20 69 73 20 73 6f |ey adapter is so| 00001970 20 64 65 73 69 67 6e 65 64 20 74 68 61 74 20 74 | designed that t| 00001980 68 69 73 20 66 65 61 74 75 72 65 20 63 61 6e 6e |his feature cann| 00001990 6f 74 20 62 65 20 69 6d 70 6c 65 6d 65 6e 74 65 |ot be implemente| 000019a0 64 2e 0d 4d 6f 64 69 66 69 63 61 74 69 6f 6e 73 |d..Modifications| 000019b0 20 61 72 65 20 74 68 65 72 65 66 6f 72 65 20 72 | are therefore r| 000019c0 65 71 75 69 72 65 64 20 74 6f 20 65 6c 69 6d 69 |equired to elimi| 000019d0 6e 61 74 65 20 74 68 65 20 6e 65 65 64 20 66 6f |nate the need fo| 000019e0 72 20 6d 6f 72 65 20 74 68 61 6e 0d 6f 6e 65 20 |r more than.one | 000019f0 70 61 67 65 20 74 6f 20 62 65 20 73 65 61 72 63 |page to be searc| 00001a00 68 65 64 20 66 6f 72 20 61 74 20 61 20 74 69 6d |hed for at a tim| 00001a10 65 2e 20 54 68 69 73 20 63 61 75 73 65 73 20 70 |e. This causes p| 00001a20 72 6f 62 6c 65 6d 73 20 69 6e 20 74 77 6f 20 61 |roblems in two a| 00001a30 72 65 61 73 3a 0d 0d 31 2e 20 42 79 20 6e 6f 74 |reas:..1. By not| 00001a40 20 72 65 63 65 69 76 69 6e 67 20 61 6c 6c 20 74 | receiving all t| 00001a50 68 65 20 70 61 67 65 20 69 6e 20 61 20 73 69 6e |he page in a sin| 00001a60 67 6c 65 20 63 79 63 6c 65 20 74 68 65 20 70 72 |gle cycle the pr| 00001a70 6f 67 72 61 6d 20 72 75 6e 73 20 6d 6f 72 65 0d |ogram runs more.| 00001a80 73 6c 6f 77 6c 79 2e 20 41 20 63 6f 6d 70 61 72 |slowly. A compar| 00001a90 61 74 69 76 65 20 74 65 73 74 20 62 65 74 77 65 |ative test betwe| 00001aa0 65 6e 20 62 6f 74 68 20 76 65 72 73 69 6f 6e 73 |en both versions| 00001ab0 20 6f 66 20 22 4e 65 77 73 22 20 73 68 6f 77 65 | of "News" showe| 00001ac0 64 20 61 6e 0d 69 6e 63 72 65 61 73 65 20 69 6e |d an.increase in| 00001ad0 20 65 78 65 63 75 74 69 6f 6e 20 74 69 6d 65 20 | execution time | 00001ae0 6f 66 20 74 68 65 20 4d 6f 72 6c 65 79 20 76 65 |of the Morley ve| 00001af0 72 73 69 6f 6e 20 6f 66 20 6f 76 65 72 20 35 30 |rsion of over 50| 00001b00 25 20 74 68 61 74 20 6f 66 20 74 68 65 0d 6f 72 |% that of the.or| 00001b10 69 67 69 6e 61 6c 2e 0d 0d 32 2e 20 42 65 63 61 |iginal...2. Beca| 00001b20 75 73 65 20 74 68 65 20 43 45 45 46 41 58 20 6e |use the CEEFAX n| 00001b30 65 77 73 20 70 61 67 65 73 20 61 72 65 20 75 70 |ews pages are up| 00001b40 64 61 74 65 64 20 72 65 67 75 6c 61 72 6c 79 2c |dated regularly,| 00001b50 20 61 6e 79 20 74 69 6d 65 20 64 65 6c 61 79 0d | any time delay.| 00001b60 62 65 74 77 65 65 6e 20 72 65 63 65 69 76 69 6e |between receivin| 00001b70 67 20 74 68 65 20 6e 65 77 73 20 73 74 6f 72 79 |g the news story| 00001b80 20 61 6e 64 20 72 65 63 65 69 76 69 6e 67 20 69 | and receiving i| 00001b90 74 73 20 61 70 70 72 6f 70 72 69 61 74 65 20 68 |ts appropriate h| 00001ba0 65 61 64 6c 69 6e 65 0d 63 6f 75 6c 64 20 72 65 |eadline.could re| 00001bb0 73 75 6c 74 20 69 6e 20 74 68 65 20 77 72 6f 6e |sult in the wron| 00001bc0 64 20 64 65 74 61 69 6c 73 20 62 65 69 6e 67 20 |d details being | 00001bd0 67 69 76 65 6e 20 74 6f 20 74 68 65 20 74 69 74 |given to the tit| 00001be0 6c 65 21 20 54 6f 20 70 72 65 76 65 6e 74 0d 74 |le! To prevent.t| 00001bf0 68 69 73 2c 20 74 68 65 20 6f 72 69 67 69 6e 61 |his, the origina| 00001c00 6c 20 76 65 72 73 69 6f 6e 20 22 67 72 61 62 62 |l version "grabb| 00001c10 65 64 22 20 61 6c 6c 20 31 36 20 70 61 67 65 73 |ed" all 16 pages| 00001c20 20 64 75 72 69 6e 67 20 61 20 73 69 6e 67 6c 65 | during a single| 00001c30 20 43 45 45 46 41 58 0d 63 79 63 6c 65 2e 20 54 | CEEFAX.cycle. T| 00001c40 68 69 73 20 69 73 20 6e 6f 74 20 70 6f 73 73 69 |his is not possi| 00001c50 62 6c 65 20 77 69 74 68 20 74 68 65 20 4d 6f 72 |ble with the Mor| 00001c60 6c 65 79 20 61 64 61 70 74 65 72 2c 20 73 6f 20 |ley adapter, so | 00001c70 74 68 65 20 61 6c 74 65 72 61 74 69 6f 6e 73 0d |the alterations.| 00001c80 65 6e 73 75 72 65 20 74 68 61 74 20 61 20 6e 65 |ensure that a ne| 00001c90 77 20 22 68 65 61 64 6c 69 6e 65 73 22 20 70 61 |w "headlines" pa| 00001ca0 67 65 20 69 73 20 6f 62 74 61 69 6e 65 64 20 69 |ge is obtained i| 00001cb0 6d 6d 65 64 69 61 74 65 6c 79 20 61 66 74 65 72 |mmediately after| 00001cc0 20 72 65 63 65 69 76 69 6e 67 0d 74 68 65 20 6e | receiving.the n| 00001cd0 65 77 73 20 73 74 6f 72 79 20 64 65 74 61 69 6c |ews story detail| 00001ce0 73 2e 20 49 6e 20 74 68 69 73 20 77 61 79 2c 20 |s. In this way, | 00001cf0 69 74 20 63 61 6e 20 62 65 20 28 61 6c 6d 6f 73 |it can be (almos| 00001d00 74 29 20 67 75 61 72 61 6e 74 65 65 64 20 74 68 |t) guaranteed th| 00001d10 61 74 0d 61 6e 79 20 6e 65 77 73 20 70 61 67 65 |at.any news page| 00001d20 20 75 70 64 61 74 65 64 20 64 75 72 69 6e 67 20 | updated during | 00001d30 74 68 65 20 65 78 65 63 75 74 69 6f 6e 20 6f 66 |the execution of| 00001d40 20 74 68 69 73 20 70 72 6f 67 72 61 6d 20 77 69 | this program wi| 00001d50 6c 6c 20 62 65 61 72 20 74 68 65 0d 63 6f 72 72 |ll bear the.corr| 00001d60 65 63 74 20 68 65 61 64 6c 69 6e 65 2e 0d 0d 55 |ect headline...U| 00001d70 73 65 72 73 20 6f 66 20 74 68 65 20 4d 6f 72 6c |sers of the Morl| 00001d80 65 79 20 61 64 61 70 74 65 72 20 6d 75 73 74 20 |ey adapter must | 00001d90 75 73 65 20 74 68 65 20 76 65 72 73 69 6f 6e 20 |use the version | 00001da0 65 6e 74 69 74 6c 65 64 20 22 4d 4f 52 4e 45 57 |entitled "MORNEW| 00001db0 53 22 2e 0d 41 6c 74 68 6f 75 67 68 20 74 68 69 |S"..Although thi| 00001dc0 73 20 77 69 6c 6c 20 61 6c 73 6f 20 77 6f 72 6b |s will also work| 00001dd0 20 77 69 74 68 20 74 68 65 20 42 42 43 20 4d 69 | with the BBC Mi| 00001de0 63 72 6f 63 6f 6d 70 75 74 65 72 20 53 79 73 74 |crocomputer Syst| 00001df0 65 6d 20 61 64 61 70 74 65 72 2c 0d 75 73 65 72 |em adapter,.user| 00001e00 73 20 6f 66 20 74 68 65 20 41 63 6f 72 6e 20 6f |s of the Acorn o| 00001e10 72 20 47 49 53 20 75 6e 69 74 73 20 77 69 6c 6c |r GIS units will| 00001e20 20 66 69 6e 64 20 74 68 65 20 76 65 72 73 69 6f | find the versio| 00001e30 6e 20 63 61 6c 6c 65 64 20 22 4e 45 57 53 22 20 |n called "NEWS" | 00001e40 61 0d 66 61 72 20 6d 6f 72 65 20 65 66 66 69 63 |a.far more effic| 00001e50 69 65 6e 74 20 61 6e 64 20 66 61 73 74 65 72 20 |ient and faster | 00001e60 72 6f 75 74 69 6e 65 2e 0d |routine..| 00001e69