Re: LZ: power off


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

Re: LZ: power off



 
> > > just use this routine to turn off yer calc(it will turn back on when you
> > > press [ON])
> > >       ld a, 1b
> > >       out (3), a
> > >       di
> > >       halt
> > >       ei
> > >       ld a, 1011b
> > >       out (3), a
> > 
> > Hmm... But that won't get the calc into low-power mode, now does it? I'm
> > not sure though, what it dows, but the name kinda hints, that the
> > batteries will last longer.... ;) (and then I could leave the calc off my
> > own way for a longer time...)
> > 
> with the HALT instruction, the processor stops and waits for [ON] to be
> pressed. also nobody asked how to put it into low power mode.
> PCoMP


Well, actually it doesn't (well.. didn't work on _my_ ti, with the di 
instruction (so the "on-button interrupt" is probably maskable...)...
but my original question was how to turn the power off _the way TI does 
it_... And I _do_ suppose this includes turning to low-power mode... If 
it doesn't then what's the point of a low-power mode? 


References: