Re: A86: on interrupt
[Prev][Next][Index][Thread]
Re: A86: on interrupt
where does grant get all those jokes?
At 01:39 AM 4/1/98 , you wrote:
--- ---
--- ---what you were suggesting wouldn't work, but i did something
else. i set a
--- ---user flag in the on interrupt and then checked it in (sqrt)KEY
which is run
--- ---all the time even without keys being pressed and then i ran the
program. it
--- ---still gives the error 15 memory. i guess you can't use
variables in the
--- ---customizable routines - the (sqrt) ones or the interrupt slink
on off ones.
--- ---bummer. i guess that means my hotkey program won't work since
it uses the
--- ---same concept. Kirk _@ibm.net
--- ---
--- --------Original Message-----
--- ---From: Dux Gregis <assets@eden.rutgers.edu>
--- ---To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
--- ---Date: Tuesday, March 31, 1998 5:58 PM
--- ---Subject: Re: A86: on interrupt
--- ---
--- ---
--- --->
--- --->Well, if you can read keypress form the port, and you can both
read and
--- ---write to
--- --->the port, it follows that you can write keypresses to the
port. But I've
--- ---never
--- --->tried... can someone back me up?
--- --->
--- --->Kirk Meyer wrote:
--- --->
--- --->> i thought writing to the 1 port only masked certain keys
out. how do you
--- --->> store a key?!?!? Kirk
--- --->>
--- --->> -----Original Message-----
--- --->> From: Dux Gregis <assets@eden.rutgers.edu>
--- --->> To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
--- --->> Date: Tuesday, March 31, 1998 9:52 AM
--- --->> Subject: Re: A86: on interrupt
--- --->>
--- --->> >
--- --->> >That's not what I mean. If you write to port 1 it is the
same as if a
--- ---key
--- --->> was
--- --->> >pressed. Use the on routine to write to the keypad and
then as soon as
--- ---the
--- --->> OS
--- --->> >calls _getkey, [sqrt]KEY is executed. Within the [sqrt]KEY
program you
--- ---can
--- --->> >check to see if the same keys or flags are set as you set
when on was
--- --->> pressed.
--- --->> >:-)
--- --->> >
--- --->> >Kirk Meyer wrote:
--- --->> >
--- --->> >> i thought that the (sqrt)KEY program was not run when ON
was pushed.
--- ---if
--- --->> it
--- --->> >> is, then definitely a program can be written. Kirk
--- --->> >>
--- --->> >> -----Original Message-----
--- --->> >> From: Dux Gregis <assets@eden.rutgers.edu>
--- --->> >> To: assembly-86@lists.ticalc.org
<assembly-86@lists.ticalc.org>
--- --->> >> Date: Monday, March 30, 1998 10:11 PM
--- --->> >> Subject: Re: A86: on interrupt
--- --->> >>
--- --->> >> >
--- --->> >> >You can write your key code to port 1 with the on
interrupt; the
--- --->> [sqrt]KEY
--- --->> >> program
--- --->> >> >will be executed when the calc is turned on.
--- --->> >> >
--- --->> >
--- --->> >
--- --->> >
--- --->> >
--- --->
--- --->
--- --->
--- --->
--- ---
_________________________________________________
KiMo
---> ICQ #: 7176765
---> mailto:kimo@iland.net
---> http://www.iland.net/~kimo/ (TI-85/86, 86 part not done yet)
Just don't use Microsoft Internet Explorer! Okay?
References: