[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applesoft code, how to print?



LJSILICON (ljsilicon@aol.com) wrote:
: To see the code of an Applesoft program you use the LIST command. To send the
: listing to the printer use:

: PR#1 press Return
: CTRL-I80N press RETURN (That's a Control I)
: LIST press Return
: PR#0 press Return

Note that with most Imagewriter/SSC configurations, it is not necessary to
enter the ^I80N command.

: To save your file into a textfile to load into a text editor, enter this line
: of code and the run your program.

: 0 POKE 33,33:PRINT CHR$(4)OPEN PROGRAM":PRINT CHR$(4)"WRITE PROGRAM":LIST
: 1,:PRINT CHR$(4)"CLOSE":TEXT:HOME:END

Also, I have noted that the POKE 33,33 trick doesn't always behave
properly with the 80-column screen active.  I generally make sure the
80-column firmware is OFF before printing Applesoft to a file.  PR#0 will
work on enhanced //e's and GS's, but PRINT CHR$(21) will work on ALL
genuine Apple 80-column screens.

--Dave Althoff, ][.
-- 
      \        _       _              ***  Closed for the season  ***
    XXX\      /X\     /X\_      _     /X\__      _              _____  
   XXXXX\    /XXX\  _/XXXX\_   /X\   /XXXXX\    /X\    X\      /XXXXX
_ XXXXXXX\__/XXXXX\/XXXXXXXX\_/XXX\_/XXXXXXX\__/XXX\_/XXX\_/\_/XXXXXX