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!

La Lypémanie Vaut Mieux

By Madram / Overlanders. After having tried psilocybin, I developed two peculiar hobbies. Cleaning my room and porting languages on the Zilog Z80. One way to do the latter is to compile the language’s interpreter/compiler/virtual machine/whatever (often in C) to Z80. You read it right: cross-compilation.

Rosetta Sugar. J’apprends à coder AVEC mon CPC.

By Madram / Overlanders. Here begins a serie of articles dedicated to programming languages, already existing on the CPC (BCPL, Forth, Turbo Pascal, …) or good candidates for ports on the CPC (Smalltalk, Lua, J, …). I don’t plan to investigate BASIC compilers since I find BASIC unattractive. My CuPidCoder standards are pretty high. Here […]