Re: A86: APD


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

Re: A86: APD



On my calc (1.3), the APD timer is set at $019b, and that is the only time the APD timer shows up.
    the code there looks like this:

        ld hl,$c00a    ;c00a = APD timer
        ld (hl),$a1     ;a1 = reset timer
        ret

Unless it's different on ROM 1.2, the APD timer is never checked to see if it is zero.  Something is done with the APD subtimer, however, at around $0181.  Someone who has an emulator should take a look at this.

Are you sure that this call will simulate an APD?
 

Kirk Meyer wrote:

 somewhere about $0129 (sorry again no emulator) the APD timer is checked and then if it is at zero, these flags are set and reset and then it calls $0C29.  Check it out for yourself to see which flags and how they should be set. === Kirk Meyer_@ibm.net
-----Original Message-----
From: Dux Gregis <assets@eden.rutgers.edu>
To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
Date: Friday, February 20, 1998 7:12 PM
Subject: Re: A86: APDThat's the same call as the one to shut off and return to the home screen.  Setting those flags will change it?  What are those flags?  They aren't in ti86asm.inc.

The call on page 0d is $4101
There also a call which resets the APD counter (to $a1) at $4060.

Has anyone been collecting all these new calls?
 

Kirk Meyer wrote:

 at about $0C29 there is a call to shut down the calculator.  BUT if you do somethings such as :    res 3,(IY+$08)    set 4,(IY+$08)or vice versa (no emulator on this computer darn) and then call $0C29 it willdo the APD sequence.  NOTE: there is a call to $0C29 on rom page $0D and thatis the call you should use.  just search the memory for $CD,$29,$0C on rom page $0D. === Kirk Meyer_@ibm.net
 
References: