8 Bit Edited by C.J.Richardson. Welcome to 8BS issue 27. To read an article type the 3 digitcode and press RETURN. 101. To read a teletext article in mode 0enter the letter "A" followed by thethree digit code. A101. To define new keys for scrolling thetext, enter the letter "C" followed bythe code, enter C101. Then simply pressthe up key followed by the down key.To print out a text file, enter "P"followed by the article code. P101.Respond to the question "MARKEDPRINTOUT?" with "N" and the whole filewill be printed. Respond with a "Y" andthen enter the phrase that you want thetext to be printed out from. PressESCAPE to end the printout at any time.
True to form, there's something new in
the menu selection, choose the lightpen
menu from the games plus menu. Read on
for further details.
is being edited by MYSELF So send off your submissions, discs and 50p's to: The deadline for issue 28 is June 28. The issue date is July 15th (ish). In two parts. The part you are readingnow is section 1. Select section 2 bypressing BREAK now. Or type *thi2 fromBasic. When using the mode converteryou will be asked whether you want part1 or part 2. An arena for you to display youreloquence. Come on, let's have somecontroversy! In two parts. I have received amarvellous amount of text from membersfor this issue, so much that some hasto wait until next time. Don't let thisstop you though! Keep it up folks. From other members and myself. Comments on programs. A very, very, interesting article,nothing to do with me, no, honestly. Ithink the "size 12" probably refers toputting a large boot in it. Either thator a medical type joke that is probablybest left unexplained. By John Ilsley John Ilsley answers a couple ofquestions raised and explains onemethod of dealing with the Masterbattery backup. By John Ilsley Add sound control and headphones toyour computer. Ok, so you have probably all seen thisgame which is an "Elite" type game. Idiscovered it the other day and simplyhad to make sure that no one else hasmissed it. By Steven Flintham By Steven Flintham By: 2J3 Use: Don't print line numbers Program name: LineOut Associated program/file/s: None Language: Basic Assembler General info: I wrote this after receiving a questionfrom 8J4 "How to delete line numberswhen, say going to print?". Rather thanask why he wanted this and possiblysolve the problem in an easy way, I setoff and wrote this program. Instructions: Chain "LineOut" and LIST the program.The program is heavily REMmed, tryreading it. By: 2J3 Use: Print a random number Program name: AssRnd Associated program/file/s: none Language: Basic Assembler General info: 27N Requested a machine code randomnumber generator. This is a very shortroutine which simply prints outrandom numbers chosen by a machine coderoutine. BASIC provides us with afunction RND to generate a pseudorandom number. The assembler doesn't.This routine will program the user portwith a random number. Instructions: CHAIN "AssRnd" LIST the program to seehow it works. Press f0 or f1 to run theroutine. It takes a few presses to getthe numbers to become more random. By: 2J3 Use: Remove the E attribute from ADFS Program name: Eoff! Associated program/file/s: none Language: Basic General info: See the messages section. A member hasa bit of bother with the "E" attributein ADFS. I neglected to mention this inmy article in issue 25 (mainly becauseI hadn't paid any attention to itmyself). This attribute is verydifficult to remove once set andrenders a program useless ifincomplete. Instructions: LOAD "Eoff!" Enter the directory with the problemfile. Then type RUN. After a prompt theprogram will then remove the "E"attribute from all files in thatdirectory and set the WR attributesinstead. Before doing this. PLEASE back up thedisc first! Just in case. Sent in by: L1L Use: Sort Program name: Sort Associated program/file: None Language: Basic Assembler General info: This program uses various sorts.Examine it to see how they work Sent in by: L1L Use: View wapping editor files Program names: W.Viewer Associated program/file/s: W.Visa Language: Basic Assembler General info: See the note from L1L in the messagessection. He is after someone writinggraphics conversion programs. Instructions: To view an example, a catalogue will beshown. Enter "VISA" followed by either"Y" or "N" to the INVERT? prompt. Sent in by: L1L Use: View Pagemaker files Program name: P.Viewer Associated program/file/s: P.Example Language: Basic General info: As above, this is a viewer which willdisplay Pagemaker/Stop press/clipart. Instructions: This program when run, will display apagemaker cut which was hastily grabbedfrom my own collection of cuts. By: 15A Use: Programming Program name: F.Step1 - 4 Associated program/file/s: PresP text Language: Basic General info: These four examples illustrate the textthat you will read in Stevens articleobtainable from the mag menu. By: L1J (Miroslaw Bobrowski) Use: Picture editing Program names: Cut Paste Associated program/file/s: none Language: Basic General info: Text by L1J The 'CUT' and 'PASTE' utilities, hadbeen inspired by the AMXViewer programwhich appeared on isssue 25. Both myprograms work in any graphics mode andallow to transfer any screen area from one picture to another. Instructions: The 'CUT' program allows you to selecta picture from which you wish to make acutout. When the picture is loaded thesmall box will appear in the middle ofthe screen. The cutout is thenselected by pressing the "Z", "X","/"and ":" keys to position the box, andthe same keys plus the SHIFT key areused to adjust a size of the box. (Youcan move the box around and re-size itas many times as required). When thecutout area is defined press the COPYkey to save it. The screen areaselected is stored as a file in the 'C'directory. (ADFS users should createthe 'C' directory in advance, ie.before the 'CUT' program is used). The second utility, 'PASTE', allows youto incorporate your cutout into anotherpicture or copy it onto a blank screen.After running the program you have toanswer several questions (please pressRETURN if you do not want to save thefinal picture) then an outline of theselected cutout will appear at the topleft hand corner of the screen. You canthen move the box around the screen bypressing the "Z","X","/" and ":" keys(this time the SHIFT key is used tomove the box faster) and when the boxis at the selected position then pressCOPY to retrieve the cutout. The'Paste' utility could be also used toview any AMX 'Stop Press' cutoutprovided that you select MODE 0 andthat you press RETURN when a prompt forfilename appears on the screen. Please note that the 'PASTE' programworks only in the ADFS. The DFS usersshould amend the line 50. This shouldread: 50 MODE 7:*CAT
....Editor.... The program has been
altered for the DFS and ADFS versions
of this issue. See line 50.
8 Bit Edited by C.J.Richardson. By: 2J3 Use: Lightpen menu Program name: LPenMen Associated program/file/s: none Language: Basic and Assembler General info: How many of you possess lightpens? Ijust knocked one up using info from themanual. If anyone is interested in alightpen, contact me, they are VERYcheap to make (pence). And just pluginto the analogue port. Instructions: Move the lightpen up and down in theleft half of the screen. Your choicewill be highlighted. When the programof your choice is selected, move thepen across the screen to the WHITEarea. There are four pages to the menu,making a possible total of 80 entries.You can adapt the menu for your owndiscs quite easily. The DATA statementsat the end of the program hold the 4pages of file info. Entries are as follows: DATA<file description> ?? <file name> Repeated 20 times for each of the fourpages. ADFS users will need to change DFSinstructions such as *DR. to *DIR etc.B$ and C$ are defined at the start ofthe program and can be altered toinsert the correct instructions for theparticular filing system. For DFS: B$ is *DR. 0 C$ is "" For ADFS: B$ is *DIR $ C$ is the sub directory By: Lars Osterballe Use: Space trading zapping adventure Program name: Supreme Associated program/file/s: Suprem1/2 Language: Basic Do a hard break before running this. By: 20G Use: Humour Program name: ComicSt Associated program/file/s: none Language: Basic General info: A mode 7 comic strip By: Use: Music Program name: Warring Associated program/file/s: none Language: Basic General info: Ten music files compacted into one menudriven program. Ideal for a disc suchas this. By: 15A Use: Graphics Program name: F.Plus F.Table Associated program/file/s: Picload Language: Basic+data General info: Info by 15A The Plus and Table files were providedwith the Archimedes PD raytracer QRT,and have been converted to mode 2screens. They use the colours to give agreyscale, so a mono monitor ortelevision is needed to view themcorrectly without printing them out. By: L1J Use: Music and graphics Program name: CanCan Associated program/file/s: CanMc2 Language: Basic+M/C : Cantitl General info: The program 'CanCan' consists of threefiles: the Basic file 'CanCan' whichcalls the other two files, 'CanMC2' and'CanTitl'. This is simply a populartune from the Jacques Offenbach's opera'Orphee aux enfers' (or 'Orpheus in theUnderworld'). I have decided to sendthis program not for its musicalcontents but to demonstrate a non-standard technique to join two screens.First you should produce a picture onthe screen (or you should load apicture) and then you overlay thispicture with another screen file usingOPENUP (or OPENIN) as well as BGET£instructions. The screen bites can beANDed (as in the 'CanCan' program),ORed or EORed, giving differenteffects. O f course, both pictures mustbe in the same graphic mode. Try, forexample, such a program: 10 MODE 1:*LOAD "ScreenOne" 3000 20 F%=OPENIN("ScreenTwo") 30 FOR I%=&3000 TO &7FFF 40 B%=BGET#F% 50 ?I%=?I% OR B%: REM you can changethis line into ?I%=?I% AND B% or elseinto ?I%=?I% EOR B% 60 NEXT 70 *SAVE "MixScreen" FFFE3000 FFFE300: REM if the result is satisfactory where"ScreenOne" and "ScreenTwo" are twodifferent screen files. By: 2J3 Use: Tell the time Program name: Time Associated program/file/s: None Language: Basic General info: I wrote this program for my son when hewas having trouble telling the time.The instructions are contained in theprogram which uses a clock to teach thetime in 5 different ways. If the program finds SPEECH on the discthen the clock will also speak. By: 2J3 Use: Data collection Program name: RatQ Associated program/file/s: RatQdat Language: Basic Instructions: See the separate article available fromthe main menu. By: 15A (Steven Flintham Use: One liner entry. Word processor Program name: WordPrc Associated program/file/s: none Language: Basic Instructions: Text by 15A This is Steven's entry for the one-liner competition. It is a very basicwordprocesor, which allows you to entertext and edit it using the DELETE key.Pressing RETURN has no effect at all -if you want to go to a new line, youmust use spaces to fill the currentone. Pressing CTRL-@ terminates theprogram by printing out your text. The program only allows text to be onescreen in length, and there are nofacilities to stop you DELETEing backpast the start or typing over the end.Despite all this, it is sufficientlyuseable to run off a quick letter orsomething - and you should be able tofit it on a function key. You could extend this program by addinga VDU command at the start to set upyour printer for NLQ printing orsomething. This should be possiblewithout extending the program over oneline. By: James Dallas Use: Self test database Program name: Cards Associated program/file/s: C.Maths Language: Basic GCSE Multiple Choice Question Cards ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ by James Dallas This is Public Domain software. Pleasecopy it and distribute it to yourfriends. Nobody should charge you forthis program except for a copyingcharge and the cost of the disc that itis on. This simple program allows you to testyourself on multiple choice questionsthat you have previously entered. Theprogram is fairly self explanatory. Themain menu covers all the options. You can edit, load, save, print anddelete cards. You can also testyourself on the cards in memory andissue * commands. To enter some cards press 1. Enter yourquestion, three optional answers andthe number of the correct one. Then youcan move about within the 100 cards orexit. This will take you back to themain menu. You can now save your cards.Do not use any drive or directory rootsas all files are saved in directory C. The delete option wipes all cards inmemory. The print option prints out the cardsof your choice. The codes within theprogram are for a * EPSON compatibleprinter (including Panasonic KX-P1081's). These can be changed for anotherprinter if you wish. The program was developed on a BBC Bwith 1770 DFS, BASIC II and OS 1.2.There is no reason why it should notwork with 8271 DFS and BASIC I.