Contiki

From C64-Wiki
Jump to navigationJump to search
Stub This article is very short and not very detailed. Please help to improve it.
Contiki
Title Cover Description
Developer Adam Dunkels, et. al.
Company
Publisher Contiki OS Community
Release 2003
Licence BSD license (3 clause)
Platform VIC-20, C64, C128,Apple IIe, Atari, several microcontroller architectures
Genre GUI
Operation Keyboard Port 1Mouse Joystick
Media Diskette
Language(s) Language:english
Information http://contiki-os.org

Contiki is an operating system for networked, memory-constrained systems with a focus on low-power wireless "Internet of Things" devices. Extant uses for Contiki include systems for street lighting, sound monitoring for smart cities, radiation monitoring, and alarms.

Contiki was created by Adam Dunkels in 2002. He named his operating system after Thor Heyerdahl's Kon-Tiki raft. Development of Contiki has been continuous since that time.

  • The Commodore 64 was fully supported as of version 2.
  • Version 2.5 floppy images are readily available for the C64, C128, and Apple IIe.
  • Version 3 is current and MOS 6502/6510 hardware targets are still fully supported.

Contiki provides multitasking and supports networking with a built-in Internet Protocol suite (TCP/IP stack), yet needs only about 10 KByte of RAM and 30 KByte ROM. A full system, including a graphical user interface, needs about 30 KBytes of RAM.

Wired networking is fully supported in Contiki via RR-Net, TFE, and ETH64.

Filesystem support is based on PFS, a leaner filesystem compared to the POSIX oriented one, which is able to handle path names according to the path syntax of CMD devices and IDEDOS. In addition primarily support is given to IDE64 .

Programs in Contiki Version 2.5[edit | edit source]

The C64 version 2.5 has two .D64 floppy disk images, which contains:

  • CONTIKI.CFG - the Contiki configuration file
  • DHCP - a program for configuration TCP/IP and the network addresses.
  • Webserver (disk 1)
  • Webbrowser (disk 1)
  • WGet (disk 1) - for saving website on a floppy disk
  • IRC (Internet Relay Chat; disk 1) - for chatting
  • Email (disk 2) - client for writing and checking emails from a email server.
  • FTP (File Transfer Protocol; disk 2) - for up- and download files to or from a file or web server.
  • Breadbox64 (disk 2) - C64 twitter client
  • LAN91C96.ETH - LAN driver
  • CS8900A.ETH - Ethernet driver
  • C64-1351.MOU - Mouse driver for the Commodore mouse 1351

Some of the Contiki programs can used with a mouse, a joystick or a keyboard.

F5  Select a menu option backwards
F7  Select a menu option forewards
RETURN  Accept


Contiki DHCP for setting network addresses.
Blank and easy Contiki Webbrowser.
Contiki Breadbox64: A twitter client.



Contiki build-up[edit | edit source]

  1. Install cc65.
  2. Install Vice: contains the program c1541, that is needed for build-up the disk images.
  3. Download the Contiki archive.
  4. Expand the Contiki archive and change into the new subdirectory: cd <contiki-version>
  5. Export shell variable CONTIKI: export CONTIKI=$PWD
  6. Setup shell variables, unused variables mark as true:
    • export AC=true - only for Apple II version.
    • export C1541=c1541 - used for C64 version!
    • export DIR2ATR=true - only for Atari XL version.
  7. Configure and build Contiki disk images:
    • cd tools/6502
    • make TARGET=c64 c64

Links[edit | edit source]

WP-W11.png Wikipedia: Contiki