Re: A86: asm clock?


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

Re: A86: asm clock?





Try using the user interrupt routine to see if it works.  If not, the calc
could be running a nmi (the only time it could run one is during a halt
because 66h doesn't exchange shadow registers).


>
>In the clock program I wrote, I did use IM 2.  But I could have easily used
>IM 1, that doesn't matter.  I just wrote it really quickly to test out the
>idea of a clock.  But before we talk about this anymore, I would like to
>get one thing straight.
>
>EXACTLY what happens when the calc is turned off?  I don't want to know
>what you *think* happens, I want to know what actually happens.  This is
>only because of all the rumors going around.  If anyone has dissassembled
>the off routine and has a copy, I'd like to see that.
>
>Thanks.
>
>At 04:09 PM 9/16/98 -0400, you wrote:
>>>-----Original Message-----
>>>From: David Phillips <electrum@tfs.net>
>>>To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
>>>Date: Sunday, September 13, 1998 4:42 PM
>>>Subject: Re: A86: asm clock?
>>>
>>>
>>>>
>>>>One more thing I thought of...
>>>>
>>>>This program would be useful for getting the emulator to run exactly at
>>the
>>>>same speed as your calc.  But besides that, I don't think a clock is
>>>>possible or feasible, because you can't shut off the calc and have it
>>still
>>>>work.
>>>
>>>    Actually, I am pretty sure that interrupts run when the calc is off,
>>>too.  I think it is to check for the ON key.
>>
>>That's true, but he used interrupt mode 2 and I don't think it will run
when
>>the calc is turned off.  I think that calc switches to im 1 as it turns
off.
>>
>
>--
>David Phillips
>mailto:electrum@tfs.net
>ICQ: 13811951
>AOL/AIM: Electrum32
>
>