[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Introducing Slammer!
On Jul 30, 1:44 am, "Michael J. Mahon" <mjma...@aol.com> wrote:
> On 7/28/2010 4:25 AM, Calibrator wrote:
>
> > On Jul 27, 4:43 am, Ivan Drucker<i...@ivanx.com> wrote:
>
> >> I wanted the Lam technique, but at machine language speed. So I tried to do
> >> something that I figured was probably impossible, and in any event crazy:
> >> write a routine consisting exclusively of bytes in the range $21-$5A, so
> >> that they could appear in REM lines that could be typed on every Apple II.
> >> This meant the only useful memory I could address was $0021-$005A, the only
> >> operands I could use were #$21-#$5A, and the only instructions I had
> >> available were AND BIT BMI BVC CLI EOR JMPa LSR PHA PLP ROL RTI.
> >> (I used all but one of them.)
>
> I'm guessing that it was BVC that went unused...? ;-)
>
> -michael
>
> NadaNet 3.1 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."
Just to prove that I was really listening to his presentation at
Kfest, the correct answer is JMPa.