User Activity

  • Created ticket #3288 on Small Device C Compiler (SDCC)

    [Build] Make reports "makeinfo" is missing but it means "texinfo"

  • Created ticket #483 on Fuse - the Free Unix Spectrum Emulator

    libspectrum - requires ldconfig

  • Posted a comment on ticket #3171 on Small Device C Compiler (SDCC)

    Hey guys, Updating to 4.0.7 fixed the rest of the issues I was having. This can be closed. Thanks!

  • Modified a comment on ticket #3171 on Small Device C Compiler (SDCC)

    Philipp, Sorry, I meant to specify specifically on my PC-88 chain. The code will compile fine, but for whatever reason the stack/frame pointer doesn't like it calling too many functions within main after a global assignment like that above main() will corrupt the stack - probably bc of what you said. Init of globals in crt0 would be the issue, then, I might have assumed it was something like that. I do have to use a custom crt0, called IPL.BIN. It performs the same basic function, setting up registers...

  • Posted a comment on ticket #3171 on Small Device C Compiler (SDCC)

    Philipp, Sorry, I meant to specify specifically on my PC-88 chain. Init of globals in crt0 would be the issue, then, I might have assumed it was something like that. I do have to use a custom crt0, called IPL.BIN. It performs the same basic function, setting up registers for the environment/screen and sets the stack pointer, then loads from disk to RAM and executes. I use a custom tool to "link" after compiling main.c due to the hardware. (Right now everything compiled is included within main.c)....

  • Posted a comment on ticket #3171 on Small Device C Compiler (SDCC)

    Thanks for the reply. I discovered the issue is variable (specifically pointer location) assignment outside of main(). Is this related?

  • Posted a comment on ticket #3171 on Small Device C Compiler (SDCC)

    Thank you for the reply. I discovered the issue, which was unrelated to what I thought - performing assignment on a variable outside of a function. e.g. volatile unsigned char* ptr = 0xc000; void main() { while(1) { } } will reproduce this issue. I tried your recommendation which did not fix it, but I can obviously work around this for now.

  • Posted a comment on ticket #3171 on Small Device C Compiler (SDCC)

    Using SDCC 4.0.0

View All

Personal Data

Username:
shram86
Joined:
2021-01-22 15:36:12

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB