Re: LZ: Two Ideas


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

Re: LZ: Two Ideas



David Behroozi wrote:
> 
>         Does anyone know the hexidecimal address for the <ON> key,  I know Pascal
> used it in Road .5 beta.   If anyone does, I have two ideas for its use.


When [ON] is pressed, bit 3 of port 3 is clear.


To check if the [ON] key is pressed, you can use the following code:


   in   a,(3)
   and  %1000
   jr   z, ON


where the program will jump to ON if the [ON] key is pressed.


<pre>
-- 
Max Mansour  // mail : mmansour@gis.net
            // irc : Justarius


The Presidents -> http://www.gis.net/~mmansour/
HP OmniGo 100  -> http://www.gis.net/~mmansour/omnigo/omnigo.html
ZShell         -> http://www.gis.net/~mmansour/zshell/zshell.html
</pre>


References: