Questions tagged [sdcc]

For question regarding the SDCC ISO C compiler which targets CPUs used in retro machines like z80.

Filter by
Sorted by
Tagged with
1 vote
1 answer

Working on programming a retro z80 computer (SDCC error)

I am working on coding a driver of sorts for a Z80 based computer I am making. I am compiling with SDCC and I have been getting the following? ASlink-Warning-Undefined Global 'data' referenced by ...
user avatar
6 votes
2 answers

Why isn't the 'restrict' keyword useful in SDCC when compiling for Z80 target? [closed]

Context SDCC claims to support C11. I use it to write games on Z80 target (for fun and experience). C11 defines restrict C11 specifies the restrict keyword on pointers, which can improve generated ...
user avatar