[net.micro.apple] Getln1 problem

sdh@joevax.UUCP (The Doctor) (10/03/86)

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

The problem you are having is that the DOS interpreter is still plugged in for
GETLN, but is not for GETLN1.  The simplest way to get around this problem is
to make sure that DOS is turned off before you do GETLN.  You could always
write a program to do the same thing that doesn't use DOS, or just use GETLN1.

DO you really need a prompt? If so try this:

MYGET:	JSR $FDED	; PRINT WHATEVER IS IN THE ACCUMULATOR
	JMP GETLN	; DO A GETLN.
the hex for this is:
20 ED FD 4C xx yy
where xx is the low byte of the address of getln, and yy the high.
Another way is to use $FDF0 instead of $FDED, but this may not work with all
environments as well as $FDED does.

Steve Hawley
joevax!sdh