Compiling C to neat Z80. Is that even possible.
By Madram / Overlanders. So, what is a calling convention? Look at CPC firmware routines (BC80 aka cas_in_char and co). The input (which registers are taken, what is the role of each), output and resulting flags are described, in what we could call now an API. That’s not a calling convention!