Questions tagged [sdcc]
For question regarding the SDCC ISO C compiler which targets CPUs used in retro machines like z80.
3
questions
9
votes
4
answers
1k
views
Testing "8-bit readiness" with an emulator or pre-packaged kit
I'm working on a project that intends to implement a dynamically typed language on 8-bit systems. (That is, a CPU with 16-bit pointers and a maximum of 64 kB of RAM. Some language tricks are involved, ...
1
vote
1
answer
405
views
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 ...
6
votes
2
answers
396
views
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 ...