Live data from Hacker News

A 1982 Commodore 64 web server, 64k RAM, 1 MHz CPU, running Contiki

c64web.com

21–30 of 30 posts

Re: A 1982 Commodore 64 web server, 64k RAM, 1 MHz CPU, running Contiki

#21
Due to the 1541 Floppy drive taking four seconds to display a page and hit's coming in every second or so, It's not able to send a page before another is requested. The C64 is still up and once the demand lessens web pages will be displayed.

Shane. cbm8bit.com

Re: A 1982 Commodore 64 web server, 64k RAM, 1 MHz CPU, running Contiki

#22
Allow me to pimp my own small web server, built in 25k of RAM on top of the .NET Micro Framework. I put it in a robot so that I could control it from Safari on my iPhone. The web server serves a JS-heavy page which sends REST-like commands to the robot via Ajax.

Video: http://www.youtube.com/watch?v=DtornTFcIfk

Re: A 1982 Commodore 64 web server, 64k RAM, 1 MHz CPU, running Contiki

#23
post #15

I'm surprised that there isn't a league table of tiny web servers out there on the Internet. Surely there's a subculture out there who are crazy enough to make a hobby of eking the last little bit of performance out of a Z80, 6800 or 6502? Tightly optimised assembly loops and hand crafted packets competing for the glory of surviving for the longest under a Slashdotting...

It is tough for many hackers to get their hands on the machines you mention there, but I could see something like that taking off with all the Raspberry Pis that are being delivered as we speak.

The Pi is a veritable supercomputer when compared to, say, the Sinclair ZX81 - A handful of kilobytes of RAM max, ~3MHz Z80 chip...

There is a ZX81-based web server public on the web, I won't link it here for obvious reasons. (Search for "Siggis ZX81 web server" if you really wish to see it.)

Re: A 1982 Commodore 64 web server, 64k RAM, 1 MHz CPU, running Contiki

#24

Kids today forget that actually kids back the day ran BBSs with C64s which wasn't quite the internet but still pretty cool: http://blog.wfmu.org/freeform/2005/07/my_commodore_64.html I also have very fond memories of dialing up Quantum Link which eventually became AOL: http://en.wikipedia.org/wiki/Quantum_Link

The first real programming I did was writing games and mods for the Color64 BBS I ran when I was about 12. It was actually an interesting and modern design, I now realize...its main loop was in assembly while the apps and forum and other stuff was in BASIC, making it, effectively, a scriptable system (live scriptable, even, since you could change things on the running system). It was also a somewhat multi-user system…

I wrote a full VT/ANSI BBS client for the C64 using 6502 assembler and it was one of the fastest around. I never commercialised it, but it became something of an underground hit in the UK at the time.

The software was noteworthy because it ran in graphics mode with its own set of fonts and also (just about) managed to juggle printing AND still handling the serial comms, which was made super-difficult by the way port interrupts and I/O were handled on the C64.

Re: A 1982 Commodore 64 web server, 64k RAM, 1 MHz CPU, running Contiki

#25
post #9

IIRC, you got something like a 10%-20% speedup on the C64 by turning off the video. Wonder if this setup has support for that?

If my memory serves me well this worked only with the PAL version of the C64. Because the video chip (VIC) was so tightly coupled with the main processor and RAM, the video refresh rate determined clock speed. The PAL C64 was clocked at 0.98 MHz, the NTSC version was 1.25 MHz, so US C64's were faster per se.

If you had a PAL version you could switch between both frequencies with a switch soldered to some place on the board (or maybe it was the user port), but of course you then lost video output as long as the switch was in the NTSC position.

EDIT: Wikipedia says the NTSC version was only 1.023 MHz, so I remembered that number incorrectly. Maybe you were referring to another trick that would give you a 10%-20% speed increase?

Re: A 1982 Commodore 64 web server, 64k RAM, 1 MHz CPU, running Contiki

#26
post #16

Kids today forget that actually kids back the day ran BBSs with C64s which wasn't quite the internet but still pretty cool: http://blog.wfmu.org/freeform/2005/07/my_commodore_64.html I also have very fond memories of dialing up Quantum Link which eventually became AOL: http://en.wikipedia.org/wiki/Quantum_Link

This blurry image ( http://i53.tinypic.com/2janfrd.jpg ) from 1988 has some nostalgia. ($10 1988 dollars are about $18 2011 dollars.) Compuserve, charging $11 per hour, had "more than 250,000 subscribers". The Source, charging $8 per hour, was popular for its conferencing system "parti". Delphi, charging $6 per hour had a loyal but small (less than 10,000 users) following. BIX, $9 per hour, grew from a magazine. Nota…

Also notable is Quantum Link ($9.95/mo) - originally for the C64 and C128 - which later became America Online.

http://en.wikipedia.org/wiki/Quantum_Link

Re: A 1982 Commodore 64 web server, 64k RAM, 1 MHz CPU, running Contiki

#27
post #9

IIRC, you got something like a 10%-20% speedup on the C64 by turning off the video. Wonder if this setup has support for that?

If my memory serves me well this worked only with the PAL version of the C64. Because the video chip (VIC) was so tightly coupled with the main processor and RAM, the video refresh rate determined clock speed. The PAL C64 was clocked at 0.98 MHz, the NTSC version was 1.25 MHz, so US C64's were faster per se. If you had a PAL version you could switch between both frequencies with a switch soldered to some place on the…

[deleted]

Re: A 1982 Commodore 64 web server, 64k RAM, 1 MHz CPU, running Contiki

#28
post #9

IIRC, you got something like a 10%-20% speedup on the C64 by turning off the video. Wonder if this setup has support for that?

If my memory serves me well this worked only with the PAL version of the C64. Because the video chip (VIC) was so tightly coupled with the main processor and RAM, the video refresh rate determined clock speed. The PAL C64 was clocked at 0.98 MHz, the NTSC version was 1.25 MHz, so US C64's were faster per se. If you had a PAL version you could switch between both frequencies with a switch soldered to some place on the…

The VIC-II "steals" CPU cycles every 8th scan line in order to load sprite & color data, what C64 folks call "bad lines". It has a BA (Bus Available) pin that's fed into the address decoder PLA. When BA is low, the PLA tells the CPU that memory is only available for writing.

If you disable the VIC-II's output with a poke, it doesn't need any "bad lines" to fetch data. The CPU then gets 25 scan lines' worth of time to crunch data each screen refresh.

Re: A 1982 Commodore 64 web server, 64k RAM, 1 MHz CPU, running Contiki

#29
post #20

Kids today forget that actually kids back the day ran BBSs with C64s which wasn't quite the internet but still pretty cool: http://blog.wfmu.org/freeform/2005/07/my_commodore_64.html I also have very fond memories of dialing up Quantum Link which eventually became AOL: http://en.wikipedia.org/wiki/Quantum_Link

I was too poor for a C64 and we had a party line :(

Actually I had the C64 because I was too poor to afford the Mac! (this was the mid 80s)

Re: A 1982 Commodore 64 web server, 64k RAM, 1 MHz CPU, running Contiki

#30
post #20

Earlier quoted context omitted.

I was too poor for a C64 and we had a party line :(

Actually I had the C64 because I was too poor to afford the Mac! (this was the mid 80s)

My uncle got an Apple the small all-in-one type with the small screen whatever model that was.

I should say I got an ATARI 600XL but that wasn't until about 1984 it was probably on sale.

Not bad though I wrote out BASIC code from Family Computing magazine but had a hard time getting it to work so many syntax errors I couldn't find.

Post reply on HN