Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Binary into asm
#10
The ramtop here does not make much sense: you're compiling your program to *machine code*! hence your program is already over the ramtop!

This is a difficult question as, for the moment, I'm still developing a linker to deal with memory allocation. The heap space starts at the very beginning of your program along with your variables. This is done to make SAVE "" DATA to work and preserve the heap and the program state (i.e. if you want to implement the feature of saving the game and resume it later).

The ramtop is, by default 32768 (non-contended RAM). Your program starts at 32768 with a jump (JP) over the HEAP. You can generate the assembly with
--asm
and see the resulting ASM listing.

Have you read this thread?
https://www.boriel.com/forum/showthread.php?tid=368 ("Using Beepola with ZX BASIC")
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: 1 Guest(s)