Commit Graph

13 Commits

Author SHA1 Message Date
oliverschmidt
bb19396d21 Introduced yet another high-level config macro. 2008-01-01 19:47:03 +00:00
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
oliverschmidt
fda38428d9 Introduced some more high-level config macros. 2007-12-23 13:55:38 +00:00
oliverschmidt
125f261b7d Introduced high-level macros to be set on the make command line. They allow easy configuration of Contiki for typical (cc65-)project scenarios. 2007-12-23 12:32:43 +00:00
oliverschmidt
c36697fca9 Added target-specifc mouse configuration values. 2007-12-20 22:59:41 +00:00
oliverschmidt
70fe24817e Added target-specifc ctk (and www) configuration values. 2007-12-18 17:51:20 +00:00
oliverschmidt
a91fe3ea98 Limit the maximum number of simultaneous connections to the cfs webserver to three because there's not enough memory left on the heap for more open files anyway - ProDOS 8 needs 1kB of page-aligned heap per open file :-( 2007-11-27 22:03:29 +00:00
oliverschmidt
f779a8cdff Set the maximum number of simultaneous connections to the cgi webserver to the maximum number of uIP connections. 2007-11-26 21:38:32 +00:00
oliverschmidt
89e81f9eed Renamed 6502-conf.h into 6502def.h to be in line with similiar files created in the meanwhile and added C99 names. 2007-09-05 10:59:10 +00:00
oliverschmidt
0cd5f4fa0a Reduced Contiki config to the minimum. 2007-05-27 20:52:42 +00:00
oliverschmidt
4bf1ecc20e Made endianess configuration actually work. 2007-04-11 00:25:38 +00:00
oliverschmidt
d684c14aa6 Factored out settings specific more to architecture and/or toolchain rather than specific target. 2007-03-03 13:39:42 +00:00
oliverschmidt
00101cc177 Added support for the cc65 target 'apple2enh' (Enhanced Apple //e). 2007-01-03 10:29:17 +00:00