A83: Re: Re: Re: Aghh Bug!


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

A83: Re: Re: Re: Aghh Bug!




External levels have to be after the program so that when SOS writes the program
(which is probably larger than prgmZSOS) to $9327 so that it doesn't overwrite
the external level file which otherwise could be stored right after prgmZSOS.
Since it isn't possible that a program will be longer than it is, everything
will be okay if the levels are loaded after the program.
This problem isn't worth fixing as it would rarely arise unless you were trying
to make it happen. "Fixing" the problem would also make SOS much larger.
Install is a program to do the sorting. It only works with external levels
smaller than 768 bytes and begin with a "Z," though.

Joe Wingbermuehle
http://joewing.calc.org


----- Original Message -----
From: ceebje <B.J.Ellis@hw.ac.uk>
To: assembly-83 <assembly-83@lists.ticalc.org>
Sent: Saturday, April 17, 1999 4:01 PM
Subject: A83: Re: Re: Aghh Bug!


>
> >haha! Read the documentation for SOS :P
> >AShell has the same problem... and "the holy one" wrote AShell!
>
> After reading this i thought i would run through some tests again.
> (i send, then read, mail when at home.)
> It appears that i was right the first time and not the second...
> (hey! i can install somthing in a Com port after all...)
>
> Now i finally understand:
>
> It should be remembered that all libraries and external levels must be
> loaded after the program(s) to which they belong.
>
> On reading this i thought you meant *inside code*. I seem
> to remember writing about this sometime along the lines of:
>
> 'how can a level load itself without a program.'
>
> And i was a bit ignored.
>
> How do you fix this, though?
> It seems such a strange concept...The order of loading being
> important.
> The symbol table will be different. But how does that matter...
> Cant you add some sorting routine or somthing to fix this...
> Yeh, probally a bit pointless....
>
> Oh, anyway, my games do work -
>
> so,
> Still a Happy Bunny,
>
> Bill J Ellis
> ----------------------
> Bill James Ellis
>
> B.J.Ellis@hw.ac.uk
> http://www.cee.hw.ac.uk/~ceebje/
>
>
>
>



References: