osd-contiki/platform/apple2enh
Oliver Schmidt fb5d0b7ef0 Made 80 column display a cc65 application attribute.
So far 80 column display was an attribute of a cc65 platform. Now each cc65 application can ask for 80 column display by defining WITH_80COL. Of course this is ignored by platforms incapable of 80 column display.

I see three types of application:

* Applications not benefitting from 80 column at all and in fact looking better with 40 column display. These are now using 40 column display. Examples: ethconfig, ipconfig

* Applications taking advantage of 80 column display if it is available without drawbacks. These stay as they were. Examples: Telnet server, web server, wget

* Applications needing 80 column display so urgently that it is likely desirable even if the display becomes harder to read. These come now in both flavors allowing the user to choose. Examples: IRC, web browser

Note: This change doesn't actually introduce any 80 column display with drawbacks. This if left to a subsequent change.
2015-10-30 12:42:58 +01:00
..
lib Leverage the recently added exec() cmdline support in the cc65 C library for the Apple ][. 2015-04-26 21:45:33 +02:00
sys Adjusted retro target clock to "new" DNS resolver. 2015-08-04 13:48:08 +02:00
contiki-conf.h Made 80 column display a cc65 application attribute. 2015-10-30 12:42:58 +01:00
contiki-main.c Made 80 column display a cc65 application attribute. 2015-10-30 12:42:58 +01:00
Makefile.apple2enh Rearrange Apple II language card usage. 2015-06-28 22:12:44 +02:00
Makefile.customrules-apple2enh Moved the 6502 custom rules into its own Makefile.customrules-6502 file 2014-01-26 23:20:40 +01:00
README.md Added info on W5100 driver. 2014-03-15 16:56:08 +01:00

Apple II

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.md for further details.

The following Apple II Ethernet cards are supported:

  • Uthernet: Use driver cs8900a.eth with address $C0x0 (x = 8 + slot number).
  • Uthernet II: Use driver w5100.eth with address $C0x4 (x = 8 + slot number).
  • LANceGS: Use driver lan91c96.eth with 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 Uthernet card in slot 3. It is available at http://applewin.berlios.de/.

The 'disk' make goal requires AppleCommander 1.3.5 or later. It is available at http://applecommander.sourceforge.net/.

The apple2enh target supports a PFS that requires much less RAM than the POSIX file system. However this benefit comes with the following restrictions:

  • Only one file may be open at the same time.
  • Only read operations are supported but no write operations.
  • The files must be located in the same directory the application is located in (the ProDOS prefix may very well point to another directory).
  • The network MTU size must be set at least to 1265 (the default is 1500).
  • No network function may be called while a file is open.