mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-23 05:29:54 +00:00
3b2173e01f
CFS_WRITE implies O_TRUNC which is implemented on CBM DOS by deleting an exsisting file. Hoewever this succeeds only if the CBM DOS filetype matches. We need a working O_TRUNC in order to be able to overwrite the contiki.cfg configuration file. Note: Now it has be clarified why overwriting the configuration file started to fail the CBM PFS (platform file system) can be activated for the recently added ethconfig program.
Commodore 64
The platform/c64/ directory is used for targeting a Commodore 64 computer. Most things are shared between the 6502-based targets so please consult cpu/6502/README.md for further details.
The following C64 Ethernet cards are supported:
- RR+RR-Net: Use driver cs8900a.eth with address $DE08.
- TFE: Use driver cs8900a.eth with address $DE00.
- ETH64: Use driver lan91c96.eth with address $DE00.
In most cases it is desirable to use an emulator for the development and testing of a Contiki application. VICE is especially well suited as it emulates both the RR-Net and TFE Ethernet cards. It is available at http://www.viceteam.org/.
The c64 target supports a PFS that requires less RAM than the POSIX file system and converts UNIX path names to CMD syntax for CMD drives and IDEDOS 0.90+. Its primary feature however is support for IDE64 fast read/write.