Update to SDCC 3.5.0
- Replace make_labels with sed script, because the map file format
changed.
- Remove __fastcall__ in the single place where it was still present
(leftover from CC65)
- Use __z88dk_fastcall where possible in the conio driver, speeding up
drawing a little further.
- Allow "unsafe reads" since we don't have any read-sensitive IO mapped
in memory space.
There changes free an extra 900 bytes of RAM, making us closer to 25K
RAM free (with memstat runnning).
diff --git a/contiki-cpc/Makefile.common b/contiki-cpc/Makefile.common
index b0acfa6..9aeba3c 100644
--- a/contiki-cpc/Makefile.common
+++ b/contiki-cpc/Makefile.common
@@ -17,9 +17,9 @@
-I $(CONTIKI)/lib \
-I $(CONTIKI)/ppp \
-I $(CONTIKI)/uip \
- -mz80 -D__fastcall__=/**/ -D__CPC__ -DCLK_TCK=16384 \
+ -mz80 -D__CPC__ -DCLK_TCK=16384 \
-DCTK_CONIO --funsigned-char \
- --no-std-crt0 --opt-code-size
+ --no-std-crt0 --opt-code-size --allow-unsafe-read
CLFLAGS=
OPT=