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

Re: Apple //e hardware question



"Charlie" <charlieDOTd@verEYEzon.net> wrote:

>For instance, the //e doesn't use locations $C022, $C029 and $C034 for 
>registers/softswitches.  Are they safely available to use?

$C034 is in use and is not safely available for peripheral add-ons. The 
Apple II device map is like latin.

> Accessing $C034 does click the speaker every other time, but would that be 
> a problem?

The Aztec C Sound function which I use in many of my programs plays music 
using the speaker. Other programs do as well. Here is my code which has been 
around since 1989...

<--- snip --->

TOPPER:;  /* loop the required note length */
#asm
        BIT $C030
#endasm
        j=pit;
COUNTER:;
        if(j--)goto COUNTER;
        if(temp--)goto TOPPER;

        /* wait for the duration specified by pitch */
        /* then click it again                      */

<--- snip --->