[A83] Re: Getkey loop
[Prev][Next][Index][Thread]
[A83] Re: Getkey loop
>That's right.
>You should do something like
>res (i?+onFlags),?
>or just use getcsc or getk.
You mean res oninterrupt,(iy+onflags) ?
That should be reset after every _getkey (and even _getk
/_getcsc)
SUCKER [Pieter Van Nuffel]
>
>----- Original Message -----
>From: Aaron Fineman <amfineman@earthlink.net>
>To: <assembly-83@lists.ticalc.org>
>Sent: Thursday, June 06, 2002 9:44 PM
>Subject: [A83] Re: Getkey loop
>
>
> >
> > Thanks, but now it freaks out when I press on.
> > -Calc Freak
> >
> > ----- Original Message -----
> > From: "Jimmy Pardey" <j_pardey@hotmail.com>
> > To: <assembly-83@lists.ticalc.org>
> > Sent: Wednesday, June 05, 2002 6:22 PM
> > Subject: [A83] Re: Getkey loop
> >
> >
> > >
> > > hello,
> > >
> > > Well, nc is for the carry flag, you want nz for the zero flag, when
> > register
> > > a is equal (zero difference) to kY
> > >
> > > I think that should work,
> > > Jimmy Pardey
> > >
> > >
> > > >X:
> > > > B_Call _getkey ;Gets a keypress
> > > > cp kY ;If key = [Y=]
> > > > jp nc,StartMenu ;Jump to StartMenu
> > > > jp X ;Repeat the loop (jump to X)
> > > >
> > >
> > >
> > > _________________________________________________________________
> > > MSN Photos is the easiest way to share and print your photos:
> > > http://photos.msn.com/support/worldwide.aspx
> > >
> > >
> > >
> >
> >
>
>
>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.