🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.apple
Article #2618

KEYIN and DOS

#2618
From: Jeffery Chan
Date: Mon, 20 Oct 1986 04:09
51 lines
1841 bytes
][

Is there anyone out there who can explain what's happening on my ][e?

Here's the contents of foo1.
800:20 8E FD	JSR $FD8E	{CROUT}
803:20 1B FD	JSR $FD1B	{KEYIN}
806:60		RTS

Here's the contents of foo2.
800:20 1B FD	JSR $FD1B	{KEYIN}
803:60		RTS

I've bsaved both files under 3.3 DOS (I think this could
be the cause of the problem) and I BRUN both programs (from applesoft).
The program foo2 returns to the "]" prompt after pressing a key while
foo1 just hangs there after I press a key.

Both programs returns when I call them from applesoft and monitor
(with CALL 2048 or 800G).

One last note-- on the screen the programs looks like this:
The "x" is the location where the prompt for the KEYIN appears:

]BRUN foo1
x
{And the program hangs}


]BRUN foo2x
]
{etc.}




PLEASE *MAIL* REPLIES TO ME.

  This is in caps because the last time I said this some one went ahead
  and posted their answer anyways.  I think this sounds appropriate:
  Chisholm's Third Law (a corollary):  If you explain so clearly
  that nobody can misunderstood, somebody will.



						Jeff Chan
						jchan@kim.Berkeley.EDU


Imangine this:  Jan Hammer doing the incidential music for "Dr. Who".
Technical Details
Message-ID: <16192@ucbvax.BERKELEY.EDU>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!think!mit-eddie!genrad!decvax!ucbvax!kim.Berkeley.EDU!jchan

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!think!mit-eddie!genrad!decvax!ucbvax!kim.Berkeley.EDU!jchan
From: jchan@kim.Berkeley.EDU (Jeffery Chan)
Newsgroups: net.micro.apple
Subject: KEYIN and DOS
Message-ID: <16192@ucbvax.BERKELEY.EDU>
Date: Mon, 20-Oct-86 00:09:24 EDT
Article-I.D.: ucbvax.16192
Posted: Mon Oct 20 00:09:24 1986
Date-Received: Tue, 21-Oct-86 22:30:00 EDT
Sender: usenet@ucbvax.BERKELEY.EDU
Reply-To: jchan@kim.Berkeley.EDU.UUCP (Jeffery Chan)
Organization: University of California, Berkeley
Lines: 51
Keywords: Where's der bug?