According to Adam the contents of the uip_buf are never assumed to be valid accross events boundaries. The same holds true for file open-read/write-close cycles (at least for module loading and config file i/o).

This leads to the conclusion that the uip_buf and the file i/o buf (1024 bytes for Apple ProDOS 8 !) can be folded together. This means that we both
- save the 400 bytes used by the former uip_buf
- should have better network throughput due to new uip_buf size of 1022 bytes
diff --git a/contiki-apple2/main.c b/contiki-apple2/main.c
index 1671de7..9f946d3 100644
--- a/contiki-apple2/main.c
+++ b/contiki-apple2/main.c
@@ -32,7 +32,7 @@
  *
  * This file is part of the Contiki desktop environment 
  *
- * $Id: main.c,v 1.7 2005/01/26 21:33:29 oliverschmidt Exp $
+ * $Id: main.c,v 1.8 2005/02/17 22:45:03 oliverschmidt Exp $
  *
  */
 
@@ -63,6 +63,10 @@
 
 unsigned char lanslot;
 
+#pragma bssseg(push, "UIPBUF");
+u8_t uip_buf[UIP_BUFSIZE + 2];
+#pragma bssseg(pop);
+
 /*-----------------------------------------------------------------------------------*/
 unsigned char
 uip_fw_forward(void)