Atari Listings
How can hard copy be printed from RAM memory which has been loaded from a user-made BASIC program on a cassette? I realize that this is not too difficult a problem, but I have not found a solution in either your Atari books or in the issues I have of COMPUTE!.
David Cimochowski
If we understand your question, you want to print out a listing of a BASIC program in memory. Use the command LIST "P:" for this purpose. You can also use the following program to copy any data file (not programs) to your printer.
100 OPEN #1,4,0, "C:":REM Use OPEN #1,4,0,"D:name" for disk 110 OPEN #2,8,0, "P:":REM Output to printer 120 TRAP 140:REM Go to 140 when end of file error occurs 130 GET #1, A:PUT #2,A:GOTO 130 140 PRINT #2:CLOSE #1:CLOSE #2 150 END