On Tue, Jan 19, 2016 at 1:45 PM, Alan Cox wrote:
> If your crt0.s lists CODE then DATA (as is normal) then it will put the
> data and the like directly after the code unless you specify a --data-loc.
> So if you specify --code-loc 32768 and don't specify a data-loc or have
> one in the linker file
> According to documentation, if I don't use --data-loc, the location is
> set to "as low in memory as possible". I don't know what this would
> result in with zx spectrum, where the low 16k is ROM, next 6k or so is
> display memory, and the 16k-32k is "slow memory" which one would
> probably avoid
On 18/01/2016 7:44 PM, Jari Komppa wrote:
> Hi.
>
> According to documentation, if I don't use --data-loc, the location is
> set to "as low in memory as possible". I don't know what this would
> result in with zx spectrum, where the low 16k is ROM, next 6k or so is
> display memory, and the 16k-32
Hi.
While doing a small project for zx spectrum with sdcc I stumbled upon
a small problem that was fun to diagnose. It's not a bug in sdcc, but
a couple small features would help avoid such problems in the future.
Basically, after adding some innocent code to the project, the program
would crash