Re: Processor specific optimisations

rickh@capaccess.org (Rick Hohensee)
6 Feb 2002 23:39:24 -0500

          From comp.compilers

Related articles
[10 earlier articles]
Re: Processor specific optimisations rickh@capaccess.org (2002-01-28)
Re: Processor specific optimisations mpointie@eden-studios.fr (Mickaël Pointier) (2002-01-30)
Re: Processor specific optimisations Ulrich.Teichert@gmx.de (2002-01-30)
Re: Processor specific optimisations perle@cs.tu-berlin.de (2002-01-30)
Re: Processor specific optimisations mpointie@eden-studios.fr (Mickaël Pointier) (2002-02-06)
Re: Processor specific optimisations clc5q@cs.virginia.edu (Clark L. Coleman) (2002-02-06)
Re: Processor specific optimisations rickh@capaccess.org (2002-02-06)
| List of all articles for this month |

From: rickh@capaccess.org (Rick Hohensee)
Newsgroups: comp.compilers
Date: 6 Feb 2002 23:39:24 -0500
Organization: http://groups.google.com/
References: 02-01-077 02-01-126 02-01-151 02-01-164
Keywords: optimize
Posted-Date: 06 Feb 2002 23:39:24 EST

perle@cs.tu-berlin.de (Frank Wilde) wrote in message news:02-01-164...
> Rick Hohensee <rickh@capaccess.org> wrote:
>
> > [...] Speaking of the 6502 and deliberately falling off the edge
> > of the earth as a programming technique, has anyone ever used 6502
> > "pre-indexed indirect" addressing? I didn't find any occurance of it
> > in the C64 ROMs, 8k by Commodore and 8k by Microsoft.
>
> That would be ($nn,X), right? I'd suspect management of the
> connectedness of screen lines to logical lines (present in all CBM
> machines with less than 80 cpl) of having used that mode; why else
> would they reserve (about) 24 precious zero-page variables for just a
> flag per byte?
>
> Ciao,
> Perle


I don't know. I do recall searching the ROMs, BASIC and kernal, for
the bit patterns I thought would show use of pre-indexed indirect, and
got no hits. I definitely did that, but I may not have done it
correctly.


I doubt if linking lines requires P-I-I. I think what P-I-I really
does on 6502 is implement a data structure something like a set of
cylindrical data objects, with diameters of 256 bytes, but this is
VERY vague memory. (I recall thinking it resembled a drumkit.)
Rick Hohensee



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.