The Program They Said Couldn’t Be Written

The Aldrich brothers strike again.  Remember, folks, you read it first in Call-A.P.P.L.E..  “Convert”, by Ron Aldrich using the disk, will create a text file from an Integer BASIC program listing, call Applesoft, and presto, your program has been converted.   After Conversion, list it out and note all the lines that need to be changed to conform to the Applesoft format.

This means that the Integer commands that are not compatible with Applesoft must be changed.  For example:  TAB must be changed to HTAB and commas in INPUT statements must be changed to semicolons, etc.  The program listing is show below:

o REM “CONVERT” BY RON ALDRICH
1 REM PROGRAM LOADS INTEGER BASIC PROGRAM FROM DISK, SAVES TO A TEXT FILE ON DISK
2 REM THEN EXECUTES THAT FILE IN APPLESOFT
3 REM SOME COHMANDS WHICH ARE LEGAL IN INTEGER BASIC WILL NOT WORK IN APPLESOFT II (TAB,INPUT ••• )
10 POKE 76, PEEK (202): POKE 77, PEEK(203 )
20 DIM A$( 35 ):D$=”” : REM D$=”( CTRL) D”
30 PRINT D$;”NOMON C,I,O”
40 TEXT: CALL -936: VTAB 3: PRINT “A.P.P.L.E. PRESENTS:”: PRINT: PRINT “APPLE INTEGER BASIC – APPLESOFT II” : PRINT “CONVERSION PROGRAM”
50 PRINT: PRINT: INPUT “PROGRAM TO BE CONVERTED ?”,A$
60 PRINT D$;”LOAD “;A$
65 PRINT DS
70 POKE 33,33
80 PRINT D$;”OPEN “;A$;”FILE”: PRINT OS; -WRITE • ;A$; MFILEM
90 LIST
100 PRINT D$;”CLOSE “;A$;”FILE”
105 PRINT D$
110 PRINT D$;”OPEN I-A FILE”: PRINT D$;”WRITE I-A FILE”: PRINT “FP”: PRINT “EXEC “;A$;”FILE”
120 PRINT D$;”CLOSE I-A FILE” : PRINT D$;”EXEC I-A FILE”
130 END

WELL, RANDY???

Please follow and like us:

About the Author

billm

A.P.P.L.E. Chairman of the Board and Club president — Bill worked for the founder, Val J. Golding and A.P.P.L.E. from 1981 to 1982. In 1999, he began archiving the materials which were distributed and sold by A.P.P.L.E.. That project led to the group that remained of A.P.P.L.E. Bill was involved in the financial industry in Tokyo and has over 20 major office infrastructure projects to his name. In March 2001, he retired to write books and to spend more time pursuing personal interests. As the president of the users group, Bill is in charge of distribution of Call-A.P.P.L.E. magazine as well as the organization of this web site. Bill currently resides in Tokyo, Japan and Shelton, Wa splitting time between the places.