contiki/cpu/6502
2007-11-28 18:19:14 +00:00
..
lib Added read function for a simple binary config file. 2007-11-27 21:42:02 +00:00
net Made include paths consistent. 2007-11-27 20:54:10 +00:00
sys Added the same disclaimer as used in the header file. 2007-04-14 15:48:42 +00:00
6502def.h Replaced most type definitions with reference to stdint.h. 2007-11-17 23:42:23 +00:00
clock.c Cosmetic change... 2007-05-29 22:25:49 +00:00
Makefile.6502 Added global error_exit() and config read function to build. 2007-11-27 21:43:32 +00:00
mtarch-asm.S - The cc65 assembler variable 'ptr1' (a general zero page pointer) is actually part of the cc65 zero page area so it's a bad idea (tm) to use it in swapping that very area. 2007-08-10 10:45:35 +00:00
mtarch.c - The cc65 assembler variable 'ptr1' (a general zero page pointer) is actually part of the cc65 zero page area so it's a bad idea (tm) to use it in swapping that very area. 2007-08-10 10:45:35 +00:00
mtarch.h - The cc65 assembler variable 'ptr1' (a general zero page pointer) is actually part of the cc65 zero page area so it's a bad idea (tm) to use it in swapping that very area. 2007-08-10 10:45:35 +00:00
README Added some info on the 6502 targets. 2007-11-28 18:19:14 +00:00
rtimer-arch.h Added dummy value to allow for building. 2007-05-19 13:20:37 +00:00

The cpu/6502/ directory is used for targeting 6502-based machines using the cc65
compiler (http://www.cc65.org/). In almost all cases it is preferable to go for
a recent snapshot instead of the latest official version. The most recent cc65
snapshot is available at: ftp://ftp.musoftware.de/pub/uz/cc65/snapshot/.

The Contiki network configuration for 6502-based targets is loaded from a binary
configuration file (by default named contiki.cfg). It has the following format:
- Bytes  1 -  4: IP Address     (HiByte first)
- Bytes  5 -  8: Subnet Mask    (HiByte first)
- Bytes  9 - 12: Default Router (HiByte first)
- Bytes 13 - 16: DNS Server     (HiByte first)
- Bytes 17 - 18: Ethernet card I/O address (LoByte first !)
- Bytes 19 - xx: Ethernet card driver name (ASCII / PETSCII)