[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Apple II Graphics Programming (Assembly)
On Jul 8, 6:07 pm, "Michael J. Mahon" <mjma...@aol.com> wrote:
> Polymorph wrote:
> > On Jul 8, 10:27 am, "Michael J. Mahon" <mjma...@aol.com> wrote:
> >> cerebral_monkey wrote:
>
> >>> CLEAR EQU $F2F3
>
> > <snip>
>
> >> Page zero location $E6 must be preset to the graphics page you
> >> are clearing: $20 for HGR1 and $40 for HGR2.
>
> >> $F2F3 clears the current page to black, but you can set the page
> >> to any color by placing a "color byte" in the A register and calling
> >> $F3F4, or by setting $1C to the desired color byte and calling $F3F6.
>
> > I'm no assembly programmer, but looking at the Beagle chart (and A2
> > FAQ), it would seem you both have made the same typo - isn't the
> > correct address to call $F3F2, *not* $F2F3?
>
> You're absolutely right. I read the later entry points off the listing,
> but copied the first from the question--they are all adjacent. ;-)
>
> -michael
>
> NadaNet 3.0 for Apple II parallel computing!
> Home page: http://home.comcast.net/~mjmahon/
>
> "The wastebasket is our most important design
> tool--and it's seriously underused."
I'm gonna go buy a lottery ticket now, 'cause its a rare day indeed
when I catch you out.... ;-)
Cheers,
Mike