SelvinPL
SelvinPL
excerpt from SDCC documentation (4.3.5): ___ This calling convention can be chosen per function via __sdcccall(1). 8-bit return values are passed in a, 16-bit values in bc, 32-bit values in...
also for better sdcc code you may add `__preserves_regs()` directive: so for our example: `uint_8 increment(uint8_t i);` ``` uint_8 increment(uint8_t i) __preserves_regs(b, c, d, e, h, l); ``` so caller...
> * Do the declarations not need `extern`? AFAIK C doesn't require `extern` for function > * What's the difference between `uint_8`/`uint_16` and `uint8_t`/`uint16_t`? I think typo is the difference...
## variable defined in asm bar.c (https://godbolt.org/z/481n9sqnd) ``` extern uint8_t counter; void main(void) { counter++; } ``` foo.asm ``` section "counters", WRAM0 _counter:: ds 1 ``` ## variable in HRAM...
what is `-E1` option? also how symbols should be formated? it's easy to show map file like this: 
BTW you can also see the symbol in "memory" view in current build 
I will do pr as soon as you would change secret labeling(because I'm removing them in this view). I did add some comments how to fix labeling.
` "printWidth": 100,` give it 150 per line - we are not living in middle ages with 1024x768 resolution also when i can back to work? with such changes you...
120 fixes some strangly looking ``, fair enough could you do? I'm thinking about about some small changes .. like menu and button size (I think they are too small...
https://github.com/gbdev/rgbds-live/pull/37 will do that theme is based on syste/browser settings you can check how it looks for both themes fx in chrome devtools via `Rendering` tab  