Re: A83: On button Interupt
[Prev][Next][Index][Thread]
Re: A83: On button Interupt
In ASM 2nd+ON has no meaning, and hitting ON just serves as a hardware
interrupt. So there is no reason to need to use any kind of override or
whatever
Ryan Cullan wrote:
>
> ya that might work but i want to do onther ok thanx
> will that work if someone presses secound and then on? cuz i dont want them
> to be able to got out of my program
>
> >From: "Marc Puts" <marcputs@hetnet.nl>
> >Reply-To: assembly-83@lists.ticalc.org
> >To: <assembly-83@lists.ticalc.org>
> >Subject: RE: A83: On button Interupt
> >Date: Mon, 24 Jan 2000 21:53:19 +0100
> >
> >
> >I'm a newbie too, but I believe this will work.
> >While running 'on' will be disabled, but as soon
> >the program exits (ret), you'll get ERR:BREAK.
> >
> >I don't know how to fix this, though.
> >Let me know if you can find out.
> >
> >
> >waitforkey:
> > call _getkey ;wait for keypress
> > cp 00 ;on key pressed?
> > jp z,waitforkey ;if so, wait for key again
> > ret
> >
> >
> >
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
--
Scott "_Wrath_" Dial
wrath@calc.org
ICQ#3608935
TimeCity AI Guy II - www.timecity.org
Member of TCPA - tcpa.calc.org
__________________________________________
NetZero - Defenders of the Free World
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html
References: