Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Binary into asm
#12
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.
Reply


Messages In This Thread
Binary into asm - by Nando - 2022-07-31, 01:27 AM
RE: Binary into asm - by boriel - 2022-08-02, 01:58 PM
RE: Binary into asm - by Nando - 2022-08-02, 02:51 PM
RE: Binary into asm - by Nando - 2022-08-02, 10:13 PM
RE: Binary into asm - by boriel - 2022-08-02, 11:21 PM
RE: Binary into asm - by Nando - 2022-08-03, 12:20 AM
RE: Binary into asm - by Nando - 2022-08-05, 04:19 AM
RE: Binary into asm - by boriel - 2022-08-09, 07:26 AM
RE: Binary into asm - by Nando - 2022-08-09, 01:12 PM
RE: Binary into asm - by boriel - 2022-08-10, 12:07 PM
RE: Binary into asm - by Nando - 2022-08-10, 08:39 PM
RE: Binary into asm - by boriel - 2022-08-11, 09:59 AM
RE: Binary into asm - by Nando - 2022-08-11, 01:10 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)