Re: A86: simple code I can't figure out


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

Re: A86: simple code I can't figure out




Because that "version" of getkey isn't compatible with those versions of the 
keys...to use those K_ type keys, use GET_KEY...

Glen
www.geocities.com/CapeCanaveral/Runway/6208

In a message dated Wed, 7 Jul 1999  7:59:51 PM Eastern Daylight Time, 
IVlusicman@aol.com writes:

> 
> Okay...thanks everyone. I learned a lot. There's still a problem that I 
have 
> with the _getkey equate though. Some tutorial somewhere (Dux's I think) 
told 
> me that I could type something like this, and it would work:
> loop:
>  call _getkey
>  cp K_EXIT
>  jr z,exit
>  cp K_ENTER
>  jr z,begin
>  jr loop
> 
> ...According to what I know (or think I know) about ASM, this would work in 
> order to halt the program until it gets some input. I get it to loop 
alright, 
> but it won't accept any input. Why? 
> 
> 
> -------------------- Headers --------------------
> Return-Path:
> 	<owner-assembly-86-outgoing@towerguard.unix.edu.sol
> 	lentuna.se>
> Received: from  rly-yb01.mx.aol.com
> 	(rly-yb01.mail.aol.com [172.18.146.1]) by
> 	air-yb02.mail.aol.com (v59.55) with SMTP; Wed, 07 Jul
> 	1999 19:59:50 -0400
> Received: from  towerguard.unix.edu.sollentuna.se
> 	(towerguard.edu.sollentuna.se [195.67.128.23]) by
> 	rly-yb01.mx.aol.com (vx) with SMTP; Wed, 07 Jul 1999
> 	19:59:45 -0400
> Received: by towerguard.unix.edu.sollentuna.se
> 	(Postfix) id E7571A4060; Thu, 08 Jul 1999 01:59:39
> 	+0200 (CEST)
> Delivered-To:
> 	assembly-86-outgoing@towerguard.unix.edu.sollentuna.se
> Received: by towerguard.unix.edu.sollentuna.se
> 	(Postfix, from userid 507) id 831DAA4070; Thu, 08 Jul
> 	1999 01:59:39 +0200 (CEST)
> Delivered-To: assembly-86@lists.ticalc.org
> From: IVlusicman@aol.com
> Message-ID: <c5c109a6.24b543a1@aol.com>
> Date: Wed, 7 Jul 1999 19:58:25 EDT
> Subject: Re: A86: simple code I can't figure out
> To: assembly-86@lists.ticalc.org
> MIME-Version: 1.0
> Content-Type: text/plain; charset="us-ascii"
> Content-Transfer-Encoding: 7bit
> X-Mailer: AOL 4.0 for Windows 95 sub 15
> Sender: owner-assembly-86@lists.ticalc.org
> Precedence: list
> Reply-To: assembly-86@lists.ticalc.org
> Errors-To: assembly-86-errors@lists.ticalc.org
>