Converting Screen Saves to TASWORD TWO Documents.
Were you not amazed when you first saw the Macintosh and IBM type computers take pictures on the screen of scanned in documents and turn that information into word processor files. Certainly no one had made a scanner interface for the TS2068 but there was something familiar about what was going on. Did I not see something in the TS2068 manual that stated that the TS2068 could turn pixels on the screen into characters recognizable by a word processor?
Joyce Blaho had given me the idea for the $C2TAS.B1 character recognition utility when she told me of a user group member who detested the retyping his program listings for use in the newsletter because of all the typing errors that would creep in. Since this utility places the screen characters into the TASWORD file exactly where they are located on the screen, the person typing the program into his computer can see every character and space so that his finished program will look just like the original programmers document.
Bill Jones had a product called the DAISY Ensemble that called in SCREEN$ saves as menus throughout the program. David Lassov and I had both noticed how disk intensive this practice was which was no problem to Bill as he had four DSQD drives and could afford the waste of space. Each SCREEN$ menu cost two tracks on a LarKen disk. David changed these menus back to short BASIC routines that exactly displayed these screens using shorted faster to load files. Certainly $C2TAS.B1 could turn Bill’s SCREEN$ save pixels back into word processor text files.
Don Lambert, Chairman of the Timex Sinclair NorthAmerican User Groups, recently wrote to say that he wanted to make word processor files of LarKen disk CATalogs. However, on only a few disks, he had trouble doing this using some sort of utility available in MSCRIPT. Not being a user of MSCRIPT, I was unfamiliar with this feature and couldn’t tell him why it didn’t work.
I reminded him of a program available with the LogiCall ensemble that examines each point on the screen and flawlessly creates a TASWORD TWO file with every character in exactly the same place as it was on the screen EVERY TIME! Using the SCREEN$(x,y) function, each point on the TS2068 screen is parsed and the result poked into the appropriate location of a TASWORD TWO file. Because TASWORD TWO can append files to create one larger list, a catalog list can be made of all the disks in one library case.
HEY, isn’t that what those Macintosh and IBM character recognition programs do?!!!! We have been able to do this since 1982 – Macintosh didn’t even exist until 1984-5 and character recognition not until the late ’80s!
If the SCREEN$ were made with something other than the TS2068 character set the $C2TAS.B1 program would not work, that is, not until you install the exact character set into the TS2068 that created that font for the original SCREEN$ save! That is not much of a problem. This utility can recognize characters made up of fonts other than the standard Sinclair font provided the font is loaded into the TS2068 and the character set pointer is pointing to it as explained in the Timex Manual.
If the document does not line up with the exact position on the SCREEN$ (x,y) $C2TAS.B1 can’t read it. But use Stan Lemke‘s PIXEL PRINT PLUS program to realign the document and $C2TAS.B1 can again read it. Most SCREEN$ saves, however, do not need the extra effort.
To use this utility, you first put on your screen the portion of the document you wish to put into TASWORD. Assuming you are using the LarKen Disk Drive System, press the NMI save button followed by ‘S’. This will create a file on your disk called SCREEN.CM.
Now run the $C2TAS.B1 utility. This utility puts the SCREEN.CM file back up on the screen, parses it and creates a screen.CT file. After a short wait the program calls in TASWORD TWO. You will now find a file in your CATalog called screen.CT. Call this file into TASWORD. If you are building a long list, save this file to disk using the filename of the final document. Repeat the above again but on successive calls of the screen.CT file into TASWORD load the document you are building first and then MERGE (append) the screen.CT file to it and re-save the entire file using the filename of the final document.
The listing below was make using this procedure as was all listings of past issues of Rite-Times News.
10 REM SCREEN$ TO TASWORD TWO
1996 by Bob Swoger V1.3
20 CLS : PRINT ''"This program
creates a screen.CTTASWORD 2 fi
le from a SCREEN.CM file provid
ed it contains only printabl
e characters.": PAUSE 1e3
30 RANDOMIZE USR 100: LOAD "SC
REEN.CM"SCREEN$
40 INPUT ;: PRINT #0; FLASH 1;
"Converting SCREEN$ to TASWORD 2
"
50 LET t=33280
60 FOR r=0 TO 21
70 FOR c=0 TO 31
80 POKE t,CODE SCREEN$ (r,c)
90 LET t=t+1
100 NEXT c
110 FOR t=t TO t+31 STEP 2
120 RANDOMIZE USR 100: POKE t,8
224
130 NEXT t
140 NEXT r
150 RANDOMIZE USR 100: SAVE "sc
reen.CT"CODE 33280,1408
160 RANDOMIZE USR 100: LOAD "TA
SWOR.BA"
9992 RANDOMIZE USR 100: SAVE "$C
2TAS.B1" LINE 20
9998 RANDOMIZE USR 100: LOAD "L.
B1"
9999 SAVE "$C2TAS.B1" LINE 20
How about that! Character recognition on the TS2068 years before it was available for the Macintosh and IBM? Well, I’d like to think so!
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.