osd-contiki/platform/apple2enh
oliverschmidt 852d2c0283 Introduced very lightweight pfs implementation based on Apple ProDOS.
ProDOS requires for each opened file a user-supplied page-aligned 1024 byte i/o buffer. This makes the generic POSIX file i/o library contained in the cc65 C-library quite heavyweight.

In contrast the lightweight pfs implementation uses the uIP packet buffer as ProDOS i/o buffer. Therefore:
- Only one file may be open at any time.
- That file may not be open while the uIP packet buffer is used by uIP. The open()/read()/close() sequence should be completed before Contiki event scheduling or inside handling a single Contiki event.
- The uIP packet buffer must be large enough to hold the ProDOS I/O buffer. Depending on the position of the uIP buffer in memory this means between 1024 and 1024 + 256 bytes. Therefore in an Ethernet environment setting the MTU_SIZE to at least 1266 is safe (So the default of 1500 is just fine).
2008-01-01 18:49:50 +00:00
..
lib Introduced very lightweight pfs implementation based on Apple ProDOS. 2008-01-01 18:49:50 +00:00
sys Soe we're finally back at reducing the memory footprint be avoiding to pull in large C-library enitities. 2007-12-16 13:08:09 +00:00
contiki-conf.h Introduced very lightweight pfs implementation based on Apple ProDOS. 2008-01-01 18:49:50 +00:00
contiki-main.c Implement cfs API on preprocessor level using POSIX functions.. 2007-12-23 15:29:19 +00:00
contiki.cfg Added (default) binary config file. 2007-11-27 21:46:35 +00:00
linker.cfg Reduced stacksize. 2007-11-27 12:24:03 +00:00
Makefile.apple2enh Introduced very lightweight pfs implementation based on Apple ProDOS. 2008-01-01 18:49:50 +00:00
README Added LANceGS. 2007-11-30 12:35:18 +00:00

The platform/apple2enh/ directory is used for targeting an Enhanced Apple //e
(or compatible) computer. Most things are shared between the 6502-based targets
so please consult cpu/6502/README for further details.

The following Apple II Ethernet cards are supported:
- Uther:   Use driver cs8900a.eth  with the address $C0x0 (x = 8 + slot number).
- LANceGS: Use driver lan91c96.eth with the address $C0x0 (x = 8 + slot number).

In most cases it is desirable to use an emulator for the development and testing
of a Contiki application. AppleWin is especially well suited as it emulates the
Uther Ethernet card in slot 3. It is available at http://applewin.berlios.de/.