SelvinPL

Results 29 comments of 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: ![image](https://github.com/user-attachments/assets/3a63acf8-5007-4c2c-9ed4-2f156d717ed6)

BTW you can also see the symbol in "memory" view in current build ![image](https://github.com/user-attachments/assets/7a2b6323-3ba6-493f-9867-fc4fd838c393)

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 ![image](https://github.com/user-attachments/assets/b3b366e4-dbad-48bb-98c9-1bd9f1641f88) ![image](https://github.com/user-attachments/assets/a3e5d1fd-fd53-40c0-818e-355446da98d0)