kierenj / 0x10c-DevKit

0x10c DevKit
http://0x10c-devkit.com/
39 stars 4 forks source link

Way to Access the Heap? #124

Closed CannibalVox closed 12 years ago

CannibalVox commented 12 years ago

Ordinarily if I need access to the beginning of the heap, I can drop a label at the end of my code file and use that. With the multi-file setup of DevKit, it's not entirely clear to me how to grab the memory address of the end of my program memory.

kierenj commented 12 years ago

Hi - currently all projects are built in order, and all files within projects are built in order. That means the first file of the first project is compiled to 0000, and the end of the last file of the last project marks the end of compiled output (and start of the 'heap' if you like). There are a few things planned so the memory map can be 'built' and the build order/specification of output is more obvious. I hope that answers your question for now?

CannibalVox commented 12 years ago

This should be fine- so I can add a project at the end of the solution with a single file that marks the heap, I guess?

Acruid commented 12 years ago

Yes, you can.

CannibalVox commented 12 years ago

Thanks for the response! I'm gonna close this since it's all I need, sorry if that's wrong.