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 - 07-31-2022, 12:27 AM
RE: Binary into asm - by boriel - 08-02-2022, 12:58 PM
RE: Binary into asm - by Nando - 08-02-2022, 01:51 PM
RE: Binary into asm - by Nando - 08-02-2022, 09:13 PM
RE: Binary into asm - by boriel - 08-02-2022, 10:21 PM
RE: Binary into asm - by Nando - 08-02-2022, 11:20 PM
RE: Binary into asm - by Nando - 08-05-2022, 03:19 AM
RE: Binary into asm - by boriel - 08-09-2022, 06:26 AM
RE: Binary into asm - by Nando - 08-09-2022, 12:12 PM
RE: Binary into asm - by boriel - 08-10-2022, 11:07 AM
RE: Binary into asm - by Nando - 08-10-2022, 07:39 PM
RE: Binary into asm - by boriel - 08-11-2022, 08:59 AM
RE: Binary into asm - by Nando - 08-11-2022, 12:10 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)