On any given night this past week I could find my wife typing a fury of law briefs into my TS2068 under Spectral Writer on my Rotronics Wafadrive system. With her system in the shop, I decided to use the extra time on my hands to gather together all of my Wafadrive literature and dig in.
As I began to read, it occured to me that I really had not transfered much software over to wafers. I had read the manuals before, but nothing really sank in…until now. The problem was that I was limiting myself in beleiving that only Spectrum software could be converted over to run on the Wafadrive. As soon as my wife was off the system, I tried some conversions and found that this was not so.
Thus I have been able to convert some TS2068 programs over to run on a Spectrum emulated 2068 with Wafadrive. This article will discuss how to convert the TS2068 version of VU-FILE to RUN, SAVE and LOAD to wafers on the Wafadrive.
When the Wafadrive was available in the States, a Wafadrive Bulletin was published. The notebook discussed ways to convert Tasword II, VU-FILE, VU-CALC and Campbell’s Master File to run on the Wafadrive system. These were all ‘Spectrum’ versions and entail more mork than the method I will use here.
First, set up your system with Spectrum emulator, Wafadrive, a fresh (formated) wafer and then initialize the system with:
NEW* <ENTER>
Next, LOAD”” the first part of your TS2068 VU-FILE program tape and BREAK the program when it begins searching for the CODE file which comes next. Now type in
INK 7 <ENTER>
This allows you to list the BASIC portion of the program. Change lines 50, 1005, 1100 and 2000 to look like this:
50 BORDER 1: PAPER 1: INK 7: CLEAR 28287: OPEN#*3,"c": LOAD*"VF"
1005 SAVE*g$,s,l: PRINT "Press V to VERIFY "'"or any other key
to continue."
1100 GOSUB 7000: VERIFY*g$
2000 CLS: PRINT "Load a file": GO SUB 6000: GO SUB 7000:
LOAD*g$,s: GO TO USR a
If you wish to display the catalog of the current wafer before you are asked to type in SAVE and LOAD names than add the following code to the beginning of line 6000:
6000 CAT*: PRINT: INPUT "Enter file name "; LINE g$: LET f$( TO
10)=g$: LET s=CODE f$(11)+256*CODE f$(12): LET l=CODE
f$(13)+256*CODE f$(14): RETURN
After you have made the changes, save the BASIC program using:
SAVE*"VU-FILE" LINE 1: VERIFY*: CAT*
the use of VERIFY* and CAT* allows us to position the wafer for maximum loading efficiency. Next, LOAD the VU-FILE CODE (skip over the VU-FILE SCREEN$ file directly after the BASIC program on the tape) and play the tape. Once the CODE has been LOADed, SAVE the CODE to wafer using:
SAVE*"VU FILE",28288,7216: VERIFY*"VU FILE": CAT*
You may now test VU-FILE by typing:
RUN 50
The program should now OPEN# the Centronics printer port and LOAD the CODE from the wafer, and bring up the initial menu.
All of this is great, but it would be a lot more fun if we had a file to load from wafer! Since the VU-FILE program comes with a sample database on tape (“WORLD”), let’s save it to wafer.
First, exit the program by removing your wafer form the Wafadrive and choosing the Load A File option from the initial menu. This will cause the Wafadrive system to error and BREAK into the BASIC program. Re-insert your wafer and LOAD”WORLD” from your cassette program tape. Once it has LOADed, SAVE the data with:
SAVE*"WORLD",34069,9788: VERIFY*"WORLD"
Now you can run VU-FILE with GOTO 100 and try loading your file via the initial menu (eventhough it is already within the program from the cassette load). Everything should work normally and your LPRINTs will come out through your Wafadrive’s parallel port. Note that COPYs will only work with a TS2040 (which can be connected to the back of the Wafadrive).
I found this conversion method to work very well. I also plan to discuss transfering TS2068 VU-CALC and MTERM/T for use on the Wafadrive in the future.
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.