08-11-2022, 08:59 AM
Starting your code at, let's stay --org 26000 it's a safe value. From that point downwards to 0 it's used for the stack.
Placing binaries at random locations will mostly not work and will overlap with your compiled code. Currently ZX Basic does not support that. It's a long road to implement that feature (I'm working on it)
Instead, you should use INCBIN with labels as you already did, and get their address with @label
There are several approaches to this in the thread I posted above. Hope this help.
Placing binaries at random locations will mostly not work and will overlap with your compiled code. Currently ZX Basic does not support that. It's a long road to implement that feature (I'm working on it)
Instead, you should use INCBIN with labels as you already did, and get their address with @label
There are several approaches to this in the thread I posted above. Hope this help.