1"G"SCRTOATINTMPINFILEEADBADTEXLTEXTIENLTEXTMTEXTTATASKIITINTERNALOUTTMPOUTFILENEXTRULINEANSBURSTIOIGOOIBALTEXTTIGUESOGUESSHLINEBLANKTJENSLINEADSJSTARLJSJSAVBLANK2TMPITIM  !"#$%&'( SAVE "D:SCRIPTOR.CNViiCONVERTS TEXT TYPE FILES BETWEEN ATASKII (USED BY ATARIWRITER) AND INTERNAL CODE (USED BY SCRIPTOR)QQThis is a Bellevue Redmond Atari Computer Enthusiasts public domain program(11Written by Bill Frisinger 12/04/842""TEXT$ CONTAINS THE TEXT FILE<eeTATASKII$(226)CONVERTS INTERNAL TO ATASKII, THE I'TH+1 VALUE IS THE ATASKII CODE FOR INTERNAL IF((TINTERNAL$(256) GOES THE OTHER WAYP} +@AAP*(@H(@ ҮS(@r(@ a brace program}(@Z$(@ by bill frisinger/(@G(@ convertsa(@ text files(@ between scriptordJ"(@ and atariwriter-(@8(@B AJSETUPnu-@3(@ T(@ for instructions_(@u(@ x\(@ to exit&(@;(@ \(@ to start program3 F:B2y,"@A 03FOR ENSTRUCTIONS/F:B2y,"@"+, B/3 F:B2y,"@Ap3TO START PROGRAM A0-@+(@ L(@ atariwriter h(@ to scriptor(@ }$(@ @(@ scriptor to\(@ atariwriter}(@ //6-@#@#@#@#@^F:B2y,"@$6-. A0^ATARIWRITER TO SCRIPTOR (ATASKII TO INTERNAL)^F:B2y,"@$6-@. A@^SCRIPTOR TO ATARIWRITER (INTERNAL TO ATASKII) A +(2!( Name of file to convert.(( ,26.47@<@,0:%6.D:467@,.> Ap A4@@> B,(!( Name of output file.(( ,47@<@,0:%6.D:467@,."#6-?:%@<<,#@,_@*A6(R( # at line 270 using BURSTIO reading U(_ A@6/(/($ Program now finding string length.@ 6-6-%&@J? 6-P:+%%?P,'@,/F:,"A"56-? A0T! 6-!+&,!@A0^e6-&%@(,( Length is .H( Now doing conversion.K(e( It will take about hF&6-+$'A,%+(,$+'A ,76-P:%?P,F( minutesr(A0|@6-@6-@@CONVERTING SCRIPTOR TO ATARIWRITERG-@)6-+@:7<,,%@,G"@*"@A'67<,.7<,!6-%@'6- 6-&@ A`f Ap A4@@> BfCONVERTION OF ATARIWRITER TO SCRIPTOR'6-?:%@<%&<,'@t+"@)"@)"A6Apt3 OR 136 SHOULD NOT ACCURE HERE BUT THEY DO AND SEEM TO CAUSE NO PROB.I(<( # at line 440 using BURSTIO reading ?(I A@6-@6-@7 6-&%%6-%+@8&@,+6.1!76- -;6-+@:7<,,%@,+6-&%@;67<,.7<,+6-%@%"AU%@+6- ?-@@8;67%&@<%&@,.7<,? 6-%@8 A& 6-0L A *@@4 BA6-?:<<,L@:U@(H( # at line 560 using BURSTIO writing K(U A`Ds +@AAP*(@.K(@ V(@s(@ NL($(@ /(@L(@ Xr(@!(@ ,(@J(@ converted to U(@h(@ r Ab SETUPlA`v=-@!-@=(@ RR;@,;@,;@,;@,;@@,;@,;@8,I;@A,6-C:,I6.) 0BhhEhDhIhH VCԩ`TTBURSTIO IS AN INPUT/OUTPUT ROUTINE WRITTEN BY MIKE PELLETIER, AUTHER OF BASIC8A;AV,!67@,. 267AV,. A67@,.O;AV,(67@,.>:,@67AV,.>:,O67@,.O;@8,(67@,.>:,@67@8,.>:,O67@,.A;@,!67@,. 267@,. A67@,.*6-I:,&A!;,*6-C:,o-@c=67%@<%@,.>:%@2,k67%@2%@<%@2%@,.>:,o W-@A'567%@<%@,.>:,S67%@<%@,.>:,W v-@*(@ J(@ maintain inversek(@ and graphics sym.v(@e#(@ D(@ blank out inversee(@ and graphics sym.9 F:B2y,"@A9INV. VID. TO INV. VID.5 F:B2y,"@A@5INV. VID. TO BLANK  A`o-@d@=67%@<%@,.>:&@d,k67&@d%@<&@d%@,.>:,o  u A!-A(AUL6.7&A(%@<&A(%@,u67%@<%@,.>:@:,%A(,*[.6.7&A(%@<&A(%@,W67%@<%@,.>:@:,%A(,[ 48-AVAY467%@<%@,. 8 >8-ASAU467%@<%@,. 8 Hf A=67@%@<@%@,.>:AU,fWHAT SCRIPTOR USES FOR CARRIAGE RETURNRZ367AU%@<AU%@,.>:@,ZSCRIPTOR USES 94 FOR CARRIAGE RETURN\ Af?67@,.>:A",-67,.>:A",<67@,.?$p=-@)-@@6(@: =$zb(G( F:A, at line F:A,%F:A,$AVb( when tried to open "@ B" A@p(O( F:A, at line F:A,%F:A,$AV whenp( tried to open or write to &(@ B& A`3 #A 0+3COMMENTS ON PROGRAM USAGEK'( Do you want the informationK( listed to the printer (Y/N)0Y A  A@3 A0"03 A p A0:TRAP 2086K-@@"" # &()(G( Hit to continueK1$( '(1 AS@ B((E(! Hit to exit to main menuIS @,"(Please turn on printer!, A @..,,A BRIEF DISCUSSION OF SCRIPTOR.CNV, ,$ffScriptor files are incompatible,with Atariwriter and probably most,other word processors because.aait uses the internal character,code rather than ATASKII.,(See App. 10 of MAPPING THE ATARI)8ccLower case letters are the same,but upper case letters and most,everything else is different.B\\Blanks written with Scriptor,look like hearts to Atariwriter,while blanks written withLIIAtariwriter look like an "at" sign,(@) to Scriptor. This is becauseVOOScriptor uses a zero for a blank,and Atariwriter uses a 32 (Hex 22)., ,,`QQ,,,Scriptor also uses a 94 (Hex 5E) for,a carriage return while Atariwriterj%%uses the standard 155 (Hex 9B).t%%Another peculiarity of SCRIPTOR~ddis that it drops everything beyond,the carriage return within the,line displayed on the screenddwill be dropped. This program,fixes the problem by filling in,blanks after the carriage returnaawhen converting to Scriptor.,When converting to Atariwriter,it deletes all blanks after theSScarriage return., ,,,This program converts files,from one type to the other.""A few incompatibilities will__remain due to the different way,the programs put in formating,commands but that should beTTeasily fixed with whichever,word processor you will be,using the program with.``To facilitate converting this,program gives you the option of,converting inverse video andYYgraphics symbols to blanks,since these are often related to,the incompatibilities.,D:SCRIPTOR.CNV