[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Prince of Persia for ProDOS? was Re: QIX for ProDOS
On Wednesday, October 31, 2012 12:09:54 PM UTC-5, Steve Nickolas wrote:
> On Wed, 31 Oct 2012, BLuRry wrote:
>
>
>
> > Don't go too much further without looking at Mechner's notes. He lays
>
> > out memory map usage pretty clearly. This can be extremely useful in
>
> > mapping out loader behavior.
>
> >
>
> > http://jordanmechner.com/wp-content/uploads/1989/10/popsource009.pdf
>
> >
>
> > -B
>
> >
>
>
>
> Downloaded it back in April.
>
>
>
> I'm aware of some of the technical stuff.
>
>
>
> The table says there's 48K of code and 8K of buffers. That might be a
>
> problem, given that both the graphics pages are used ("Screen memory
>
> 16K").
>
>
>
> -uso.
Both hires pages are in use, but I think that PoP's buffers can be moved around pretty easily. Mechner didn't use any evil tricks that I could find. I didn't even see many hints of self-modifying code to be honest. It should be possible to reassemble PoP in a way that relocates its buffers to non-contiguous places, such as areas of the shape table that are not needed at the time. Or auxmem.
To be honest, shoving lookup data into a slinky ram card is getting more and more temping as I think about it. ;-)
-B