ANTIC WRITER MANUAL - PART 1(This manual is divided into 2 AnticWriter files -- ANT1.TXT andANT2.TXT.  You can print out thesefiles immediately by using the Coption from the DOS menu.)INTRODUCTIONAntic Writer is easy to use, whetheryou need to prepare simple letters orcomplex documents.  It's simpleenough for the novice, but powerfulenough for the professional.  (Acomplete list of the main commandswill be found at the end of thisfile.)The program is written in assemblylanguage and uses fewer bytes thanmost comparable word processors.  Theamount of memory left for your textis displayed on the bottom (prompt)line and is updated each time youswitch into a different mode.SEARCH AND REPLACEHow many times have you typewritten aletter and thought "I wish I couldjust change Mildred's name and sendthis to Aunt Mabel in Hoboken withoutretyping the whole thing?"Well, it's a cinch with Antic Writer.Just use the LOOK mode to findMildred every time it occurs and letthe computer change it to Mabel.Then simply use the PRINT mode totype a fresh letter to Aunt Mabel.What if you need to keep a copy of aletter you send to a company?  Savingit to disk is one way of preservinghistory files of importantcorrespondences.Antic Writer can also:a) Insert and delete characters orlines;b) Move sentences or paragraphs;c) Maintain text history files;d) Ease filing burdens by using disksinstead of file cabinets;e) Reformat documents by simplychanging one or two controlcharacters.I/O ERRORSIn the course of working with yourcomputer system you may get errormessages in the prompt line.  If youwere attempting to access your diskdrive or printer it may be an I/O(Input/Output) error.  I/O refers tothe direction in which information ismoving in respect to the computer.For example, a computer inputsinformation from a keyboard andoutputs it to a printer.Errors detected during thisinformation transfer are called I/OErrors.Here are the error codes:128-BREAK KEY ABORT129-IOCB ALREADY IN USE130-NON-EXISTENT DEVICE131-OPENED ONLY FOR WRITE132-INVALID COMMAND133-DEVICE OR FILE NOT OPEN134-INVALID IOCB NUMBER135-OPENED FOR READ ONLY136-END OF FILE137-TRUNCATED RECORD138-DEVICE TIMEOUT139-DEVICE NAK140-INPUT FRAMING ERROR141-CURSOR OUT OF RANGE142-DATA FRAME OVERRUN ERROR143-DATA FRAME CHECKSUM ERROR144-DEVICE DONE ERROR145-BAD SCREEN MODE146-FUNCTION NOT SUPPORTED147-SCREEN MODE WON'T FIT MEMORYOf the above errors, the most commonis #138.  Usually it's because youattempted to print while the printerwas off or not plugged in.  You'llsee Error #144 if you try saving to adisk with its write-protect notchcovered.160-DISK DRIVE # ERROR161-TOO MANY OPEN DISK FILES162-DISK FULL163-FATAL DISK I/O ERROR164-INTERNAL FILE # MISMATCH165-FILE NAME ERROR166-POINT DATA LENGTH ERROR167-FILE LOCKED168-COMMAND INVALID FOR DISK169-DIRECTORY FULL170-FILE NOT FOUND171-POINT INVALIDAfter noting the error, push [ESCAPE]twice to return to EDIT TEXT.COLD STARTTo load and run Antic Writer, firstturn on disk drive 1.  When the redBUSY lite turns off, put Antic Writerin your drive and turn on yourcomputer.WARM START1. Turn your computer off with eitherthe switch or by opening thecartridge loading door on the 800.2. Insert the Antic Writer disk intodrive 1.3. Turn your computer on.The system will load and start byitself.NOW THAT YOU'RE TURNED ONThe monitor will display a HELP menu.The prompt line will say HELP on theleft.  The five-digit number on theright is amount of memory availablefor your text.  Any time you changemodes, the prompt line will beupdated.HELP MENUTo get the HELP menu press [CONTROL][H].WRITE A LETTERPress [ESCAPE] to remove the HELPmenu.  The PROMPT line now says EDITTEXT.  Type in your letter.  If youmake a mistake press [DELETE] toremove the previous key stroke.By now you've noticed that a whitesquare appears on the TV screen wherethe next character goes.  That'scalled a CURSOR and it helps you findyour way around your text.  Press[BREAK], and your cursor blinks.Press [BREAK] again to turn it off.Type in a sentence.  The program onlyallows lines that fit the screen.  Ifyou reach the end of a line andcontinue entering text, the programautomatically gives you the nextline.  (You may of course end yourline anywhere by pressing [RETURN].)But for now let the computer do it:continue typing without pressing[RETURN].  When you've typed in somesentences, try your HELP mode again.PRINT ITLet's make a printout.  Turn yourprinter on and set it online.  Press[CONTROL] [T] (to go to the start ofyour text), then [CONTROL] [P] (forPRINT mode).  On the prompt line youwill see "PRINT FROM SCREEN TOP(Y/N)?" and the cursor will beblinking by the "?".  A blinkingcursor in the prompt line alwaysindicates that the computer needs areply from you.  Press [Y] to print.The printed document will lookexactly like your screen display."Then why have an 80-column printer?"you might ask.  For now, don't worryabout it.  Later we'll show you howto use FORMAT statements to make yourprinted document look right.SAVE ITRemove your master now and insert aFORMATTED disk.  Press [CONTROL] [S].The prompt line will display "SAVE(Y/N)?  D1:TEMP.WPC".  Press [Y].(If you want to save the file with adifferent filename or disk drive,press [DELETE] till you clear outD1:TEMP.WPC and type in yourchanges.)The prompt line cursor will stopblinking, the BUSY light on the diskdrive will turn on, the drive willspin.  Then the prompt line willdisplay EDIT TEXT, the BUSY lightwill go off and the disk drive willstop.1. You have saved your file to diskdrive 1.2. Its name is "TEMP.WPC".3. You are back in EDIT mode.4. Your document is ready to GET.CURSOR CONTROLIf you hold down [CONTROL] whilepressing an [ARROW] key, the cursormoves in the direction of the arrow.When pressing the right arrow at theend of a line, the cursor will "wraparound" to the beginning of the nextline.  When pressing the left arrowat the beginning of a line, thecursor will wrap around to the end ofthe previous line.The [UP-ARROW] and [DOWN-ARROW] movethe cursor line by line.  If thecursor is at the top line in yourletter when you press [UP-ARROW], thebottom line is removed and a new topline is inserted.  If the cursor isat the last line of the page and youpress [DOWN-ARROW], the top linedisappears and a new bottom lineappears.GET ITTo retrieve (Get back) that letter,press [CONTROL] [G].  The screenmomentarily goes blank and the promptline says LOADING; the disk drivewhirrs, the disk directory appearsand the prompt line will read "CURSORTO NAME-RETURN".Move the cursor to the linecontaining "TEMP.WPC".  Press[RETURN] to highlight that line, andthe prompt line will say "GET THISFILE (Y/N)?".  Press [Y].The screen goes blank and thecomputer prompts LOADING.  The drivespins, your document is displayed,and the computer puts you back inEDIT mode and puts two copies of yourdocument in computer memory.(The reason for TWO copies is thatAntic Writer has an automatic MERGEwhen you retrieve a file from disk.MERGE simply means that you'vecombined two or more documents.)If you don't want to merge files,press [CONTROL] [X] (Clear all text)before dooing a [CONTROL] [G].The number on the right of yourprompt line tells you how much freememory is left.SCROLLINGScrolling (or browsing) is where thecomputer rolls text through yourscreen as though the text were on along strip of paper.Antic Writer lets you scroll by lineor page.  To scroll by line use[CONTROL] [UP-ARROW] and [CONTROL][DOWN-ARROW].To scroll by page, use [CONTROL] [U](Up) and [CONTROL] [D] (Down), whichlet you flip rapidly through thepages of your text.Try mixing page and cursor control.Note that if the cursor is NOT at thetop line of the displayed page whenyou press [CONTROL] [U], then it willgo there WITHOUT getting a new page.The same is true if you press[CONTROL] [D] if you're not at thebottom line of the screen.  This iscalled homing.  [CONTROL] [U] putsyou at the first character of a page,and [CONTROL] [D] puts you at thelast character.A line also has two home positions,beginning and end, and a"pseudo-home," the middle.  To go tothe beginning of a line, press either[CONTROL] [A] or [SHIFT] [TAB]; forthe end of a line, press [CONTROL][Z] or [CONTROL] [TAB].  For themiddle, press [TAB].[CONTROL] [T] puts the cursor at thetop of the text, and [CONTROL] [B]puts it at the bottom.Now put the your cursor anywhere andstart typing in new sentences.  TheNEW material types right over the OLDmaterial.EDITING TEXTAntic Writer automatically putscarriage returns at the end of eachtext line.  When the line overflows,the computer looks for the firstspace to the left and moves that wordto the following line.  However, youMUST press [RETURN] to get emptylines.To clear all text, press [CONTROL][X].  At the prompt, "CLEAR ALL TEXT(Y/N)?" press [Y].Remember that the display is 38characters per line and the printoutcan be more than 80 per printed line.The default setting for the printerline length is 64, but these detailsare covered later.SIMPLE EDITINGAfter you've printed a document,notice that the sentences line up atthe extreme right.To make corrections in the document,place the cursor on the mistake andtype over it.To insert characters, put the cursorwhere you want to insert and press[CONTROL] [INSERT], which puts in aspace each time you press it.  Nowjust type in whatever you want.  Oryou can press [CONTROL] [I] (Inserttext) and simply type in what youwant to add.If you don't want the computerrearranging your text as you type,you press [CONTROL] [J] (Job control)to turn it off.  You will then haveto press [RETURN] to end your lines.PARAGRAPHSTo combine paragraphs, remove theempty lines between them by placingthe cursor on an empty line andpressing [DELETE].NOT TO WORRYIf the screen display looks uneven,press [CONTROL] [O] (Organize text).When the prompt line says ORGANIZETEXT (Y/N)? press [Y].EDIT TEXT WITH "PARSE OFF"To update a file, position the cursoron an empty line.  If the promptdoesn't say EDIT TEXT, press[ESCAPE].  Press [RETURN] to giveyourself an empty line and cursor upto it.  This prevents the computerfrom reparsing through the followingline if you are NOT editing with"PARSE OFF."  This is a good habit toget into: PARSING WILL NOT CROSS ANEMPTY LINE WHEN IN EDIT TEXT ORINSERT MODE.Press [CONTROL] [J].  Your promptshould read "EDIT TEXT PARSE OFF".This mode is important only forpreparing charts that will printexactly as they appear onscreen.To split a single paragraph into two,place the cursor where you want tosplit it, and press [RETURN] twice.Press [DELETE] to get rid of thespace at the beginning of the secondparagraph.FORMATTINGTo indent the beginning of yourparagraphs simply put in a couple ofspaces by putting the cursor thereand pressing [CONTROL] [INSERT].  Ifyou plan to indent paragraphs anddon't want empty lines between them,just take one of each pair of blanklines out.To format the file (not your disk),press the [ATARI] key once.  (The[ATARI] key is at the lower rightcorner of your keyboard and gives youinverse video.) Then press [SHIFT][F].  An uppercase F is displayed ininverse video.  That character is nowflagged in your computer's memory andevery time it is encountered thecomputer will know that it requiresspecial handling.Following the [ATARI] [F] will benormal upper case letters andnumbers.  (For instance, "A0" tellsthe computer to print things exactlyas they appear on the screen, and Mfollowed by a number simply sets theleft margin.)Preceding each FORMAT is [ATARI] [D],which simply sets FORMAT back to itsnormal values.  FORMAT A0 does NOTallow organizing any text --[CONTROL] [O] -- that follows it.  Italso turns off right justification ofa printed document.  In other words,any time you need a "what you see iswhat you get" format, FORMAT A0 isuseful.demonstartion purposes.One very important thing to rememberand to understand is that you canchange FORMATs anywhere and as oftenas you wish in your document.  Theprinted document will adjust itselfas it is printed.ADVANCED EDITING[CONTROL] [A]: puts the cursor on thefirst character of the line you areon.  This mode exits to EDIT TEXTmode.[CONTROL] [B]: puts the cursor at theend of your text.  This mode exits toEDIT TEXT mode.[CONTROL] [C]: This is used with[CONTROL] [M] (Move text).  Thistakes the information in the copybuffer and inserts it in front of thecursor.  The data is put into theCOPY buffer by MOVE TEXT mode.  Thecopy buffer has no fixed length,using free memory.  Text put into thecopy buffer remains there untilerased with a [CONTROL] [E] (Erasecopy).Memory used by the copy buffer is notavailable for entering text, but it'spossible to move information into it,and then enter enough text so thatthere won't be enough room to copy itback.  Erasing the copy bufferrecaptures that memory.  It's usefulto save text to the copy buffer andthen transfer it to a different filewith the following sequence: movetext, clear all text, get file, copytext, save file.[CONTROL] [D]: If the cursor is atthe bottom screen line, the next pagedown will have show that line as thetop of the next displayed screen.However, if the cursor is at any lineOTHER than the bottom line of thedisplayed page, it will be moved tothe end of the displayed page.[CONTROL] [E]: removes text in thecopy buffer and restores that memoryfor entering text.[CONTROL] [I] lets you insert text tothe left of the cursor as you type.If the line overflows, the rightmostword moves to the next line and therest of the paragraph is reparsed.If you are preparing a document thatyou do NOT want Antic Writer to parseas you type, press [CONTROL] [J] toturn automatic parsing OFF.[CONTROL] [J] toggles automaticparsing on and off when in EDIT TEXTor INSERT MODE.  It's useful to keepthe system from rearranging your textif you accidently type in a characterthat causes a line to overflow.  WhenJob control is active, the promptline in INSERT or EDIT will say"PARSE OFF".  When parsing is off,displayed lines are ended by pressingthe [RETURN] key with the cursorwhere you want the line to stop.[CONTROL] [L] (Look string): lets youfind a particular word or group ofwords words wherever they occur inyour text and, if you choose, changethat string to something else.  Thesearch begins at the cursor of thedisplayed page and continues to theend of your document.To search the entire document, press[CONTROL] [T] (Top text) before[CONTROL] [L].  The LOOK and CHANGEstrings don't have to be the samelength.  If during CHANGE, the lineoverflows, any following text in theparagraph will be reparsed to makethe change fit.  If [CONTROL] [J] isset to "no parse" any portion of theline that overflows will be given itsown line.[CONTROL] [M]: Find a block of datato move.  Press [CONTROL] [M].  Theprompt line will read "CURSOR TOBEGINNING-RETURN".  Put the cursor atthe beginning of the block and press[RETURN].  The prompt will now say"CURSOR TO END-RETURN".  Using the[CONTROL] [ARROW] keys marks yourtext by highlighting it in inversevideo.  If you mark more than youintend simply back up the cursor.When the block is marked properlypress the [RETURN] key.  Press [Y] atthe "MOVE TEXT (Y/N)?" prompt.  Themarked block is now removed from yourtext and saved in computer memory.To get it back press [CONTROL] [C].The computer will prompt "CURSOR TOINSERTION-RETURN".  Position yourcursor where you want your datainserted and press [RETURN].  Thedata you originally "moved" is stillin memory.  You can copy it into yourtext as often as you like.If you mark and move another block oftext it will be merged with anyprevious moves.[CONTROL] [O]: If the right screenmargin becomes ragged, this modereparses your entire document.  Itwill not reparse blocks of textprotected by a FORMAT A0.[CONTROL] [R]: works just like MOVEmode except that it doesn't moveanything into the copy buffer --deletes the marked text from memoryon command.[CONTROL] [T]: displays the firstpage of your document and puts thecursor at the first character.  Itexits to EDIT TEXT.[CONTROL] [U]: displays the previouspage of your document if the cursoris at the top screen line.  If itisn't, the cursor will home to thetop left character of the displayedpage.[CONTROL] [V] (Video color): simplychanges the display screen color.Pressing [0] gives black printing ona white background.  Pressing[DELETE] [BACK SPACE] returns you tothe default setting, and any otherkey simply strips the colorinformation from the key itself to beused as the background.  To exit thismode, press [ESCAPE].[CONTROL] [W]: removes all data fromthe beginning of the document to thepoint of the cursor.[CONTROL] [X]: erases the entiredocument, but NOT the copy buffer.[CONTROL] [Y]: removes all data fromthe cursor to the end of thedocument.[CONTROL] [Z]: puts the cursor at theend the current displayed line.  Thismode exits to EDIT TEXT mode.[CONTROL] [CAPS]: lets you entergraphic character strings directlyinto your text.  However, mostprinters treat graphics characters ascontrol codes, so except for the mostsophisticated user, this is of littleinterest.  To exit press the [CAPS]key.NOTE: It's very easy to get into thismode ACCIDENTLY by pressing [CONTROL][CAPS] instead of [SHIFT] [CAPS].  Ifyou see graphics characters, press[CAPS] by itself to return to normaltext entry.There are three cursor positionscommanded by the edit utility:1. [SHIFT] [TAB]: to the start of thedisplayed line.2. [TAB]: to the middle of thedisplayed line.3. [CONTROL] [TAB]: to the end of thedisplayed line.[CONTROL] [INSERT]: inserts a spaceto the left of the cursor.  Allcharacters on that line (includingthe cursor) are shifted right.Characters can't shift off the line.[CONTROL] [DELETE]: removes thecharacter under the cursor.  It willnot backspace or remove empty lines.[SHIFT] [INSERT] moves the entireline containing the cursor down oneline, leaving an empty line.[SHIFT] [DELETE]: removes the entireline containing the cursor, movingall following lines up, and can alsoremove blank lines.