[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CiderPress v2.1.0 released



Andy McFadden wrote:

>Eric Smith <eric-no-spam-for-me@brouhaha.com> wrote:
>> Andy McFadden <fadden@fadden.com> writes:
>>> One, called "module 6", loads at address $30.  I thought that was a typo.
>>> Nope: it fills up most of zero page, overwrites the stack, and keeps on
>>> trucking.  Sort of tricky to run that one without loading from cassette,
>>> because the JSRs in the F8 ROM routines RTS to the wrong place after the
>>> stack gets trampled.
>> 
>> Surely they return to the *right* place, which just happens to be somewhere
>> other than right aftter the JSR as one might normally expect?
>
>Let me clarify: they return to the wrong place if you're doing something
>other than load from cassette.
>
>My first attempt was to just use the monitor move routine, but that failed
>for the above reason.

Interesting tape!  ;-)

But wouldn't there be a problem with attempting to LOAD a tape in
the stack area in any case?  There is no way that one could ensure
that the stack was not somewhat "advanced" prior to the LOAD, so
the actual locations of return addresses in the stack could not be
guaranteed.

Perhaps this tape could only be loaded if it were the first thing the
user did after powering up...?

-michael

Check out parallel computing for 8-bit Apples on my
Home page:  http://members.aol.com/MJMahon/