[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Apple //e hardware question
- Subject: Re: Apple //e hardware question
- From: "Bill Buckels" <bbuckels@mts.net>
- Date: Thu, 23 May 2013 07:06:55 -0500
- Newsgroups: comp.sys.apple2
- Organization: Aioe.org NNTP Server
- References: <knjjnt$4qa$1@dont-email.me>
"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 --->