A Twitter Client For the Commodore 64 177
An anonymous reader writes "Johan Van den Brande has developed a Twitter client for the Commodore 64, allowing 140-character messages to be posted directly from this TV-connected 1982 home computer. This YouTube video shows how the Twitter client is — slowly! — loaded from a 5.25" floppy disk, how the latest Twitter messages are downloaded and shown on the TV screen, and how this tweet is posted. All that is needed is a C64, a TV, and a C64 Ethernet card. The Twitter client is implemented with the Contiki operating system, which otherwise is used for connecting tiny embedded systems to the Internet."
Software really has yet to catch up to hardware (Score:5, Insightful)
Friend at Intel corp said once - that software we are running will be really impressive once they catch up to the hardware. I think the Commodore 64 really goes to show what can be done on a really minimal environment.
Re:Software really has yet to catch up to hardware (Score:5, Funny)
The old quote: "Every time Andy gives me more horsepower, Bill takes it away."
Comment removed (Score:5, Insightful)
Re:Software really has yet to catch up to hardware (Score:5, Insightful)
I decide to give it to Linus and he asks for a lot less.
Care to count how many layers of abstraction there are between a typical GUI application and the bare metal on a modern *nix?
Re:Software really has yet to catch up to hardware (Score:5, Funny)
Re: (Score:2)
Yep, the trick is: what base?
Just remember, nobody jokes in base 13.
Re: (Score:2)
As many as you'd like. You don't have to run KDE4.
The latest Ubuntu distro still includes IceWM and Enlightenment.
If you want to go lower still, use text mode with a console framebuffer. There are some commandline web browsers like elinks that can display graphics on a framebuffer console without X.
Re:Software really has yet to catch up to hardware (Score:5, Funny)
Care to count how many layers of abstraction there are between a typical GUI application and the bare metal on a modern *nix?
I look forward to reading /. in fifteen years.
"Windows FOX is bloated. Why does it require 2 TB of ram just to boot when I can browse the intercloud without problems on Gnubun*x running with only 512 GB ram?"
Re: (Score:2)
Re: (Score:2)
Wrong, you decide to give it to Bill. I decide to give it to Linus and he asks for a lot less.
Actually, he pays Bill to take all of the hardware performance improvement away.
Linus only takes about half of it in cumulative updates, and does not charge.
Re: (Score:2)
Wrong. You give it to RMS, and demands your soul. :o)
Re: (Score:2)
Re:Software really has yet to catch up to hardware (Score:4, Informative)
1. VirtualBox is better optimized for XP (or vice verse). Linux is known to be slower there. Try real equipment.
2. Clean XP install is as useless as a snooze button on a smoke alarm. Install software, for Gods sake! And don't forget an antivirus. We aren't talking about clean lab environment, it's a harsh real virtual world outside.
Re: (Score:2)
How often do you really boot either XP or Linux?
XP? Once or twice a week, maybe. Linux? 3 or 4 times a day.
So who really cares whether it takes 20 seconds or 10 minutes to boot either operating system?
Those of us using portables and working at multiple locations every day, perhaps?
Re: (Score:2)
How often do you really boot either XP or Linux?
XP? Once or twice a week, maybe. Linux? 3 or 4 times a day.
So who really cares whether it takes 20 seconds or 10 minutes to boot either operating system?
Those of us using portables and working at multiple locations every day, perhaps?
You know, if you used Windows, your portable's sleep mode would work and you could go back to zero times a day. /flamebait
Re:Software really has yet to catch up to hardware (Score:5, Insightful)
Re:Software really has yet to catch up to hardware (Score:5, Interesting)
Not all companies back then developed directly on the C64 either.
There were dev tools for the PC for the C64 for example.
I don't think its cheating to use a bigger PC to develop a complex app for a smaller machine ;).
Re: (Score:3, Insightful)
And because on a C64, you do not expect all the little features, grapics, etc. Like a spell checker, an animated mouse cursor semi-transparent high-color smooth-moving windows. many of them. An MP3 stream playing it he background, with an OSD poppig up. An instant messenger for 5 different networks running in the background. Sub-pixel-anti-aliased beautiful vector fonts, with different styles, intelligent breaking on the field end, full HTML+CSS+JavaScript+DOM+flash rendering/interpreting, automatic error c
Re: (Score:3, Interesting)
There's obviously a lot of truth to the ease of programming using high level tools, and standing on other's shoulders, but back in the day we made do with what we had. I used to work for Acorn Computers (UK) back in 1982, and was one half of the team that implemented ISO Pascal for the 6502-based BBC Micro...
The project was divided into two halves (shipped on two 16K EPROMS), one half being a stack-based virtual instruction set for the compiler to target (to get reasonable code density), Pascal run-time lib
Re: (Score:2)
In this case both software AND hardware need to catch up about 27 years.
Re: (Score:2, Insightful)
Re: (Score:2)
Trying to change history (Score:5, Funny)
Contiki? (Score:3, Funny)
Wait wait wait... (Score:2, Funny)
Re: (Score:2)
Where does it say this? Read the article - he's using a standard ethernet connection.
Re: (Score:2)
Re: (Score:2)
Are you telling me this works without an internet connection?!
Correct. The ethernet peripheral that's required uses 80's sub-etha technology.
I call "cheating" (Score:2, Funny)
Re: (Score:2)
That would be cheating, too, because the Commodore 64 does not have an RS-232 port.
Re: (Score:2, Informative)
Yes it does. Just because the RS-232 lines don't come out into a 9 pin connector, but the expansion port instead, doesn't mean it's not RS-232. The only reason one could even come close to saying the C64 doesn't have RS-232 is the fact that the RS-232 line voltages aren't by the RS-232 standard. However, everything else you need for RS-232 is there.
Re:I call "cheating" (Score:4, Insightful)
To do that you'd have to have a serial adapter as well - so where do you draw the line?
By definition even - the 1541 (to load the program for those who don't know) isn't original C64 equipment (I couldn't even get one when I bought my C64 new - had to use tapes :)).
Yeah - a completely stock C64 is pretty hard to use...
Re: (Score:2)
True, but a 1541 is at least original Commodore equipment.
Re: (Score:2)
And Commodore never made an rs232 adapter either ;).
Re: (Score:2, Informative)
actually they did, its called a vic 1011a and it plugs into the user port.
Re: (Score:2)
Ahh I had no idea - +rep if I could :).
Re: (Score:2)
To do that you'd have to have a serial adapter as well - so where do you draw the line?
On the screen, silly.
Twitter isn't exactly an intensive application (Score:5, Insightful)
The hardest parts of doing this will be the TCP/IP stack and drivers to connect to the internet.
The messages are not long/require lots of screen realestate or memory.
It certainly scores *cool* points for making exceptionally OLD hardware do very new things, but it doesn't score points for difficulty or complexity.
But if someone finds it useful, then it wasn't a waste of time.
Re: (Score:2)
What sort of caveman could possible have a use for it?
Should I use my phone that fits in my pocket or a big heavy commodore64 plus tv plus mains power supply?
Re:Twitter isn't exactly an intensive application (Score:4, Funny)
What sort of caveman could possible have a use for it?
Og tweet about playing Ultima III:
Og swallowed by whirlpool.
Og now mad and smash phone.
Re:Twitter isn't exactly an intensive application (Score:4, Informative)
Actually, if you RTFA, he didn't develop the TCP/IP interface.
This project uses an "MMC replay" C64 expansion box with an RR-net ethernet daughterboard installed. He wrote the Twitter client to run on the Contiki OS, which comes with a built-in TCP/IP stack and a driver for the RR-card. Credit for Contiki and it's uIP TCP/IP stack go primarily to Adam Dunkels:
http://www.sics.se/~adam/ [www.sics.se]
The accomplishment of the C64 Twitter client's author is really more about writing a Twitter client with one hand tied behind your back rather than really being C64 specific. He wrote it in C (CC65 6502 compiler) on Contiki, so the fact that it happens to be running on a C64 as opposed to any other environment that supports Contiki is somewhat irrelevant.
Whether it scores any points for complexity really depends on your level of experience. Given that the ./ readership has become less and less hard core over the years, I think there are many people here who should be avoiding this guy's front lawn. At least, if you've never written any networking code in your life, how about firing up Linux, or installing MinGW (maybe roughly comparable to installing Contiki and CC65 on a C64), then writing your own Twitter client... It certainly won't be a waste of time if you learn how to do socket programming as a result.
Much Faster Floppy Drive for the C64 (Score:5, Informative)
There is a Commodore IEEE-bus floppy drive that works great with a C64 with the right adapter. It takes 1.2 Mb floppies and it makes a 1541 look really sad. It was radically expensive at the time and I remember how annoyed my boss was when I told him the price.
We actually had it pretty good even back then. We had a Kontron 6510 ICE so we could go in and figure out exactly what was going on with that weird video hardware, and it was great for finding those odd bugs.
I still cannot believe how badly those 1541 floppy drives sucked. They are the most miserable pieces of computer gear I have ever encountered. It is just beyond belief that someone has managed to keep one working after all these years!
I liked the Atari 800 much better. The video hardware had a much cleaner design and it was a lot easier to code for.
Re:Much Faster Floppy Drive for the C64 (Score:4, Interesting)
The drives your talking about are probably the 8050 quad density drive series (and the SFD-1001 - which was for the C64)) - 1 megabyte as I recall. Two problems with them - a) they were hard to buy and b) quad density disks are impossible to find (you can't even use pc high density disks with them). Still the one I saw demo'd was incredibly quick.
1541 used a 300 baud serial interface to the pc itself. In non burst mode programs took forever and a day to load or save - it wasn't entirely uncommon for a 15-20 minute load time.
Still it was light years faster than tape (which was less than 50 baud).
Yup - C64 was a complete hack, but you couldn't beat it for the price. For about 800-900 dollars you could have the PC and the 1541, where Apple ][ of the same vintage was 1500$+ with no accessories at all.
Re: (Score:3, Informative)
1541 used a 300 baud serial interface to the pc itself.
That did not sound right. According to Wikipedia, it used a proprietary serial version of IEEE-488. "Without hardware modifications, some "fast loader" utilities managed to achieve speeds of up to 4 kB/s."
Re: (Score:3, Interesting)
Lots of people know more about it than I do but the 1541 is basically a computer, IIRC it's about as powerful as the C64 itself. You could write loader code for both the drive and computer and achieve far more speed than letting the system just go forth and handle things for you. See also Epyx Fastload [wikipedia.org]
Re: (Score:2)
True, but that wasn't the stock behavior of the drive, it wasn't until much later after the launch of the 1541 that those sorts of tools arrived.
Re: (Score:2)
There are also harddrives for the C64, and I wouldn't be surprised if someone has built an flash-based storage device for them.
Re:Much Faster Floppy Drive for the C64 (Score:4, Informative)
Yep, there's plenty of flash-storage solutions for the C64. I'm using MMC replay (http://www.c64-wiki.com/index.php/MMC_Replay [c64-wiki.com]) and uIEC (http://www.c64-wiki.com/index.php/uIEC [c64-wiki.com])
Re: (Score:3, Informative)
you mean like the 1541 ultimate ( http://www.1541ultimate.net/ [1541ultimate.net] )?
Re: (Score:2)
"I still cannot believe how badly those 1541 floppy drives sucked."
Their death rattle [youtube.com] produced during formatting and seek errors still haunts my nightmares.
Re: (Score:2)
With all the C64 hacking going on, I'm surprised you can't just plug a flash drive into the thing. Or would that take all the fun out of it?
Before anyone asks... (Score:5, Insightful)
Before anyone asks why someone bothered to do this, I'll answer it - because they can. Simple as that.
It has no practical use, that's for sure, but not everyone needs to be done to have a practical use. Some stuff is just cool. That's why we have these things called hobbies. I certainly wouldn't have invested my time into getting something like this to work, but I can't disparage anyone who does. It's a hobby. I would even argue that it does not reflect one way or another on a person's ability to get laid. :)
Re:Before anyone asks... (Score:5, Funny)
Are you talking about the C64 project or Twitter?
Re: (Score:2, Insightful)
Speccy vs. C64 slugfest - start here! (Score:3, Funny)
The first, and obvious, salvo into the Speccy camp: your rubbery toy didn't have a decent keyboard, a decent GPU, sound processor or disk drive, and now... you guys miss out on the 21st century, too ;o)
Slug away, have at it!
(P.S. this is all tongue-in-cheek. I actually wish I had a Speccy - there was a ton of great software for that little beast)
Re:Speccy vs. C64 slugfest - start here! (Score:4, Informative)
After having to slog through a million and one boring PS3/Xbox360 fanboy wars on pretty much every forum out there, is there anyone else who finds the prospect of a spectrum/C64 slugfest actually quite appealing?
And have I been spending too much time on the Internet?
Re:Speccy vs. C64 slugfest - start here! (Score:4, Interesting)
The C64 vs. Spectrum slugfests on usenet are legendary, and used to happen once or twice a year. And they were always hilarious! I mean, we're all grown ups with the wit of a child, and nobody is stupid there - it's really done for the fun of it. It does get deeply technical at times, but the humor is always present.
Slashdot has nothing on those long-winded usenet threads where we cudgel each other good!
Re: (Score:2)
"(P.S. this is all tongue-in-cheek. I actually wish I had a Speccy - there was a ton of great software for that little beast)"
You can still enjoy it even without the hardware.
http://www.spectaculator.com/ [spectaculator.com]
http://www.worldofspectrum.org/ [worldofspectrum.org]
http://www.tzxvault.org/ [tzxvault.org]
So does this mean.. (Score:2)
Camel what? (Score:2, Funny)
Not necessarily so funny (Score:2, Interesting)
Any success in developing resource-efficient software is to be celebrated, IMHO. There is far too much of a trend these days of writing bloated, horribly inefficient crap, simply because in hardware terms we can get away with it.
The Windows refugees desperately need to stop being listened to. All they care about is superficial usability. They don't care about design quality, code quality, robustness, security, or resource (RAM/cpu/power) efficiency. The only important thing is that whatever they want to
Re: (Score:2)
There is far too much of a trend these days of writing bloated, horribly inefficient crap, simply because in hardware terms we can get away with it.
I think you're wrong [slashdot.org].
There's a reason why I have Ratpoison as a window manager for daily use, despite having a gigabyte of ram at my disposal. It's because I've used a C64 with a tape drive, and a portable IBM XT with a 2400 baud modem, and I'm thus able to recognise a graphical user interface for exactly what it really is.
No, it's not. I upgraded to a C64 from a TS-1000 (and an Atari 2600 with the "BASIC Programming" cartridge and 63 bytes of RAM before that), and I use KDE on my desktop and Netbook Remix on my Eee PC. You use Ratpoison because you want to, not because exposure to old computers automatically makes a person allergic to new systems.
If someone told me I was stuck at a text console from now on, I'd be OK (if grousy) about it. Until that day comes, I'd just as soon let this computer look p
Re: (Score:3, Insightful)
I think you're wrong.
I think you're wrong. If we were stuck with 1999 era hardware, we'd put a lot more work into optimization, and we'd get a lot more done with the same hardware. And, if you can find a carpenter who can build a timber frame [popularmechanics.com] house without nails, you're likely to get a much better quality house, but of course, more expensive.
If someone told me I was stuck at a text console from now on, I'd be OK (if grousy) about it. Until that day comes, I'd just as soon let this computer look pretty and
Re: (Score:3, Insightful)
If I had to edit my films and create my graphics in a text terminal, I'd have to kill somebody. Probably you. No offense.
As much as I enjoyed using Gopher and Lynx on my Atari, I've moved on to using a 100% necessary GUI for many of my computing needs.
Re: (Score:2)
If I had to edit my films and create my graphics in a text terminal, I'd have to kill somebody. Probably you. No offense.
Never used POV-RAY, huh? Command line video editing along the lines of audio editing with SOX wouldn't be so bad either.
Re:Not necessarily so funny (Score:4, Interesting)
On the contrary, I've used POV, probably the initial release and on that same Atari. Hell, I think I've even used DKBTrace. I've written my own GUI-less raytracers as well. It's kind of hard to do a magazine layout with POV, or design packaging, or create a logo, or composite effects into video. I've moved on to professional tools and will never look back unless I have some very specific need that only POV can fill. For procedural graphics and scientific visualization, it can be great. It's wonderful for hobbyists on a budget, or those in love with raytracing and willing to get their hands dirty, or those who want to learn more about raytracing in general. For work in a production environment? Get real. It continues to make advances, but it's still ten years behind the curve, and completely unwieldy for most CGI tasks. I have a friend who loves POV, she does all her game graphics with it. It shows.
CLI video editing? You must be on the moon. You're certainly not an editor, unless your idea of editing is ripping DVDs. I cut my editing teeth on 3/4" U-matic tape. Then I moved up to a CMX, which is a computerized analog linear editing system with a text interface and dedicated console and computer controlled VTRs. Then I moved up to a traditional, computerized, timeline-based NLE with analog capture/playback, and then eventually digital I/O. Today I use a next-generation NLE which is much faster and much more efficient than any form of editing before it or currently available from other vendors. Without those advances, I'd still be working on the first film. When a film has 1000+ edits, with each of those edits being tweaked up to seven or eight times, and each of those shots selected from twenty times as much logged footage, you don't want to screw around. What I do today, and what I do to stay competitive, would be virtually impossible and utterly impractical without a GUI. Film is a visual medium. It makes no sense not to edit it in a visually way. Would you edit audio without speakers or ears? I'm sure SoX is a fine tool, probably great in a proper tool chain, but you're on goofy pills if you think it's any kind of substitute for Pro Tools. I doubt you'll find a single musician that uses SoX for anything but purely utilitarian purposes (as opposed to creative ones), and even then, I'm doubtful.
Re: (Score:2)
I can understand why some of my recent posts have been modded Troll, but this one?
Come on, guys...cut me a little slack, here.
Not good enough (Score:5, Funny)
I want to know where the twitter client is for my VIC-20.
Plaintext login? (Score:2)
Contiki (Score:4, Insightful)
Thats cheating, really its not a C64, its an embedded machine that happens to have composite video output.
Running an embedded OS on an 8 bit processor is common place. REAL common place.
The Commodore as I/O Device- A dumb terminal (Score:3, Insightful)
In schemes like this, the Commodore itself is just a thin layer of the user interface. There is definitely a more powerful processor than the 6502 on the Ethernet Card. Most of the processor intensive networking layers are 'contained' on the Ethernet Card, just as is/was the case with primitive processors like the 8088 communicating via Ethernet.
Almost any 'expansion' of the Commodore involves adding a 'peripheral' containing a co-processor at least, and sometimes significantly more powerful than the 6502 in the Commodore. The 1541 disk drive has a 6502 processor in it. A Commodore 'Hard Drive' has a processor more powerful than the C64 it attaches to. So, really, this is no different than attaching a dumb terminal to a proprietary PC and claiming it's 'A Twitter Client for a Dumb Terminal.'
Heck, I could attach a largish 44780-based LCD display and a P2/2 keyboard to one of the smaller PIC controllers and hang it off a linux box as a terminal and do about the same thing. Or, better yet, just attach a TDD terminal to the linux box. Wow! A Twitter Client for the TDD! Maybe I can get funding for 'facilitating' something to aid the handicapped!
Define "more powerful processor" (Score:3, Interesting)
Try writing a useful program on one of those bit-slice efforts, thou
Re: (Score:2)
And this differs from modern PC hardware ... how?
Last I knew, virtually all modern PC peripherals, whether they be modems, printers, network cards, video cards, hard disks, sound cards, monitors, etc. all had some kind of reasonably powerful processor in them, if not a complete self-contained embedded computer. Other than my speakers, I can't think of a single device inside of or attached to any of my three PC's that does not contain a small, embedded computer of some sort. I'd bet even my optical mouse h
Finally! (Score:2)
Thank god.
Where is the ABC80 version? (Score:2)
Eh?
Re: (Score:2, Interesting)
Re:FW (Score:5, Informative)
Not to mention that, as stated in the summary, this program uses an Ethernet device. I don't own one myself, so I can't be sure of the maximum practical speed, but based on my own hacking and programming on the C64 with PIO and DMA devices, I would guess data moves around at 20-30 kB/sec including TCP/IP and Twitter protocol processing overhead, on an otherwise stock machine.
Although this particular application doesn't need anything beyond an Ethernet device, solutions also exist to counter any CPU, storage, or RAM constraints that a C64 user might run up against.
Re: (Score:2)
Can the C64 be overclocked? Yes. My friend has a souped up C64 with a turbo switch. I believe you can crank up the clock from 1Mhz to 2-4Mhz.
Re: (Score:2, Informative)
Re: (Score:2, Insightful)
Im sending this to my dad in the hopes he will revive the ole 64 back home.
Re:FW (Score:5, Funny)
Re:FW (Score:4, Informative)
"Attack of the Mutant Camels" refers to completely different games (both by Jeff Minter, mind) in Europe and America.
In Europe, "Attack of the Mutant Camels" was a little bit like defender (with giant radioactive space camels). In America, the game released as "Attack of the Mutant Camels" was what the Europeans call "Gridrunner".
http://en.wikipedia.org/wiki/Attack_of_the_Mutant_Camels [wikipedia.org]
C64 AMC: http://www.youtube.com/watch?v=xhKf3DcPk08 [youtube.com]
C64 Gridrunner: http://www.youtube.com/watch?v=bRq6e1f85KY [youtube.com]
Jeff's "Revenge of the Mutant Camels" was completely insane...
http://en.wikipedia.org/wiki/Revenge_of_the_Mutant_Camels [wikipedia.org]
http://www.youtube.com/watch?v=ymVvsPczrwk [youtube.com]
The More You Know...
Re: (Score:2, Funny)
You are on Slashdot and you need explanation to see that implementing a Twitter client on a C64 is totally cool?
Sir, you are requested to leave this room please.
Re:FW (Score:5, Insightful)
How can anything to do with Twitter be cool?
Re: (Score:2)
Replying to epic truthiness post.
Re: (Score:2)
Girls like it. We suffer to please them. Despite previously swearing that all of them are stupid, 4 weeks into my current relationship I had a Myspace, Facebook, Twitter account, and Yahoo messenger account.
Still though, I doubt that she'd find C64 Twitter cool, and she still thinks that I've quit WoW . . .
Re:FW (Score:5, Insightful)
Re:FW (Score:4, Informative)
It's barely a hack. Each of the pieces is pretty much being used for its intended purpose (the C64 is being used as a general computing device, the network card is being used as a network card, there is some software, etc.).
Re: (Score:2)
I guess you could try getting your C64 on the Internet, and then trying to get it to work with something WAY ahead of its time.
Wrong why? (Score:3, Funny)
I think the question isn't "Why are they implementing a Twitter client on a C64?". I think it's the same question I had: Why are they loading this from 5.25" floppies?
Re: (Score:2)
Re: (Score:2)
Re:Wrong why? (Score:4, Interesting)
If it makes you feel any better I've been loading it off of an SDHC card that is inside of a cartridge that emulates a 1541 disk drive.
http://www.1541ultimate.net/ [1541ultimate.net]
Re: (Score:2)
Re: (Score:3, Funny)
Re: (Score:2)
"First "Why""
HI! I AM BIFF!
WHY DO YOU ASK WHY? DON'T YOU NO THE C= MACHINES ARE
THE BEST EVER MADE? ASK YERSELF HOE MUCH YOU"VE SPENT
ON STOOPID PC HARDWARE SINCE THE C64 CAME OUT... YOU
COULD HAVE GONE TO PARIS FOR LUNCH EVERY DAY WITH THE
MONEY INSTEAD IF YOU"D JUST STUCK WITH A PERFECTLY
GOOD WORKING COMPUTER! LIKE, DUH
I MEAN REALLY IF
~x~~~~~~~~x~X~x~~xx~x~X~
NO CARRIER
Re: (Score:2)
Projects like this truly serve to show just how much hardware that was considered "obsolete" 20 years ago is capable of. There is a live webserver running on a C64 out there. There are Twitter and email clients, as well as basic web browsers. They're not flash-complaint YouTube surfing machines, but for the purposes of exchanging information across the globe you can get by with the most modest of hardware.
It's been said (and it's true) many times over that the entire world cannot live and consume at the
Re: (Score:2, Funny)
"Nerds that never get laid"
You mean like "Desert that never gets wet" or "Rock that never gets hungry"
Re:i can feel a tv series comming (Score:5, Funny)
"Nerds that never get laid"
At least we know there'll never be a Nerds that Never get Laid TNG.
Re: (Score:2)
It survived.