Changes
Contiki
,/* Efforts in porting Contiki to Amstrad CPC */
[[Image:contikicpc.jpg|right|thumb|250px|Contiki running on the Amstrad CPC]]
Previously there have been attempts to port Contiki to the CPC. The most successful port was done by [[Kevin Thacker]]. This was accomplished by modifying the [[SDCC]] compiler, so this compiler was able to produce CPC binaries.
This was accomplished by:1. Modifying the linker so that it could generate binary files with relocation data2. Modifying the optimiser rules to reduce the program size.3. Modifying the source so it produced smaller and better code for the [[SDCC]] compiler to work with. The nature of Contiki(written almost entirely in C) and the poor Z80 optimisation by the SDCC compiler makes Contiki slow compared to other operating systems. Also the The desktop routines in the Amstrad port relies on the slow [[firmware]] routinesbecause it was quicker to make the port this way. The Amstrad port runs in 64k. It doesn't make use of any extra RAM, this choice was taken so that a quick port could be done to proove it was possible.
A key feature of Contiki is its ability to access networks.
== Other Operating Systems for the CPC ==