Commit graph

93 commits

Author SHA1 Message Date
oliverschmidt f74503c23c Replace non-fully-functional hack with the new gnumake variable CONTIKI_PROJECT. 2008-05-26 10:13:32 +00:00
oliverschmidt 356f5cfa04 The recent optimizations (usage of language card bank2 through new C-library, logging through ROM routine, removal of unused IP forwarding code) allowed to increase the number of concurrent HTTP conntections from 3 to 7 :-) 2008-05-23 23:13:41 +00:00
oliverschmidt a78a7dedbc Added make target 'disk' for creating a .dsk disk image using AppleCommander. 2008-05-22 22:21:43 +00:00
oliverschmidt a341f981aa Moved platform/apple2enh/contiki.cfg to tools/apple2enh/sample.cfg 2008-05-21 07:59:43 +00:00
oliverschmidt 85edbc01db Starting with the cc65-snapshot-2.11.9.20080316 the Apple2 C-library supports placing code in the Apple2 Language Card by choosing the code segment 'HIGHCODE'. By default the memory area 0xD400 - 0xE000 is used for HIGHCODE. If the application doesn't need the ProDOS 8 QUIT code then the memory area used for HIGHCODE may be extended to 0xD000 - 0xE000.
Contiki now leverages that feature to place process.o, etimer.o and uip_arp.o in HIGHCODE. These files were carefully chosen as:
- they are necessary for all Ethernet apps
- their size doesn't depend on configuration macros
- they fill the available space nicely (with a little reserve for changes in the source or the compiler)
2008-03-24 22:49:00 +00:00
oliverschmidt 368d389970 Free up unused file descriptors. 2008-02-28 21:36:37 +00:00
oliverschmidt 93789de9dd Now that process initialization has been changed (back) to synchronous it needs to be called after reading the config file in order to preserve the existing logic. 2008-02-17 14:11:48 +00:00
oliverschmidt 2632f8f937 Removed finally unnecessary cast. 2008-02-10 22:36:36 +00:00
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 5592b1df6c Implement cfs API on preprocessor level using POSIX functions.. 2007-12-23 15:29:19 +00:00
oliverschmidt fda38428d9 Introduced some more high-level config macros. 2007-12-23 13:55:38 +00:00
oliverschmidt 14a8cf7200 Made use of the new high-level config macros. 2007-12-23 12:33:57 +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 fe023c6d3e Introduced very lightweight log implementation not depending on any file I/O library. 2007-12-21 00:43:57 +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 8644822a34 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
oliverschmidt b32f0643ab Moved stuff into sys subdir to clean up the apple2enh dir (and because the corresponding shared res. cpu stuff is in the sys dir as well). 2007-12-15 11:04:11 +00:00
oliverschmidt 70321f690f Made error_exit() implementation target-specific. 2007-12-08 22:16:43 +00:00
oliverschmidt 026ba0801f Added LANceGS. 2007-11-30 12:35:18 +00:00
oliverschmidt 2bec16e07d Added some info on the apple2enh plattform. 2007-11-28 17:55:43 +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 963cc8b31e Made use of config file read function. 2007-11-27 21:50:19 +00:00
oliverschmidt 0d8d5c7c5c Added (default) binary config file. 2007-11-27 21:46:35 +00:00
oliverschmidt ef55496de0 Use common log implementation for cc65 targets. 2007-11-27 16:50:02 +00:00
oliverschmidt 380407ae5a Reduced stacksize. 2007-11-27 12:24:03 +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 9c5f62d361 Switched to lowercase file name and do consistently "first-log then operate". 2007-11-25 22:21:19 +00:00
oliverschmidt b26ff75aad Added user feedback on Ethernet configuration. 2007-11-25 15:15:05 +00:00
oliverschmidt 20d395e9b6 Added user feedback on IP configuration. 2007-11-25 15:00:32 +00:00
oliverschmidt 0eb7106bd2 Include dummy for posix function missing in cc65 C-library. 2007-11-24 13:02:27 +00:00
oliverschmidt 7c1cbd4ee2 Added speed detection user feedback and adjusted soft clock to ethernet polling. 2007-11-20 21:54:06 +00:00
oliverschmidt 8ebc56aad5 Shortened welcome message. 2007-11-20 21:24:25 +00:00
oliverschmidt aa7dd83d5d Made use of the generic Ethernet driver for cc65 targets. 2007-11-20 21:19:12 +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 c42cbe3141 Added a naive clock implementation based on main loop counting for the Apple2 as it doesn't have a hardware clock. 2007-08-10 13:30:02 +00:00
oliverschmidt bc46e8a49e Removed clock stuff from main file. 2007-05-29 22:02:37 +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 5d2f948bba Allow to build the statically linked telnet-server and webserver examples using cc65. 2007-03-03 13:38:07 +00:00
oliverschmidt 00101cc177 Added support for the cc65 target 'apple2enh' (Enhanced Apple //e). 2007-01-03 10:29:17 +00:00