We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This program misbehaves:
#include <stdio.h> #include <string.h> #include <tice.h> int main() { static char bss_protector[0x1000]; strcpy(&bss_protector[0x000], "first,"); strcpy(&bss_protector[0x800], " second"); os_SetCursorPos(0, 0); for (int i = 0; i < 11; ++i) { os_PutStrFull(&bss_protector[0x000]); os_PutStrFull(&bss_protector[0x800]); os_NewLine(); } os_GetKey(); }
Full project
Note: Was also reproduced while only calling os_NewLine().
os_NewLine()
The text was updated successfully, but these errors were encountered:
The only solution I can find is BSSHEAP_LOW ?= D052C6.
BSSHEAP_LOW ?= D052C6
Sorry, something went wrong.
Nobody has suggested a better solution, so implementing the only suggestion.
ddbd085
TODO at some point: update https://github.com/CE-Programming/toolchain/blob/master/docs/static/images/mem_layout.png from 0xD031F6 to 0xD052C6 (a 8400-byte reduction) -> Total BSS is now 60690 bytes. And mention it in the changelog for the next release.
0xD031F6
0xD052C6
Edit: MateoC did it in 1a1bc4b
No branches or pull requests
This program misbehaves:
Full project
Note: Was also reproduced while only calling
os_NewLine()
.The text was updated successfully, but these errors were encountered: