Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Including / compiling code to different addresses
#2
It should be something like:

Code:
ASM
org <new-address>
incbin "file.bin"
END ASM
But this is not suported, precisely because the "+ compiled size of font.bas" is something VERY HARD to compute.
Basically what you're asking is a LINKER to compile several .bas files into .obj code and link them at a later stage.
This project will take time. I've been investigating (that the problematic part) current linkers and will try to make obj code compatible with the one used in SDCC. So people might perhaps link SDCC code with ZXBasic one.

The main obstacle is to take 128K models (and others!) memory maps and take them into account.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)