Re: A86: Re: turning off the calc


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

Re: A86: Re: turning off the calc




Nope...

from Dan Eble's http://www.ticalc.org/pub/text/calcinfo/ti-ports.txt:

----------------------------------------------------------------------------
-
 Port 3 : ON Status, LCD Power
----------------------------------------------------------------------------
-
Write
-----
XXX?....
Bit 3 = 1: turn LCD on
        0: turn LCD off
Bit 2 = 1: do not mask timer interrupts (200Hz)
        0: mask timer interrupts
Bit 1 = 1: set bit 1 LCD status (on)
        0: clear bit 1 LCD status (off)
Bit 0 = 1: do not mask ON key interrupts
        0: mask ON key interrupts

Note: Do not exit a program with bits 0 and 1 clear.  The TI-85
freezes.

Read
----
0000....
Bit 3 = 1: ON not pressed
        0: ON pressed now
Bit 2 = 1: Timer interrupt happened
        0: timer interrupts hasn't happened
Bit 1 = 1: LCD is on
        0: LCD is off
Bit 0 = 1: ON interrupt has happened
        0: ON interrupt hasn't happened


>
> is port 3 the same thing when you read it as when you write to it?
>
> -josh
>
> On Tue, 25 May 1999 06:57:17 EDT TGaArdvark@aol.com writes:
> >
> >>> would masking the on interrupt stop the down-left bug
> >>> by any chance?
> >>
> >> Nope.  And, if possible, it's just an all-around bad idea.
> >
> >(That aforementioned flag does not mask the ON interrupts,
> >but tells the OS whether the ON key has been pressed
> >since the flag was last checked.)
> >
>
> ___________________________________________________________________
> 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/getjuno.html
> or call Juno at (800) 654-JUNO [654-5866]
>
>



References: