Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!bellcore!petrus!magic!joevax!sdh From: sdh@joevax.UUCP (The Doctor) Newsgroups: net.micro.apple Subject: Re: Getln1 problem Message-ID: <295@joevax.UUCP> Date: Fri, 3-Oct-86 16:28:19 EDT Article-I.D.: joevax.295 Posted: Fri Oct 3 16:28:19 1986 Date-Received: Sat, 4-Oct-86 12:17:49 EDT Distribution: net Organization: Bell Communications Research Inc., Morristown, NJ Lines: 19 *** 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