Hi! I'm writing a little editor for CP/M 3. I have found a bunch of
examples to generate CP/M binaries using SDCC and that works just fine.

But the default 1k heap isn't large enough, and I'd really like to be able
to use whatever RAM is available between the end of the segment list(s) and
the top of the transient program area (TPA.)

If I were doing this with gcc/gnu linker, I'd just define a symbol at the
end of the generated segments in RAM. but the segment/area list here is ..
not defined the same way. And it seems that the linker logic is a little
different per target platform because, well, embedded
microprocessor/controllers can have funky addressing/banking requirements.
:)

So, what's a neat hack I could do to find the end of the generated segment
list? I thought about using a .o at the end of the build line, but I am not
sure what is the "last" generated segment.

Thanks!


-adrian
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to