Slashdot Mirror


The Contiki Desktop OS for C64, NES, 8-bit Atari,

Adam Dunkels writes "This is for those of you who think that a text-based operating system that fits compressed on a 1.44Mb floppy counts as 'tiny': the brand new Contiki operating system and desktop environment for the Commodore 64, with ports to a bunch of other platforms such as the 8-bit Nintendo Entertainment System, the VIC-20, 8-bit Ataris, Atari Jaguar, the Tandy CoCo, and the Apple ][ under development. The Contiki system includes the following: a multi-tasking kernel, a windowing system and themeable GUI toolkit, a screen saver, a TCP/IP stack, a personal web server, and a web browser. The Contiki web browser, which is likely to be the world's smallest browser given its extremely small memory footprint, is the world's first true web browser for an 8-bit system and probably makes the 21 years old Commodore 64 the oldest system ever to run a real web browser! All of the above programs are contained in a single, fully self-contained, 42 kilobytes large binary. The entire Contiki system with all programs running simultaneously is comfortable in 64 kilobytes of memory. The name 'Contiki' is derived from Thor Heyerdahl's famous Kon-Tiki raft which was able to sail across the Pacific Ocean despite being built using prehistoric techniques, something previously thought impossible. There are also screenshots and a FAQ avaliable."

