RE: A86: Question about Input


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

RE: A86: Question about Input




i tried that... it still didn't work.. could it be because afterwords, i did
"call D_HL_DECI" to display hl?  Anyhow, when I do that, I get a wierd #.
					-Ahmed

--
Ahmed El-Helw
ahmedre@bellsouth.net
http://asm8x.home.ml.org
ICQ: 3350394

-----Original Message-----
From: owner-assembly-86@lists.ticalc.org
[mailto:owner-assembly-86@lists.ticalc.org]On Behalf Of Joshua J Seagoe
Sent: Wednesday, August 12, 1998 9:30 PM
To: assembly-86@lists.ticalc.org
Subject: Re: A86: Question about Input



maybe _getkey messes up hl
try putting a push/pop around it

-josh

On Wed, 12 Aug 1998 21:06:11 -0400 "Ahmed El-Helw"
<ahmedre@bellsouth.net> writes:
>
>Hello, what's wrong with this input routine? HL comes out corrupted
>for some
>reason, even though the chars display properly...  Please help..
>
>Input:
>  ld hl,0
>InputLoop:
>  call _getkey
>  cp kEnter
...
>							-Ahmed
>
>--
>Ahmed El-Helw
>ahmedre@bellsouth.net
>http://asm8x.home.ml.org
>ICQ: 3350394
>
>



_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]


Follow-Ups: References: