Thank you for the explanation. I'll just use the revision 758 then :)
Skin image is not loaded properly
Thank you for responding. I wanted to try your first suggestion, it may be what I need. I assumed the two lines of code you gave are assembly. But how should I assemble that, because the assembler I use doesn't seem to have .rel output (and just compiling without specifying any output format yields an error because "code size = 0")?
Thank you for responding. I wanted to try your first suggestion, it may be what I need. I assumed the two lines of code you gave are assembly. But how should I assemble that, because the assembler I use doesn't seem to have .rel output (and just compiling without specifying any output format yields an error because "code size = 0")
How to tell linker the memory address of a declared OS function
You are right, calls might fail when the calling convention assumed by SDCC and the one used by the external function mismatch. I have encountered another issue because of this (should I open up a new thread?): While function pointers can be annotated with the calling convention, some conventions are not yet implemented. I have been bypassing that problem by creating a wrapper function that moves the values into the appropiate registers and then passes on execution to the external function with the...
Sorry for my late reply. Thank you for your insightful explanation. Looks like I only have to tell SDCC that the whole memory space is writable. Erm - how do I do that? I couldn't find the info in the documentation
You are right, calls might fail when the calling convention assumed by SDCC and the one used by the external function mismatch. I have encountered another issue because of this (should I open up a new thread?): While function pointers can be annotated with the calling convention, some conventions are not yet implemented. I have been bypassing that problem by creating a wrapper function that moves the values into the appropiate registers and then passes on execution to the external function with the...