[comp.sys.apple] Apple Assembly Language re Printers

bird@ihwpt.UUCP (j l walters) (11/14/86)

*** REPLACE THIS LINE WITH YOUR MESSAGE ***

I am in the process of writing a  utility that will reside totally on track 0
of a disk. When the disk is loaded it gives an instruction screen, followed by
a catalog of all the "text" files on the disk. Using arrow keys you select
one of these files for display on the screen in 40/80 columns, screen at a
time or continuous scroll (any key stops/starts scroll). Other options, too
numerous to mention are available.

Unfortunately, one of the options does not work, the "print the file" option.

The question becomes, how, in an assembly language program, does one direct the
output to the printer? (assume slot 1)

I have a Super Serial Card and a IMAGEWRITER printer.

I have tried to set the A with 1 and go to "OUTPORT" which is commented as
the "PR#Areg" location. This routine puts $C100 into CSWL/CSWH. This seems
like a real good thing to do, given the Super Serial listing I have looked
at.

However, when I transfer to COUT the 6502 registers are printed and then
silence. If I hit the RETURN key, additional registers are printed.

Any help you can offer will be appreciated.

					Joe Walters
					ihnp4!ihesa!bird