Embedding data
rjo__
Posts: 2,114
in Propeller 2
When I first looked at Rogloh's universal video driver, I thought that it worked because when invoked, the compiler would just throw out everything that isn't used. Then Rayman explicitly mentioned embedding data in his video/graphics driver. So, there is something here I don't quite understand. And it looks to be pretty cool.
Can any amount of data be embedded?
Thanks
Rich
Can any amount of data be embedded?
Thanks
Rich
Comments
So if you have a bitmap that you want to load at an address you can do that along with your program. No need to embed.
Mike
Yes, I think any amount can be embedded.
As @iseries said, another, more complex way, is to use the loader to copy files into RAM at launch.
But, the PropTool compiles all the code into the binary.
There are pluses and minuses to each approach...