73 of 386 comments (clear)

  1. this begs the question.... by onthefenceman · · Score: 5, Funny

    where do I plug the RJ-45 cable into my NES?

    --
    Have you seen my stapler?
    1. Re:this begs the question.... by Darth+Yoshi · · Score: 2, Informative
      where do I plug the RJ-45 cable into my NES?

      Well, if someone was serious about it. The Crystal/Cirrus CS8900A has an 8-bit interface mode. There are a number of projects on the web interfacing it to several 8-bit processors. Someone could conceivably make a cartridge containing an ethernet interface and the Contiki Desktop in ROM (I'm not holding my breath though).

      --
      // TODO: fix sig
    2. Re:this begs the question.... by Junior+J.+Junior+III · · Score: 4, Funny

      No, the real question is: how much do you have to blow on the RJ-45 port in order to get a solid contact?

      --
      You see? You see? Your stupid minds! Stupid! Stupid!
  2. Re:images?! by feepcreature · · Score: 2, Informative

    By using the alt tag alternative text, presumably...

    --
    Paul "Say no to feeping creaturism"
  3. Thats something! by watzinaneihm · · Score: 2, Interesting

    That should be something, 'cause I can put a commie emulator on my box and run this code from there and I bet the footprint will still be smaller than Lynx.
    Or I coud run an emulator from DOS to get multitasking maybe?

    --
    .ACMD setaloiv siht gnidaeR
  4. Just curious... by dolo666 · · Score: 4, Funny

    Will this work on the TI 99/4A or will I need a few extra 16k memory expansion cards to get up to snuff?

    I still don't understand why any of you use these big computers. We only need 32k to do everything! I'm using one now and although I had to split this message over a cassette tape, it's still better than using those computers that Bill Gates said were too memory rich.

    1. Re:Just curious... by Anonvmous+Coward · · Score: 2, Funny

      "Actually you people joke about stuff like that, but I have a 386 Laptop running FreeDOS that does almost everything that I need a computer to do."

      Liar. We all know that porn quality on an old B&W screen like that would be horrendus!

  5. C64 is the oldest? What? by Asprin · · Score: 4, Informative



    Check me if I'm wrong on this, but I believe the Atari 400/800 are a couple of years older than the C64, which would make *it* the oldest system to run a web browser. I had one (an 800) with 32 whopping-mo-fo-kilobytes of RAM in, like, 1981.

    Yeah, that's right, I was a badass.

    --
    "Lawyers are for sucks."
    - Doug McKenzie
    1. Re:C64 is the oldest? What? by Asprin · · Score: 4, Insightful


      OOPS! RTFA!

      Drat, It looks like the Atari version is "under development". C64 still wins (temporarily)!

      --
      "Lawyers are for sucks."
      - Doug McKenzie
    2. Re:C64 is the oldest? What? by stevel · · Score: 3, Informative

      > My bet would be that someone's already done it
      > on a 1970's vintage VAX

      Sure - Netscape, and before that, NCSA Mosaic, ran just fine on VAX/VMS systems with an Xwindows UI. The first VAX systems are from 1978 (VAX-11/780), and there are still quite a few of these in active use today.

  6. Nowhere, just yet by yerricde · · Score: 3, Insightful

    According to the ports page:

    The NES port of Contiki is developed by Groepaz and currently works but without networking support because there is no networking hardware for the NES available (yet!).

    If you know much about electrical engineering, the nesdev community could use your expertise in creating network hardware for the NES. Even a high-speed serial port would be a good thing.

    --
    Will I retire or break 10K?
  7. Re:duh by Anonymous Coward · · Score: 2, Funny

    I'm going to beowulf cluster all the idiots that say, "Imagine a Beowulf Cluster of these!"

    Together we'll have the biggest pile of morons that ever existed!

  8. Bigger is not necessarily better. by Mossfoot · · Score: 5, Insightful

    This gets me to thinking about how much programing is probably "junk" programming these days. Anyone remember the sequal to Elite? Elite 2: Final Frontiers I think it was called. That had thousands of systems, planets, bases, stations, etc... set up in a game that had "realistic" physics. You could actually land on the planets yourself!

    It was 1 disk big (1.44 floppy).

    Now I look at Freelancer. A big CD full of great graphics. Yet at the same time I see it as not nearly as complex and thought out as Elite 2.

    This is an interesting attempt not to make bigger programs, but tighter ones. Making the most of what you have. It feels like there is so much available on computers these days, that programs aren't concerned with getting the most out of it, just using as much of the bells and whistles as they can. Imagine using the same mentality on a modern computer!

    --
    Fuzzy Knights: New RPG Strips Tuesday and Friday!:
    http://www.fuzzyknights.com
    1. Re:Bigger is not necessarily better. by Hanno · · Score: 5, Interesting

      Nostalgia.

      I recently tried an emulator and had a look at some of the games that I spent hours and days on as a teen. Games such as Mercenary.

      And frankly, most of those games that I had the fondest memory of, from today's perspective, plain and simply suck.

      --

      ------------------
      You may like my a cappella music
    2. Re:Bigger is not necessarily better. by Pastey · · Score: 4, Interesting

      While that is true for some games, I strongly disagree about many, many others I played in my youth.

      Take the aforementioned example: Elite 2. Have you played it recently? The gameplay is STILL rock solid after all this time. The graphics engine is dated, sure, but what other game gives you such an open-ended experience? You could do almost ANYTHING you wanted! The universe was open to you.

      Actually, I'd submit that that is one of the main reasons that games like Grand Theft Auto do so well - the fact that they are so open-ended and leave the decisions up to the player. Scripting is great if it's well done, but how many of us have wished we could have done something different and see the game adapt?


      Overall, it's very sad how many games today are released hoping that eye-candy alone with crap gameplay will sell copies. *cough*Unreal2*cough*

      Brink back some of these ideas from classic gaming! Older games were often head-and-shoulders above modern titles in originality and gameplay because they HAD to be. The platforms at the time were primitive and couldn't rely on eye-candy as a selling point.

      I remember a recent posting here on /. about universities beginning to offer game development majors. I truly hope that something like "gaming heritage 101" is taught to new students. There's a goldmine of great ideas that have been sadly tossed aside that could be salvaged by a savvy developer.

    3. Re:Bigger is not necessarily better. by TheLink · · Score: 2, Insightful

      Yah, plus writing in 68000 assembly language doesn't sound much worse than writing in C. Esp if you have a decent assembler/IDE.

      It's not like it's 8088 asm!

      When I was a kid I was punching 6502 machine code on my Apple II for fun - the only annoying part was calculating the branches. Even modified DOS a bit - more storage space, faster seek times, different sector headers (not the usual D5AA96 D5AAAD ), some reset protection and so on.

      Not all assembly languages are that difficult or ugly.

      --
    4. Re:Bigger is not necessarily better. by kisrael · · Score: 2, Interesting

      Take the aforementioned example: Elite 2. Have you played it recently? The gameplay is STILL rock solid after all this time. The graphics engine is dated, sure, but what other game gives you such an open-ended experience? You could do almost ANYTHING you wanted! The universe was open to you.

      If memory serves, the actual spaceship combat (a big draw for the original) wasn't that much fun...it was too realistic for a game, hyper fast speeds, long distance zapping with beams.

      But yeah, it was a hell of a universe to be able to fit onto a 1.4 floppy!

      --
      SO YOU'RE GOING TO DIE: The Comic for Dealing with Death
  9. VIC 20! by fozzy(pro) · · Score: 3, Funny

    I don't know why i would need to multi-task on a VIC 20 but i'm going to pull her out and see if can get her going. I have a slew of tapes/tape drive or the old beauty. If i can get my EE and CE roomates and buddies to rig up an interface to ethernet then we have a low power webserver pretty soon. It's not hi traffic, but it's not like I get hits like Slashdot.

    Writing support for a HD or faster storage then tape would be the best, but no time right now. Getting a basic webserver over a serial modem should be fairly trivial. Porting a Java shouldn't be and i've always wanted to get JAVA to run on C64, VIC 20, or TRS....Not the embeded version.

    1. Re:VIC 20! by turgid · · Score: 2, Interesting

      I had a ZX81 with a 16k RAM pack and a "proper" keyboard. I also had a multi-tasking FORTH ROM (8k) which was mounted on a daughter board with the BASIC ROM so you could switch between them (with a power off). The FORTH was a native Z80 compiler (not interpreter) and it had user-definable "screens", sort of primitive windows, that programs could output to and update independently. It had a screen editor. It was made by a company called Skywave Software, based in Bournemouthm England IIRC. The multi-tasking was real-time, down to a resolution of 0.02 seconds (the timer ticked at 50Hz). Jobs could be scheduled to start at any time etc. It was such cool fun.

  10. Cool, but.. by erlando · · Score: 2, Insightful

    Seriously, why..? The C64 was a cool piece of machinery in its day but honestly... Who other than sentimental geeks would WANT to browse the web on a C64? Or run anything else than Iridium or Krakout or any of the other cool games..?

    I'm not putting the C64 down. I've owned one myself and I've been pretty impressed by some of the things that have been done on it (including Contiki). But I can't help thinking that such talent that it takes to do this could be put to better use.

    Maybe it's just me. Come to think of it it probably is..

    --
    Remember, there are no stupid questions. But there are a lot of inquisitive idiots.
    1. Re:Cool, but.. by djupdal · · Score: 5, Insightful
      Because it is fun.

      Programming on old 8-bit systems is very different from programming for windows/unix. You must know the hardware better and do optimisations you would not even think about on a modern computer.

      Some people find that challanging and fun. Not everything needs to be useful.

    2. Re:Cool, but.. by kennylives · · Score: 2, Insightful

      Fun programming exercise?
      Interesting engineering challenge?
      A way to show off mad skillz?
      A way to develop those skills?
      To make statement regarding bloat in modern systems?
      It's art?
      Because it's there?

      ... or maybe you'd care to define "better use"?

      You're right though, I wouldn't want to run a web browser on there to do anything 'real', but this is the sort of thing that'll get me to haul the old SX64 out of the closet once more (yes, I am one of those "sentimental geeks"). Not because it's some kind of newfound productivity. And not because I neeed another webserver.

      Simply because it's fun.

      --

      Where the value of X-Mailer: is the true measure of a man...

    3. Re:Cool, but.. by selderrr · · Score: 4, Funny

      Not everything needs to be useful.

      That's ridiculous. Hobbies must be useful. That's why we all collect stamps & hotelsoap.

    4. Re:Cool, but.. by SomeoneGotMyNick · · Score: 2, Interesting

      I don't know... It could have uses for the creative mind.

      My digital TV system from the cable company gives me quick news and info in NICE BLOCKY TEXT.

      The C64 has blocky text too....

      I have about 7 64's in the garage. I can take one, rig up RS232 & SLIP through my Linux router, and plug the 64 into the extra AV port of the TV. Now I can get more information IN THE SAME BLOCKY TEXT than I can with digital cable.

      Sure, I can do that with my desktop PC, but i'd have to get off my lazy ass to do it. I'd rather just switch channels with the remote and grab the wired up 64 from the end table and start surfing.

    5. Re:Cool, but.. by kalidasa · · Score: 2

      Think about how cheaply one could produce a tiny embedded comp with the C64's specs. And trying to get a window manager and web browser working on such an underpowered piece of hardware is good practice for doing more practical things with comparable hardware.

  11. Re:Thats something! by Surak · · Score: 2, Insightful

    Anytime you run emulation of any kind there is a considerable amount of overhead, even in the case of emulating an 8-bit computer on a 32-bit platform.

    BTW--links has a smaller footprint than lynx and supports graphics under SVGAlib or X.

  12. Re:images?! by lemmingstar · · Score: 2, Informative

    There is a seperate effort to display jpegs on the C64, which is pretty much completely working. They are talking about integrating this into the browser.

    Simalarly for GIFs.

    If you want to see something similar to what it does atm try:

    # lynx http://slashdot.org

    or

    # links http://slashdot.org

    Provided you have either program installed.

  13. Ohh That Poor Commodore by Myriad · · Score: 2, Funny
    A link off the Contiki Screen Shots page listed:
    The first two screen shots are actually historical - they show a Commodore 64 web browser browsing web pages served by a Commodore 64 web server :-) The Commodore 64 web server is hosted by Ullrich von Bassewitz and can be seen in action at http://c64.cc65.org/.

    *sniff* Hmmm, do I smell burning plastic? Ahh yes, there melts another C64 powersupply.

    Oh well, it died an honorable death. Damn /., destroying the remains of our technological history! :)

    Blockwars: a realtime multiplayer game similiar to Tetris.

    --
    "They do not preach that their god will rouse them, a little before the Nuts work loose." Kipling, 'The Sons of Martha'
    1. Re:Ohh That Poor Commodore by WWWWolf · · Score: 3, Informative

      The last time the c64 web server was noted in Slashdot, it survived a *long* time. I remembered people posting, puzzledly, stuff like "jesus christ, article has been here for hours and that thing is still up?" =)

      ...and it's up right now! uIP stack rules. Long live 6510!

  14. Use SLIP for now by yerricde · · Score: 3, Interesting

    There's no PPP yet folks

    Some dial-up Internet access providers still support SLIP (serial line IP), the protocol that PPP largely replaced.

    --
    Will I retire or break 10K?
  15. At last by kinnell · · Score: 5, Funny

    The Commodore 64 market has been screaming for an up to date operating system and web browser for decades. This should breathe new life into a sector which has been seen by many as obsolete, and may well trigger a renaissance in C64 development and application support.

    --
    If I seem short sighted, it is because I stand on the shoulders of midgets
  16. Re:Thats something! by Jim+the+Bad · · Score: 5, Funny
    commie emulator

    You mean a version of Eliza that says things like "Comrades, we must seize the means of production!" and "Down with Capitalism!"

    Sorry, I'll get me coat...

    --
    -- And when Justice is gone, there is always... Force. --Laurie Anderson, "Oh Superman"
  17. Pushing the limits by Pastey · · Score: 5, Informative

    Kudos to these guys. My first thoughts after, "No freakin' way!" were, "How the heck did they get ethernet and a C64 together?"

    I figured it was some sort of butt-slow serial hack, but instead they designed their own C64 ethernet cartridge! Nicely done.


    Come to think of it, weren't these the same guys we saw a while back here on /. that had some sort of odd C64 hybrid that streamed audio?

  18. Server is slow... FAQ and tech by Anonymous Coward · · Score: 4, Informative

    What is Contiki and what is it good for?
    Contiki is an Internet-enabled operating system and desktop environment for a number of smallish systems such as the 8-bit Commodore 64. In short, Contiki is the software needed to access the Internet and browse the web. What makes Contiki special is that it makes it possible to do this even from really constrained systems, which previously have been belived to be too small to be able to run this kind of software.

    Is this about retro or nostalgia?
    No. This is not about playing old games to revive childhood memories. It is about pushing the limits and doing things previously thought impossible.

    What do I need to run Contiki?
    A standard system to which Contiki is ported. In general, there are no expansion boards, CPU accelerators or extra memory cards required, not even a disk drive. An RS-232 (serial) card or Ethernet connection is required for Internet connectivity, however.

    The typical system requirements for the Contiki system is about 20 kilobytes of RAM for the base functionality and about 50 kilobytes for full functionality (desktop icons, web browser, web server, etc.)

    Do I need to upgrade my system to run Contiki?
    No. Contiki is designed to work with unexpanded systems, so there is no need for megabytes of RAM or main board upgrades.

    Does Contiki require megabytes of memory, or 16-bit CPU accellerator upgrades?
    No, in general, Contiki does not require any upgrades, accelerators or expansion kits.

    Does Contiki need assistance of a powerful server to reach the Internet?
    No. Contiki does not require assistance of a powerful PC or *nix server to use the Internet. Everything (TCP/IP, HTTP, HTML, etc.) is done by Contiki on the 8-bit system.

    Is the Contiki web browser really the first browser for 8-bit systems?
    Yes. While there are other programs such as the HyperLink hyper-text document viewer that allow an 8-bit system to browse the web, these programs require a powerful *nix server to translate the Internet content to a simpler format that the 8-bit system understands.Contiki does not require assistance of a powerful server, but is fully self-contained.

    There are also web browsers that claim to run on 8-bit system, but in reality require radically more powerful 16-bit CPUs and megabytes of memory. The Wave is such a browser.

    Is it possible to use Contiki with a modem and a dial-up Internet account? Does Contiki support PPP?
    Lawrence Chitty is currently working on PPP support for Contiki.

    Is it possible to use Contiki with a broadband or DSL connection?
    Yes, if you have an Ethernet card for your system, it is possible to use Contiki with a broadband or DSL connection.

    Does Contiki support pre-emptive multitasking?
    No, Contiki does cooperative multitasking. The reason for not supporting pre-emptive multitasking is that it would unnecessarily increase the complexity not only of the operating system, but also of the applications that would run under it. Pre-emptive multitasking is primarily useful in general purpose multiuser operating systems such as *nix, or in real-time systems where response time is critial. Contiki does not fit in either of those categories.

    Where does the name "Contiki" come from?
    The name "Contiki" is taken from Thor Heyerdahl's famous Kon-Tiki raft. Kon-Tiki was built using prehistoric techniques in order to prove that ancient Polynesians actually were able to sail from South America to the Polynesian islands. Similarly, Contiki runs on prehistoric computers, yet it is able to do much of a modern PC usually does.

    Are there any other uses for Contiki?
    The small size of Contiki could make it useful in small networked systems which are required to be very inexpensive. Such a system could be comprised of a low-cost, low-power, 8-bit microcontroller like an AVR, an Ethernet chip such as the CS8900a, an LCD display and three touch buttons - perhaps something similar to the Mosaic Industries EtherSmart Controller. Contiki would make it possible to surf the web from a device with only a small low-cost 8-bit microcontroller, without needing to use an expensive 32-bit CPU.

    Contiki would not make a good environment for an end-user device such as a handheld PDA or a mobile GSM phone, however, as it don't have the kind of features expected from a web browsing environment of today. There is no Java, no Flash, and it even lacks support for images. Most modern handhelds, PDAs and mobile phones have quite a lot of computing power; many of them are even able to run a graphical version of Linux. For systems of that size, there are better environments than Contiki available.

    At the heart of the Contiki desktop environment is the event driven Contiki kernel. Using non-preemptive multitasking, the Contiki event kernel makes it possible to run several programs in parallel. It also provides message passing mechanisms and timers to the running programs.

    Processes
    In the Contiki event kernel, a process is defined by three entities: the initialization function, the event handler and the idle loop. The idle loop is optional and is called repeatedly whenever the system has nothing else to do (i.e., when no events occur and no timers are scheduled). The event handler is called when an event occurs. The initialization function is used to initialize the program and to register to which events the process is listening. A process the does not have an idle loop must listen to at least one event, or else the process will never be scheduled and will therefore not ever run again.

    Events
    Events can be emitted by all processes and can be directed either towards a particular process, or towards all processes. If the processes are listening for the event, the event handler function will be invoked for each process. An emitted event is accompanied with a pointer that can be used for message passing between processes.

    Timers
    Timers are implemented using events; each event can be scheduled to occur at a given time in the future. The Contiki event kernel will emit the event when the timer goes off. Because the Contiki event kernel never preempts a running process, there are no guarantees about the time-out times.

    Examples
    The figure the left is an illustration of how the Contiki event kernel works. There are four processes in the system and when the system starts, each process' initialization function (here called init()) is called. After the initialization in done, no events are scheduled, so the idle functions of the processes are being run. Only process 2 implements an idle function, and it will be called repeatedly until event 1 is emitted. Processes 1 and 3 have registered a listener for event 1, and each process' event handler function is invoked in response to the event being emitted. Both event handler functions run to completion, after which no events are scheduled so the idle loop is run until event 2 is emitted some time later. Process 4 has registered a listener for this event, so its event handler function is invoked.

    As a more concrete example of how the Contiki event kernel works, consider the Contiki desktop environment. Here, there are several processes running: the GUI and windowing system (i.e., the CTK toolkit), the TCP/IP stack, and all of the programs such as the web browser and e-mail client. Both CTK and the TCP/IP stack implements idle functions, whereas the other processes only implements event handlers. The CTK idle function checks for keypresses and TCP/IP stack's idle function polls the network device driver for incoming packets.

    The Contiki Tool-Kit (CTK) provides graphical user interface primitives such as windows, dialog boxes, buttons and text editing to Contiki and its programs. CTK is designed to be highly modularized which makes it possible to change the appearence of it in a lot of ways and to adapt it to many platforms.

    Frontends and themes
    CTK is divided into two separate modules; the CTK backend, which handles how the user interacts with the windows, buttons, menus, etc., and the CTK frontend which draws the windows onto the screen and grabs keypresses from the user. It is this division that makes CTK portable.

    It is also possible to create different CTK looks, themes, by changing the CTK frontend. Currently, there are three CTK themes:

    ctk-conio
    The textbased "base" theme of CTK. It is designed to be extremely portable; in order to port it to new platforms, it is sufficient to implement as few as three C functions.

    ctk-eyecandy
    A modern looking grayish theme with squared buttons and windows, and a vertical gradient background. Only runs on the Commodore 64 version of Contiki and was the first graphical theme to be implemented.

    ctk-blueround
    A blueish theme with rounded buttons and window borders for the Commodore 64.

    Windows
    Similar to most other desktop GUI systems, windows are central to the design of CTK. Windows are the container of all other user interface elements. In CTK, windows can be moved and closed, but they cannot be resized or iconified. The visible windows form a hierarchy where the bottom windows are overlapped by the front windows. The frontmost window receives the user input and is usually drawn in another color than the back windows.

    Dialogs
    Dialogs are a special kind of windows that do not have a normal window border, and are always on top of the other windows, and focused. Dialogs always appear at the center of the screen and cannot be moved around.

    Menus
    The CTK menus are similar to the Mac OS ones in that there is only one menubar and not one menubar per application. The default configuration is to have the menu bar at the top of the screen (like Mac OS), but since this it up to the actual frontend implementation, it could very well be drawn at the bottom of the screen.

    Widgets
    Like most GUI toolkits, CTK uses user interface widgets to manage the user interface. There are six widget types in CTK: separators, labels, buttons, hyperlinks, text entry widgets and icons.

    Separators

    Separators are passive widgets that only serves the single purpose of separating widgets from each other. Separators have a configurable width, but always has a height of one.

    Labels

    The CTK label widget is a passive widget that displays text. Both height and width are settable.

    Buttons

    CTK buttons are active widgets that, when pressed, emit a ctk_signal_button_pressed signal to the process that created the button.

    Hyperlinks

    CTK hyperlinks are active widgets that emit a ctk_signal_hyperlink_active signal when pressed and a ctk_signal_hyperlink_hover signal when they are selected. The signals are sent to all processes that are listening for the signal. This makes it possible for both the web browser process and the e-mail client process to listen for hyperlinks, and the e-mail process can choose to handle mailto: links, whereas the web browser handles hyperlinks starting with http://. The ctk_signal_hyperlink_hover signal lets the web browser change the status bar message when a hyperlink is selected.

    Text entries

    The CTK textentry widget is an active widget that is the primary text input method of CTK. The text that the text entry widget edits may be wider than the actual width of the widget, and the widget will scroll the text when the cursor moves off the right of the widget. The text entry widget can be multiple characters high.

    Icons

    The primary use of the CTK icon widget is to have desktop icons. When pressed, the CTK icon widget emits the ctk_signal_button_pressed signal.

    The Contiki desktop environment uses version 0.9 of the uIP TCP/IP stack to provide Internet communication. uIP is designed to allow limited systems to enjoy full TCP/IP communication.

    uIP provides the following protocols:

    ARP (IP address to Ethernet MAC address protocol)
    SLIP (Serial Line IP)
    IP (fragment reassembly turned off for Contiki)

    ICMP echo (ping)
    Unicast UDP
    TCP

    In addition to the above protocols, a PPP implementation is currently being developed by Lawrence Chitty.

    DNS - Domain Name System
    In order to run the web browser, Contiki must implement the DNS protocol. DNS maps host names (like www.google.com) into a numerical IP address (like 216.239.51.101) by using a globally distributed database.

    The DNS client in Contiki has a cache of hostname and IP address pairs so that a DNS lookup will not have to be made each time a Contiki program asks for an IP address. The size of the cache is configured at compile time and typically is about 10 entries large.

    The DNS client implementation is not very heavily tested andmay fail with certain DNS names.

    More information
    For more information about the uIP TCP/IP stack, see the uIP homepage at: http://dunkels.com/adam/uip/.

  19. NES Install? by jmt9581 · · Score: 5, Interesting

    How the heck do you get a new operating system onto a gaming console like the NES?

    Are the game controller ports used as serial ports?

    Do you use a specially made cartridge?

    --

    My blog

    1. Re:NES Install? by Jon+Abbott · · Score: 4, Informative

      I believe it is accomplished by having an EEPROM cartridge in the NES that is also connected to a PC via a ribbon to the RS232 (parallel) port. With special software I imagine it would be possible to just erase and rewrite the EEPROM to store the latest version of what you want to play or run. I can't seem to find any information on Google for this, though...

  20. Contiki programs by Anonymous Coward · · Score: 3, Informative

    The Contiki screen saver is started when there has been no user input for a configurable amount of time, usually for five minutes. The screen saver is part of the architecture specific files for Contiki and there currently only is a screen saver for the Commodore 64 version.

    The Commodore 64 screen saver shows two small pillars of fire at the left and right edges of the screen. The fires are drawn using 8x8 pixel blocks, colored in firery colors (red, yellow and white). The screen shots below gives an idea of how it looks, but the fires of course look better when actually running.

    The Contiki web browser is not only the world's first true web browser for 8-bit systems, but also the smallest browser available and sets a new record for the oldest computer ever to browse the world wide web.

    The Contiki web browser contains the essentials of what's needed to browse the web. It does DNS lookups, talks HTTP (over TCP/IP) to fetch web pages over the Internet and renders HTML pages with text, hyperlinks and forms. There is currently no support for pictures or JavaScript.

    Smallest
    Regular web browsers require several megabytes of RAM and disk space. The Contiki web browser only needs a few kilobytes of RAM and no disk at all. With a code footprint of 9 kilobytes and with a total of only 4 kilobytes of RAM required, it might very well be the world's smallest web browser.

    Oldest
    The Contiki web browser is probably the first web browser ever to run on an over 20 years old computer system - the Commodore 64 is from 1982. (This record will be broken when some of the other ports are ready.)

    First
    While it has been possible for some time to use an 8-bit platform for web browsing, previous browser-type programs for 8-bit platforms have required assistance of special programs running on much more powerful Unix or PC servers to be able to reach the Internet and display web pages. This is how Cameron Kaiser's C64 HyperLink hyper-text document viewer, the Uzix FudeBrowZer for MSX, and the VIC 20 WAP browser work. Other browsers have claimed to be running on 8-bit platforms, while in reality they require much more powerful 16-bit CPUs and more memory than most 8-bit systems can handle. The Wave is an example of such a browser.

    The Contiki web browser does not need any special proxy programs or Unix servers. Instead, it connects directly to the Internet, downloads and displays web pages and provide a user interface, without extra software or special power-servers. It is therefore the world's first true web browser for an 8-bit system.

    User agent string
    If you see something like the following in your web server logs, you know you've had a visitation from the Contiki web browser:

    User-Agent: Contiki/1.0 (Commodore 64; http://dunkels.com/adam/contiki/)
    Ideas for the future
    In the current version, the main limiting factor is the memory usage. By optimizing the web browser code and introducing loadable program modules, more memory will be made available for feature enhancements. Some of the possible future features are:

    Buffering for faster scrolling. The current version of the Contiki browser does not buffer the downloaded web pages. Instead, it parses the HTML on-the-fly and only stores what's actually shown on the screen. This means that in order to scroll down a page, the page has to be downloaded from the web server again. By buffering a larger part of the web page, scrolling could be made radically faster. Adding support for this will be straightforward as the current architecture already is designed for this extension.

    File and full disk downloads. Being able to directly download files from the Internet down to a C64 disk or tape would be a very nice feature to have. Also, the ability to directly download a full D64 image to a C64 disk would be a nice way to get new software and demos for the C64. Since latest version of cc65 now supports file I/O, this feature could probably be quite easily added.

    Improved forms support. Currently, only forms with a GET action is supported, and only the input types submit, text and image.

    Tabbed browsing. Starting with Mozilla and Galeon, many modern browsers have started using a feature known as tabbed browsing. With tabbed browsing, multiple browser sessions can be kept in parallel and accessed using special buttons at the top of the browser window. Adding tabbed browsing to the Contiki web browser will probably require a more sophisticated memory management on the Contiki web browser's part as well as more RAM, but should otherwise pose no fundamental problems.

    Viewing JPEG images. The amazing JPX/Juddpeg C64 JPEG viewer by Adrian Gonzalez and Steve Judd shows that it is possible to render JPEG images on a C64. Their code could perhaps be incorporated into the Contiki browser which would facilitate viewing inline JPEG images in the web pages. The main problems with JPEG decoding is that it probably requires a lot of CPU cycles, and might use too much memory to be possible to incorporate in the Contiki browser.

    Viewing GIF images. There are several GIF viewers available for the Commodore 64, and it might similarly be possible to integrate one of these into the Contiki browser. GIF image decoding should be less CPU intensive than JPEG decoding, and uses less memory since it does not require as much memory for tables as JPEG decoding.

    SID player plugin. Downloading SID tunes to listen to while browsing should be possible. By reserving the memory between $1000 and $2000, a lot of SID tunes could be used.

    Flash plugin. Olivier Debon's Flash player is quite small - only about 9k when compiled for the x86 - so it just might be possible to port it to the C64.

    Java virtual machine for running Java applets. While this idea is more far fetched than the above ones, it should be noted that Brian Bagnall actually is working on porting/implementing a Java virtual machine for the C64.

    The Contiki personal web server provides a convenient way to transfer files from Contiki to any other computer over the Internet. The web server currently only works with the Ethernet-equipped Commodore 64.

    The web server works by sending a full C64 disk image as a D64 disk image over the Internet. The D64 disk image can be downloaded using a regular web browser. Future versions of the web server will make it possible to download selected files and read the directory over the Internet.

    The Contiki telnet client is intended to make it possible to do text-based remote logins to Unix servers from Contiki. It is currently under development and when finished, the Contiki telnet client will implement a VT100 compatible terminal which will allow screen based programs such as vi and emacs to be run from Contiki.

    Currently, the Contiki telnet client only is good for doing other stuff than actually running telnet. It can be used as a poor man's e-mail program, for instance.

    Or it can be used to read and post Usenet news.

    HTTP and HTML purists can even use it as a very simple web browser.

    Apart from the two applications that come with Contiki 1.0 (the web browser, the web server and the telnet client), there are a few applications under development:

    An e-mail program.

    An IRC client.
    More applications are expected to be developed.

    The Contiki e-mail program will eventually support reading and sending e-mail from Contiki. It currently is possible to send mails, but getting incoming e-mails have not yet been implemented.

    The Contiki e-mail program first will need to be configured with identifying information and the names of the e-mail servers that will be used for sending and receiving e-mail.

    Once configured, one can start typing in short e-mails.

    Of course, we don't want to accidentally erase the message we spent so much time typing in. As can be seen from the screen shot, the program isnt bug free yet (where is that "No" button?).

    '
    And off we go! The e-mail is converted from the Commodore PETSCII encoding into regular ASCII before sending, hence the captialized text in the mail.

  21. Darn... by CoolVibe · · Score: 4, Funny
    Where was this stuff 10 years ago? I wouldn't have dumped my c64 for that stupid x86 hardware. *sigh*

    Seriously, this is very cool stuff. I might dig up my old CBM from the attic to play with this. Now only to be able to hook my oceanic 1541 drive to my PC or my Mac somehow. Or are there ways to simulate a c64 disk drive from a PC with a resoldered C64 disk cable?

    How _does_ one transfer software from PC to a real hardware C64 nowadays? Can some people in the know drop some pointers to FAQ's and links?

    1. Re:Darn... by mkro · · Score: 2, Informative

      Introducing... The Catweasel MK3.

      This beauty will let you:
      • Read and write 1100 disk formats. Okay, we'll take that one with a grain of salt, but still, if it only can read C64, Amiga and Atari disks, it's more than enough for me. That still can't be done with a software-only solution.
      • Use the original SID chip for listening to C64 music - dunno if support is implemented in any emulators yet.
      • Connect original C64/Amiga/Atari joysticks! Zipstick! Yay!

      Another cool feature is that the same card can be connected to the PCI bus, Amiga's Zorro bus OR the Amiga 1200's clock port. Three different connectors on the same card. Leet? ;)

      How much? 84,90 EUR. That's less than $95.
      Now, tell me you don't want one :)
      --
      I shall go and tell the indestructible man that someone plans to murder him.
  22. Sinclair Spectrum Contiki Developer Wanted! by erinacht · · Score: 4, Funny

    Please some clever person with no value on their time: Make a version for the spectrum, the world needs this! The speccy is a (modified) Z80, so is the NES (as I remember) - it should be possible and possibly quite easy that would be so cool! Web browsing on a rubber keyboard, those fancy CBM machines are almost "real" computers by comparison

  23. Contiki Links by Anonymous Coward · · Score: 4, Informative
    Contiki Links

    URL: http://dunkels.com/adam/contiki/links.html

    System information and emulators

    Commodore 64/128

    The Commodore 64 is based on the 6510 CPU, which is a 6502-derived 8-bit CPU. It has 64k of RAM and 16k ROM which includes a BASIC interpreter and some basic I/O services. Graphics is provided by the VIC chip which has 16 colors and a maximum resolution of 320x200 in hi-res mode. It provides a 40x25 raster of characters in character mode. The three voices of digital sound is produced by the SID chip.

    The Commodore 128 is an extended version of the Commodore 64 that contains a 8510 CPU which is capable of 2 MHz operation and can address 128k RAM (hence the name Commodore 128). It also has a Commodore 64 compatibility mode which is extremely similar to a regular C64 but with a few minor differences.

    SuperCPU

    The SuperCPU is a 20 MHz 16-bit 65816-based computer that is plugged into the back of the Commodore 64 or 128. It uses the C64 keyboard and joysticks for input and the VIC and SID chips for audiovisual output. The SuperCPU is capable of addressing several megabytes of memory and is usually used together with a 16 megabytes RAM expansion board.

    There are no SuperCPU emulators avaliable.

    Links
    • The VICE emulator is capable of emulating a large number of Commodore machines. It emulates the C64, the C128, the VIC20, most of the PET models, and the CBM-II. VICE runs under Windows, Linux, FreeBSD, and a number of other host systems.
    • Joakim Eriksson's Web C64 emulator, written in Java, runs as an applet within a web browser.
    • Per Håkan Sundell's CCS64 emulator works under Windows and DOS.
    • The ec64 emulator is developed for Linux and was originally written entirely in x86 assembler.
    • An article by Simon N Goodwin about C64 emulators.
    • The Commodore emulators category in the Dmoz has more links.
    Operating systems and desktop environments

    Commodore 64/128

    There are plenty of alternative operating systems for the C64, mostly written in 6502 assembler. Some of them are far from complete, however, and only appear as dark shadows on a few web pages - MagerValp's SMOS and my own osT are among those.

    • GEOS from 1986 probably is the most well-known graphical operating system for the C64. It is still sold commercially by CMDKEY.com.
    • LUnix NG is an open-source multi-tasking operating system with TCP/IP/PPP-support, a *nix-like command shell, and a number of *nix-like utilities such as ls and cp.
    • Craig Bruce's ACE is a text-based single-tasking operating system for the 64 and the 128. It provides a *nix-like command shell, a text-editor, a terminal program for the SwiftLink RS232 interface, as well as device drivers for a lot of devices
    • GeckOS/A65 is a multi-tasking operating system with TCP/IP support and a *nix-like command shell.
    • Wheels is a version of GEOS that requires RAM expansion to run.
    SuperCPU

    With its 20 MHz and megabytes of memory, the SuperCPU is powerful enough to run fully-fledged graphical operating systems that rival early Machintosh or Microsoft Windows systems.

    • Wings is a TCP/IP-enabled graphical operating system for the SuperCPU. It includes a MOD music player, JPEG viewer, web page download utility, etc.
    • JOS is an older version of Wings.
    Internet software

    TCP/IP and PPP connectivity

    To surf the web, send or read email, etc., the first step is to actually get in touch with the Internet. This requires both physical access to an ISP, either via a modem and a phone-line or an Ethernet broadband connection, and the TCP/IP software running on the C64.

    There are a number of programs that make it possible to reach the Internet with a C64/C128.

    • LUnix NG contains a TCP/IP stack and a PPP implementation which makes it possible to reach the Internet using a modem and a dial-up ISP.
    • GeckOS/A65 also contains a TCP/IP stack, but no PPP dialer.
    • My own uIP TCP/IP stack has been used for some time to run a web server on a Commodore 64. uIP currently does not include a PPP dialer.
    • Novaterm 10 contains a PPP dialer and enough TCP/IP code to be able to run telnet over the Internet.
    Application programs

    SuperCPU

    All of the above mentioned SuperCPU operating systems have TCP/IP support.

    • The Wave is a web browser for the SuperCPU (and not for the Commodore 64/128 as the web page claims) that runs under the Wheels operating systems. Here is another page with information about The Wave (that also falsely claims that The Wave is for the Commodore 64/128). The latter page also includes screenshots of The Wave in action.
    Commodore 64/128

    Small graphical user-interfaces (GUIs)

    User interfaces for embedded systems range from the simple buttons on the front of a washing machine to those of fully fledged web browser type interfaces on information stations. The underlying technology varies from simple electronic circuits to full-scale PC compatibles.

    • PicoGUI is a GUI architecture designed for embedded systems to desktop machines. It does not require any supporting GUI system and can be used on anything from graphical screens to text based systems. Their smallest target system are handheld terminals and the compiled object code size is on the order of hundreds of kilobytes.
    • Microwindows/NanoGUI is a graphical user interface system designed to run without support from an underlying system. On 16-bit systems Microwindows is about 64k large.
    Small web browsers

    The smallest web browsers are usually specially designed for the limitations of embedded systems and other specialized computers such as car navigation systems, set-top boxes and medical equipment. There are also a few small web browsers for old DOS PCs available.

    • Interniche's NicheView Portable Embedded Web Browser is probably the smallest full-featured web browser around with its 35 kilobytes code footprint. There is also an additional JavaScript module available.
    • AU-systems' AU Mobile Internet Browser supports both HTML/TCP/IP and WML/WAP as well as SSL. It occupies 340 kilobytes of code (plus an additional 190 kilobytes for the protocol stacks) and uses 5 kilobytes of RAM when idle (plus 8 kilobytes used by the protocol stacks). Extra RAM is used when downloading web pages.
    • The Fusion WebPilot Embedded Micro-Browser supports much of the features found in modern web browsers including frames, authentication, and JavaScript. The web page does not specify memory footprint.
    • MicroDigial's Graphical MicroBrowser supports tables, frames, images as well as FTP as uses 260 kilobytes of code memory and requires a minimum of 210 kilobytes of RAM apart from that. A demo version is available.
    • The 2net Alice Web Browser is intended for handheld computers and PC based architectures and requires 400 kilobyte of free RAM and 200 kilobytes of code memory. It includes a TCP/IP stack.
    • WebBoy is a fully-fledged browser with SSL support intended for 386 DOS boxes with more than 4 megabytes of memory. Includes a TCP/IP stack.
    • The Arachne web browser runs under MS-DOS or Linux and requires at least 1 megabyte of memory. Does not include a TCP/IP/PPP stack.
    • Lynx is probably the most well-known text-based web browser around. It is ported to many different operating systems and architectures including MS-DOS.
    • The Off by One Web Browser has been labeled as the smallest web browser ever, but is quite large in comparison with other small web browsers. It is 1.1 megabytes large and requires support from an underlying Windows operating system.
    • Mirko Sobe's BOSS-X HTML browser for 8-bit Ataris is not a full web browser, but an off-line HTML viewer with hyperlinking abilities written in three days.
    • The pre-alpha v0.3 GEMWeb browser supports 640x480x16 VGA.
    • The Atari Phoenix Web Browser is a non-existant vapor-ware web browser project intended for the 8-bit Ataris.
  24. This was released WAY back by siliconeyes · · Score: 4, Funny

    You guys are so behind times man! Katz's buddy Junis from Afghanistan was beta testing this a year back!

  25. Death Match ahoy! by joshsnow · · Score: 4, Funny

    Excellent! Now I can play Monty on the Run and Sanxion in Death Match mode..

  26. An amazing project. by Lethyos · · Score: 4, Insightful

    Although the focus of this project is not the technology itself I think. This guy has proven to any employeer he will ever approach that he has superior skills when it comes to programming under tight constraints. Enjoy working in the embedded systems industry (and making money hand-over-fist doing it)!

    What else is interesting about this is that it goes to show how foolish and blind nearly the entire computer industry is when it comes to technology advances. People can't upgrade to a 10GHz processor fast enough, when all they need to do is check their email. Companies are constantly wasting servers and replacing them with newer models. This is not necessary. Today's software is written so poorly that super high-end hardware is needed to make up for lazy/poor programmers. Look at what these ancient systems can do. That "old" PIII or PII or K6 sitting on your desk is a power house. What's the problem? The software you're running on it is likely to be wasting 75% of the CPU cycles it eats.

    It's a shame there aren't more developers or at least software architects out there with this guy's talent. We'd all be saving a hell of a lot of money I think. Then again, hardware prices would increase in proportion to its long-term value. Then again, there's a lot of savings in many ways (largely environmental -- less junk being dumped into the wild at the beginning and end of a computer's life cycle). Of course, I wonder if most of the blame goes to businesses just trying to get software out the door as soon as possible without stopping to think about good design (in all senses).

    --
    Why bother.
    1. Re:An amazing project. by trash+eighty · · Score: 4, Interesting
      Today's software is written so poorly that super high-end hardware is needed to make up for lazy/poor programmers.


      the problem today compared to back when all code had to be small, tight and efficient is that there is a much greater demand for programming. the actual number of good, top flight coders is always going to be small as it was back then but these days you have a lot more code that needs to be churned out so a lot of it gets done by journeymen programmers (and i include myself in that)

    2. Re:An amazing project. by TheRaven64 · · Score: 4, Interesting
      That "old" PIII or PII or K6 sitting on your desk is a power house. What's the problem? The software you're running on it is likely to be wasting 75% of the CPU cycles it eats.

      How true. A couple of years ago I was given some code to review, written by an 'experienced' (i.e. paid more than me) programmer. I tryed to run it on a ppro 200, which was just painful. After about an hour of hacking it I'd got the CPU utilisation down to <60%. By the end of the day I had got it down to <20%. After that I came to the conclusion that coders should not be allowed fast machines for testing. You may need a powerful workstation for compiling (although with incremental compiling and good code this is debatable) but testing on a fast machine really does encourage bad code.

      It was quite entertaining watching this guy's reaction when he read my changes to his code. 'How does that work? ... That wouldn't work! ... Oh. ... Hmmm ... Wow.' Almost as good as the expression on my project manager's face when I pointed out that they'd missed out the standard IP clause from my contract, an observation that was quickly followed by an offer of sponsorship.

      --
      I am TheRaven on Soylent News
    3. Re:An amazing project. by evilviper · · Score: 2, Insightful
      What else is interesting about this is that it goes to show how foolish and blind nearly the entire computer industry is when it comes to technology advances.

      Uh, no, I'd say Opera is a much better demonstration of that fact... Mozilla and IE are how big?!!!

      It's not secret that modern programmers waste huge ammounts of performance. Just look at KDE. However, that doesn't mean you have to use what is commonly being churned out.

      I am an OpenBSD user myself, the OS performs amazingly, and is very very small. I could fit the OS and all the programs I use in 512MB... (OpenBSD, OpenBox WM, GIMP, MPlayer, Web Browser). The only place things get hairy is with the web browser. Opera is nice, but I despise it's horrible UI, and no fast browsers have even the basice features I need, so I typically use Mozilla or Konqueror, which would be a bit slow on a 100MHz PC. If the Dillo developers just add a few more features, and improve stability, we'd have a good web browser too. Then again, Konq-embedded works fairly well if you are willing to give up on those minor features, like printing, multiple windows, folders to organize bookmarks, etc.

      Since the OS, and the programs I use are very quick, I would be happy with a 100MHz machine with a 512MB hard drive. With soft updates, I could do just fine with an old 4500RPM hard drive a well.

      --

      Now, ignorng the unfortunate browser situation (since it will likely improve), there is just one problem... Multimedia. No matter how great you are at programming, you can only get so much performance out of a 100MHz CPU. Playback has some reasonably modest requirements (I can play downscaled, downsampled DivX video on my 106MHz handheld), but encoding is the big problem. Even if every program you use is incredibly fast, you still need to get a fast damn processor to encode multimedia at reasonable speeds, and large storage to save it.

      So, although everything else would be fine on a 100MHz system, I still have to have a 750MHz Athlon (which oddly enough runs mencoder as fast as my 1.2GHz P3 Celeron in my notebook) to encode video. For other people, video games are their poison, and since they need such a fast system to run their games, they don't care that Windows XP is eating up such a huge ammount of their CPU, RAM, and HDD.

      My point is just that so many people just don't care about the requirements, that it is more cost effective to make an ineffecient program. Unfortunately, many people who don't play games, or encode multimedia, want to use these ineffecient programs, and so they have no choice but to jump on the upgrade bandwagon as well. At least, that's the current state of affairs.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    4. Re:An amazing project. by theperplepigg · · Score: 2, Insightful
      If cars, alarm clocks, chairs, buildings and so forth were all built with the same principles, we'd all be dead, late, dead, and more dead.

      I understand the cars, alarm clocks, and buildings. But exactly how buggy would a chair have to be to kill someone??

      More on topic, I think that many people are taught the "just get it done" thing even in college. Granted, the teachers might not actually teach that way on purpose, but most comp scis I know have at least once pulled an allnighter to finish a program the night before it is due. In that circumstance, it is not always so much "Does it work?" as "Does it appear to work?" A TA or professor might have a cheap little script to test the main functionality of the program, but it usually doesn't test limits and bounderies very much. With so many of us leaving college with this mentality (and not just us programmers, either) It's easy to see why such a problem is so prevalent. Of course, as with everything, there are always a handful who never partied in college (even us geeks party!) and actually leave with all the information they were given to become really good coders. And while the rest of us may include quite a few good coders, too, the fact is that the slacker mentality will probably still be present in the workplace, because we are "taught" that it works.

      --paul

      --
      -- Every time you kill a kitten, God masturbates.
  27. Truly artistic by XshadowstarX · · Score: 2, Insightful

    This is what I call making a point! The very concept of a multitasking OS and web browser/server on a C64 or ATARI is the greatest thing the coding community could do to show how much waste and politics has sucked itself into technology. Not only that, but this OS might even be portable to a watch-sized machine.

    --
    -ad105
    1. Re:Truly artistic by TheRaven64 · · Score: 2, Funny

      Agreed. I consider the lack of a decent web server to be one of the main failings of my watch...

      --
      I am TheRaven on Soylent News
  28. Windows and the VIC by spanky1 · · Score: 2, Funny

    The screen shots look a lot like Windows 1.x or 2.x... no proportional fonts, bright solid colors, etc. :)

    Also, I don't see how this would work on my VIC-20. I still remember when it's powered up it says "3583 bytes free". Not quite enough free space! I have an 8K expansion cart, but that still doesn't bring me up to the required amount of RAM.

  29. Re:duh by Trolling4Dollars · · Score: 2, Funny

    Based on my non-scientific calculations... The number of people that have said "Imagine a Beowulf Cluster of these!" has been said is so large that it approaches infinity. ie. it's a constantly growing number with no certain end, a lot like Pi. This is true especially since people are likely to be saying this for a long time to come. Given that assumption, it's fairly safe to say that a cluster of all those "idiots", as you put it, would be quite powerful. No matter what their level of intelligence, the sheer processing power would be pretty enormous! Infinitely enormous, in fact. With this in mind, I think what you have proposed is extremely dangerous. A few years ago on Slashdot this story suggested that as processing power increases, and CPU size decreases, CPUs generate more heat. The idea being that eventually a laptop could become a small sun, or even a black hole might apply to this cluster as well. That would be pretty damn scary! So, to the original poster above; Congrats dude. You've just suggested creating a device that could threaten the entire planet. Depending on which side of the fence I'm on, (I won't say which) you're a terrorist, or... a redeemer. As my friend Gordon would say, "Yup. The volcano for all of them (them being his enemies -ed.) as soon as I take over the world."

  30. The name is badly chosen by sameos · · Score: 2, Informative

    The Norwegian company "Norsk Data" made a computer in the 80's called "Kontiki", a Z-80 computer with an OS called "Tiki". Considering the vast number of people who loved this computer, it is confusing to have another OS named Contiki. Norsk Data also had to change the name of the computer to Tiki because of trademark problems. See for info on the original Kontiki computer.

  31. Jaw drops... by Jugalator · · Score: 4, Insightful

    All of the above is included in the self-contained Contiki binary, which is 42 kilobytes large and runs comfortably in 64 kilobytes of memory.

    Kernel, GUI, screen saver, TCP/IP stack, web server, telnet client and web browser in 42 KB? Wow... I suppose the TCP/IP stack is based on his uIP code that's around 5 KB large, using 500 bytes of RAM. =) And I like how the GUI is skinnable. =)

    Another cool part is of course that I've studied at the same university as him. hehe.. He was rather well-known there as a "decent" programmer. =) You know, those that writes a complex algorithm, compiles it once, and it works.

    --
    Beware: In C++, your friends can see your privates!
  32. Can I cluster my Atari's by Pedrito · · Score: 3, Funny

    Okay, well, I've got 6 Ataris (some 800xls, a 1200xl, and some 130xes). Let's see, if I cluster them together, I'd have a total of 6 * 1.79, 10.74mhz at my command. Don't get jealous guys. Wipe away the drool. That's right baby, I'm gonna be crunching some SETI@home units today...

  33. credit due by zuralin · · Score: 2, Insightful

    looks like the submitter just found this article on osnews and slightly re-worded it.

  34. Re:Written in C? by skwirl42 · · Score: 4, Informative

    It's using the cc65 compiler, available here. My TRS-80 CoCo 3 port will use gcc, however, since I took the time to look at some old work done on targeting the 6809 with gcc.

  35. Not the first C=64 browser by Asmodai · · Score: 3, Interesting

    In fact, Fairlight created the first browser for the Commodore 64:

    http://hem.passagen.se/harlekin/

    Look at FairligHTML. (1997!)

    --
    Jeroen Ruigrok/Asmodai
    1. Re:Not the first C=64 browser by GridPoint · · Score: 4, Informative

      That's not a full web browser, but a standalone HTML viewer that reads HTML pages from a disk and not from the Internet. The HTML viewer is only a small part of a full web browser. A real web browser must do a lot of other stuff as well: HTTP, TCP/IP, DNS lookups, etc. The Contiki web browser seems to do all that, so it is a real web browser and not just an HTML viewer (although an HTML viewer is part of the web browser).

  36. Re:Written in C? by Hayzeus · · Score: 3, Informative
    C is a horrible match for the 6502. This is a processor with a 256 byte stack and no stack frame support.

    It's not really C that you're referring to, it's the way most compilers use the stack.

    Actually, there are C compilers available for PIC microcontrollers (and similar devices) that are even more limited than the 6502: 8 byte hardware stack (not directly accessible from code), Harvard architecture, etc. These work quite nicely, although they can't use the stack for much, instead using and intelligently reusing registers for parameter passing and local variables. All of this requires call-tree analysis, which precludes recursion. But then you'd be insane to write recursive code on a machine with an 8-byte stack.

  37. Wow! by BinaryCodedDecimal · · Score: 3, Insightful

    Incredible, absolutely incredible.

    In this day of ever increasing memory and hardware demands for new software, it's nice to see that there are people out there still trying to do new stuff on old hardware.

    Old computers never die - They just get TCP/IP stacks written for them!

  38. The beauty of older video games by Multiple+Sanchez · · Score: 2, Insightful

    is that with strict hardware limitations, games could be designed entirely by one person -- or a small group of people -- so a more coherent artistic vision was possible.

    These days, with games being created by tens or hundreds of people, what you get is the median quality of everyone's artistry, and it's a lot harder to produce a unique or artful product.

    How beautiful to go back and play Crystal Castles coin-op, or Adventure on the Atari 2600, and really hear one person's unique voice.

  39. He would have sued... by KjetilK · · Score: 2, Interesting
    Actually, in the early 80-ties, a group of Norwegians started making Kon-tiki personal computers. A rather weird OS, but nevertheless, I can still remember the days where we only had Kon-tiki-machines in school. I think about 1987, Thor Heyerdahl successfully sued the makers of the Kon-tiki PCs for something. Perhaps trademark infringement or something. They then started to use the name "Tiki". For a few years, they continued making their own breed of PCs, before it pretty much collapsed and around 1990, they started doing IBM clones. I can remember the 20 MHz 386 SX boxes we had at school, about that time.

    In his older years, Heyerdahl also developed the rather obnoxious habit of threatening with lawsuits against anybody who might disagree with him. He was a big childhood hero of mine, but he pretty much ruined that with a threat directed at a website I edit.

    So, if he had lived, he would certainly have sued these people, and BTW, I should probably stop here, so that I don't risk a lawsuit myself.

    --
    Employee of Inrupt, Project Release Manager and Community Manager for Solid
  40. you'll need broadband to live with it... by Hubert_Shrump · · Score: 2, Insightful

    because it renders the HTML on the fly, without caching.

    so, to scroll a page, it has to reload the page and rerender it.

    being on 56k is bad enough. i like to forget what 300 baud was like. *shudder*

    --
    Keep your packets off my GNU/Girlfriend!
  41. Re:No PPP and maybe no ethernet by frovingslosh · · Score: 2, Interesting

    It looks like there may only be 1 ethernet adapter in the world for the C64 too. Found the info on their site for it, but they use an "embedded controler" from someone else and their own "glue logic" and the link to the embedded controler site returns nothing readable. (And the only one they have was apparently taken off an on-line C64 so they could use it for something else). Unless there is software compatable ethernet hardware for the C64, this is pretty useless. With ethernet I wouldn't mind playing with it, but there's not enough information provided to let one duplicate their ethernet interface.

    --
    I'm an American. I love this country and the freedoms that we used to have.
  42. Re:DRAT! by skwirl42 · · Score: 2, Insightful

    The Coco 3 has a factory amount of 128k RAM... are you sure it's a III and not a II?

  43. Wow! by Junior+J.+Junior+III · · Score: 2, Funny

    I'd say with the advent of this new operating system, this would be a great time to buy stock in Atari or Commodore. Once news of this hits Wall Street, there's sure to be a surge in the market.

    --
    You see? You see? Your stupid minds! Stupid! Stupid!
  44. Ataris and such... by The+Lynxpro · · Score: 2, Interesting

    Why did they create another GUI for the C-64? The C64 and other 8bits had the third party GEOS around 1987.
    As for the Atari 8bits, I could see a way to hook up an RJ-45 cable rather easily. You'd just need a dongle or something that would connect the ethernet to the SIO port. After all, the SIO port was the forerunner to USB....and created by the very same engineer!
    The Atari Jaguar would be an interesting port...ethernet via the Catbox adapter...

    --
    "Right now, somewhere in this world, Scott Baio is plowing a woman he doesn't love," - Peter Griffin, *Family Guy*
    1. Re:Ataris and such... by OzJimbob · · Score: 2, Insightful

      Why did Mozilla create another web browser? PCs have had the third party Mosaic since around 1993.

      Get the point?

      Never debase people for trying to build a better mouse trap.

      --
      -"I still believe in revolution; I just don't capitalize it anymore." - srini!
  45. Tight code? You wanna know what tight code is? by thehunger · · Score: 3, Interesting

    Way back when I was studying computer science, we had this book called "The Psychology of Computer Programming".

    It referred to a few legendary (back then) programming feats, including one about the guys at the Jet Propulsion Lab.

    They found they had 1/2/I forget which/ Kb of RAM left on the Pioneer/Voyager/I forget which/ spaceprobe they were writing the software for.
    So they wrote an image pattern recognition program that would study the atmosphere in jupiter/saturn/I forget which/ planet.

    Ok so I don't remember all the details but it sounded like really, really, REALLY tight code.

    ---
    You want a .sig? Here's a .sig for you: Take THAT! How's that for a .sig?

  46. C64 is NOT oldest system ever to run a web browser by Eric+Smith · · Score: 3, Insightful

    Not even close. People have run web browsers on PDP-11s. The PDP-11 was introduced twelve years before the Commodore 64. I suspect that people have run web browsers on computers even older than that.

  47. Re:DRAT! by skwirl42 · · Score: 2, Informative

    Actually, there was someone who managed an 8MB upgrade! 2MB is the max for the CoCo 3's built-in memory controller, the 8MB upgrade involved having new registers. :)

  48. Re:Written in C? by Hayzeus · · Score: 2, Insightful
    If it precludes recursion, then it's not C. Don't change the definition to suit your argument, because C is an international standard.

    First of all, your assertion that C is unsuited for 8-bit devices is simply wrong. C compilers are widely used in the embedded development world with extremely limited machines, and such compilers work very well indeed.

    As to what constitutes a 'C' complier, you're splitting hairs. If you like, then I'll concede the point that, yes indeed, a fully standards-compliant C compiler is indeed unsuitable for most 8-bit development.

    Using your reasoning,though, K&R C isn't really C either, since it isn't ANSI standard. A compiler that takes code which is recognizably C is C. Period. Not ANSI C or even standards compliant, granted, but C nonetheless. You know C? You know the hardware? Then you can use these compilers immediately.

    Having used both straight assembler and these same compilers pretty extensively on 8-bit platforms (68HC11, PIC and AVR in my case)I can assure you that they are entirely well-suited for their little respective corners of the embedded universe. Do they produce the highly portable code you might expect of a standards-compliant compiler? Of course not. But then neither would any other language suitable for use with these platforms -- and in any case, portability is the least of your concerns working on a microcontroller with 1024 bytes or less of program memory.