suborb

Results 233 comments of suborb

A little more progress: ``` % zcc +cpm -clib=ez80clang_ix -v enigma.c -create-app -DARGC -m % ls -al A.COM -rw-r--r-- 1 dom staff 4308 27 Jun 21:46 A.COM % z88dk-ticks -x...

It's obviously the end of a very long week - I was sure I'd written a reply here! The preprocessor is about the only bit of the toolchain that we've...

It's a good question that at the moment I've not thought too much about - I'm just tinkering and trying to come up with a way to handle `__smallc` code...

I'm still bashing my head a little with `__smallc`. I've got something working (even with function pointers), but it's not wonderfully pretty. Let's assume for every library function `func` we...

Lovely: ``` #if __SCCZ80 #define FUNC2(r,p, n,t1,a1,t2,a2) extern r __LIB__ p n(t1 a1,t2 a2) __smallc; #elif __SDCC #define FUNC2(r,p, n,t1,a1,t2,a2) extern r p n(t1 a1,t2 a2) __smallc; #else #define FUNC2(r,p,...

Ah , edge conditions. I've forgotten if there is a correct behaviour, or if it's undefined. sccz80 keeps the sign bit whilst shifting. sdcc doesn't and clang, well it depends...

@zx70 this change makes sense from a code perspective - but what are the effects on wav file generation for other targets?

Given that it's building in CI without this change, there must be something else going on - it escapes me at the moment as to the cause though.

> The current Makefile script for libsrc is a huge chonk. I haven't even made sense of most of the steps it does yet. It's tracking a huge number of...

> cannot open peep rule file I think that's sdcc.