sdcc Questions
2
Solved
I am on SDCC 2.8.0, so very limited in memory and code size. Say I have an input value that ranges between 0 and 127, I want to scale it to 20 - 100. Normally I would do:
int scale(int input, int ...
Tire asked 28/1, 2014 at 17:37
2
Solved
When I run compile this code with SDCC 3.1.0, and run it on an Amstrad CPC 464 (under emulation, with WinCPC 0.9.26 running on Wine):
void _test_malloc()
{
long idx = 0;
while (1)
{
if (malloc...
Naomanaomi asked 27/6, 2013 at 23:29
1
I am trying to use Xcode as an editor for microcontroller code. I want to use the Build, Run buttons. How can i use those to trigger a script that compiles the program ? I already have a script tha...
1
© 2022 - 2024 — McMap. All rights reserved.