Re: A86: Hooking interrupt idea


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

Re: A86: Hooking interrupt idea



Jimmy Mårdell wrote:
> 
> Steve86Asm@aol.com wrote:
> >
> > [About interrupts and the ON key]
> >
> > Ok.  So, you could have code at the address that it jumps to that fixes the
> > conditions so that it doesn't jump.  You could then also have code that would
> > exectute at start-up.  But how would you set all the memory locations just
> > before the calc shuts down?
> 
> I'm not really sure what you mean...
> 
> > One more thing....  Are you saying that it jumps to 38H _every_ time ON is
> > pressed, or just if it's off.  Also, do the interrupts occur 195-200 /s even
> > when running asm programs?  That would mess up the program that's running,
> > wouldn't it?
> 
> The CPU is (I think) still executing assembly instructions when you turn
> off
> the calculator (not when you remove the batteries of course). And yes,
> every
> time you press the ON key an interrupt occurs (if IFF1=1). Since the
> processor
> is always active when there are batteries in the calc, there is no
> reason to
> believe it would treat the ON key different when it's turned off.

i think that it does treat it different when the calc is on rather than
when it is doing other functions.... like when you are graphing it stops
where it is at, when you are running a basic program it breaks when you
press it,etc. i think it has different states when it is doing these
tasks and another state when it is off


References: