[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The Internet-enabled Contiki Desktop OS



Adam Dunkels wrote:
On Wed, 12 Mar 2003 19:10:34 +0100, MagerValp wrote:

UvB> The current snapshot does 40/80 columns on the C128. MagerValp UvB>
did the initial implementation followed by some tweaking done by UvB> me.

There isn't enough free ram in the C128 mode though, as bank 1 isn't used
by cc65 and the editor and kernal roms are banked in. With some banking
scheme similar to the Plus/4 target's that wouldn't be a problem though.
Also, the ram from $1300 onwards could be used.


By installing the newest cc65 snapshot and by turning down some of the
configuration knobs in Contiki (turning off support for HTML forms,
the HTML <center> tag, reducing the maximum URL length and lowering
the maximum amount of simultaneous links on screen), I was able to
compile Contiki with the web browser for the C128 in 80 column
mode. There are a few problems, and for some reason it is really
really slow, but it does work, with TCP/IP support and all. I uploaded
a screenshot to the ports page of the Contiki web site:

  http://dunkels.com/adam/contiki/ports/

/adam

Impressively fast porting. Contiki is indeed a paragon of portability. The text appears to be in capital/shifted cases. As I recall (not having ever been great at VDC programming) the VDC can support 512 characters in the character-set, allowing both upper an lower case simultaneously. The 80col lib for the C compiler may not be allowing you to set the case bit. In VIC-II you tell the chip you want the screen to be in uppercase or lowercase. On VDC you tell the chip with each character what case that char should be. Looks like it is always being sent with the case bit set.

I'm definitely not the expert.  Ullrich or Per are much more knowledgeable.

Alex