Slashdot Mirror


Streaming RealAudio From a Commodore 64

An anonymous reader submits: "This just came in on comp.sys.cbm and I think it will be of general interest here at Slashdot as well. Two Commodore hackers, Adam Dunkels and Peter Eliasson, have built an Ethernet card for their C64 and have connected one to the Internet. But they aren't 'just' running a TCP/IP stack and a web server on it - they are also running a RealAudio server which streams audio from the C64's cassette player and apparently, it sounds awful! They have the full source code avaliable and pictures of the C64 server."

115 of 332 comments (clear)

  1. Look, you can *see* it being slashdotted! by ianpatt · · Score: 4, Funny
    1. Re:Look, you can *see* it being slashdotted! by The+Original+Bobski · · Score: 2

      Well, you could if it wasn't aready slashdotted.

      you can't get there from here

      --
      satire, n: 1) witty language used to convey insults or scorn; 2) a form of humor lost on most slashdot moderators.
    2. Re:Look, you can *see* it being slashdotted! by beertopia · · Score: 4, Informative

      Well, this is what you would've seen if you were one of the first 10 people to click the link... poor lil' webserver...

      Real-time streaming audio from the C64

      This C64 server is not only running a web server, but is also running
      a very simplistic RTSP/RTP (Real-Time Streaming Protocol/Real-Time
      Protocol) server that is compatible with RealPlayer
      version 8. This makes it possible to send real-time streaming audio
      over the Internet directly from the Commodore 64.


      The cassette port on the C64 is capable of sampling 1-bit samples at a
      maximum rate of approximately 8000 Hz. We are sampling 1-bit audio
      from the cassette player and sending it out over the Internet using
      the TFE Ethernet cartridge. To reduce the load on the C64, we only
      allow one listener to listen at a time and only for about 20 seconds.

      Listen

      In order to listen, you'll need to have the free RealPlayer 8 Basic (click on the "RealPlayer 8
      Basic" link at the bottom left of the page). While the streaming audio
      server might work with other players, we haven't tested it with
      anything but RealPlayer 8 Basic.


      When RealPlayer is installed, click here. If
      RealPlayer says that it is experiencing network problems, this is
      because someone else is already listening. Beware! It sounds
      terrible.

      Playlist

      We are playing remixes of famous C64 SID music taken from the
      faboulous C64 mp3 remix site remix.kwed.org. Because of the bad sound quality of
      the real-time audio stream, it is impossible to tell which tunes we are
      playing.


      --
      -- 'intellectual property' is oxymoronic
    3. Re:Look, you can *see* it being slashdotted! by MadFarmAnimalz · · Score: 2

      Nope. Shouldn't happen. Says there that the streaming audio server could theoretically handle 5 simultaneous users, but then the web server would die, so they only allow one TCP connection on the poor thing.

      Umm, wait, I think it *is* down...

      --
      Blearf. Blearf, I say.
    4. Re:Look, you can *see* it being slashdotted! by redhatbox · · Score: 2


      Obligatory Wierd Al reference...

      "You think your Commodore 64 is really neato,
      What kind of chip you got in there, a Dorito?"


      Why, yes... and an ethernet card made from month-old Fritos too... ;)

      It's all about the Commodores, baby.

  2. A note for youngsters.. by tuxzone · · Score: 5, Funny

    A note for youngsters... The C64 is not a fancy new 64 bit machine, it is an 8 bit machine (vintage 1982) with 64Kbyte memory.

    1. Re:A note for youngsters.. by Big+Dogs+Cock · · Score: 4, Funny

      Bollocks. The BBC micro - now that was a class BASIC interpreter (if there's such a thing). Plus a nice assembler as well. Indexed indirect addressing - that takes me back.

      I suppose the ultimate achievement would be to get a web server running on a ZX81 (probably need 16K RAM pack plus obligatory duct tape to keep it on). You could have two cassette recorders in a RAID 1 configuration.

      --
      "Under the iron bridge, we fist" - The Smiths, Still Ill
    2. Re:A note for youngsters.. by nlh · · Score: 2

      Your point is well-made (perhaps even funny), but I think you don't give younger readers enough credit. Just because something is before one's time doesn't mean that one is completely (or even partially) blind to what it is.

      I'm 23 - born in '78 - and I know what a MITS Altair is (I was -3 then), a TRS-80 (-1), and yes, a TI-99/4A (a toddling 1 year old).

      Long live dorks who know their history!

      nlh

    3. Re:A note for youngsters.. by technos · · Score: 2

      Bah. I have a Radio Shack Pocket Computer, now that would make a great webserver. Quasi-serial port built on to it, a cassette interface, and a 250hz processor.

      It's already been done to the PC2 (Pocket Computer 2), which had a *real* serial port attachment available for it. That sucker, however, is about five times as powerful as the PC(1).

      --
      .sig: Now legally binding!
    4. Re:A note for youngsters.. by Frank+T.+Lofaro+Jr. · · Score: 2

      Don't worry. Bill Gates said 64K is all anyone would ever need! :)

      --
      Just because it CAN be done, doesn't mean it should!
    5. Re:A note for youngsters.. by mosch · · Score: 3, Funny

      Yeah, everybody knows the Ti-99/4A is the new Texas Instruments graphing calculator. DUH!

    6. Re:A note for youngsters.. by Afrosheen · · Score: 2

      Moderators, this isn't meant to be a funny comment, it's serious. There have been dozens of incredible demos over the years that demonstrate the power and flexibility of the c64. I can't count the number of times I've seen something previously thought impossible with graphics or sound on the c64. Hidden vectors, fullscreen demos without overlapping border sprite cheating, 10x or faster SID songs, there seems to be no limit.

      C64 machine language can bring out the best. We didn't see the absolute best Playstation 1 games until Sony released the source to the psx and everyone was able to code ML/Assembly on it to get every last drop of performance out of it.

    7. Re:A note for youngsters.. by hazydave · · Score: 2

      If you think a RealAudio server on a C64 is weird, this will totally cook you're noodle. There's a whole new C64 in development, designed in programmable logic by Jeri Ellsworth (http://www.geocities.com/cm_easy). This is absolutely for real -- I saw a prototype last year, and the first PCB last month at the Amiga Expo show near Baltimore. Jeri's brain-picked many if not most of the original C128 team on the details -- we were a little more accessible than the C64 people.

      Crazier yet, it hooks to a PS/2 mouse and keyboard (the keyboard interface can emulate the C64/C128 port scan, something I actually worked out and proposed for the C128D, since the hardware to serialize this cost less than the cable we used to run the whole scanning matrix to the dumb keyboard, but it wasn't done). It hooks to an ATA hard drive, and has one PCI slot (I/O mode only, intented it seems for Ethernet support).

      --
      -Dave Haynie
  3. All my 80s things by jimson · · Score: 2, Funny

    Finally I have something I can do with all the cassettes I collected through the 80s, and judging by the colors of the wires and circuit board, somewhere I can use all my day-glo clothes!

  4. Listen... by soulsteal · · Score: 5, Funny

    and you might hear the crackle of a flaming C64...

  5. To paraphrase RFK (or Shaw): by Ezubaric · · Score: 5, Funny

    Some people see things as they are and say why. I see things that never were and say why not.

    Then again, some people say "why not," get drunk, and and hook a piece of crap up to the internet.

    $50 bucks to the first person that builds a C64 emulator out of legos that streams video of a coffeepot and runs BSD.

    --

    ----------
    I am an expert in electricity. My father held the chair of applied electricity at the state prision.
  6. A new computing first! by Dynedain · · Score: 3, Funny

    This is definately going to be the first time a Commodore 64 has been /.ed, and will probably set the record for how long it takes to get /.ed.

    Of course, rebooting a C64 is pretty fast.

    --
    I'm out of my mind right now, but feel free to leave a message.....
    1. Re:A new computing first! by jacobb · · Score: 2
      wrong... there have been a couple C64 webservers in the past. All of which, to my knowledge, were shown on slashdot, and all of which died after a few seconds. just check the archives :)

      Cheers!

    2. Re:A new computing first! by WowTIP · · Score: 2

      Not to talk about how slow it would load from cassette. Brings back the memories of playing "Red storm rising", that came on three fully loaded cassettes. Before each battle you'd have to load through all the casettes (which took about 45 minutes) and then play for about 15 minutes. Reapeat all over. It was a good lesson in patience. :)

      --

      --

      "I'm surfin the dead zone
      In the twilight, unknown"
  7. And the webserver ? by rasjani · · Score: 2

    Hopefully it doesnt run on same c64's also..

    --
    yush
  8. mirror of his webpage... by Peyna · · Score: 2

    I've got most of his personal webpage backed up, which has info on the project, so if you have somewhere to put it, reply with a place to upload.

    --
    What?
  9. Mirror by ink · · Score: 4, Informative

    Well, I managed to mirror the front page before the machine went down (hopefully others can mirror my copy before my machine goes down!) http://inconnu.isu.edu/~ink/c64

    --
    The wheel is turning, but the hamster is dead.
    1. Re:Mirror by ender81b · · Score: 3, Informative

      I mirrored the pictures here (let time warner take some of the bandwith costs =):

      http://home.neb.rr.com/pubhtml/c64/c64.html

    2. Re:Mirror by ink · · Score: 2
      OK, that front page was orginally interesting because it was served up by a C64 - you mirroring it demonstrates what - that modern PC's can serve web pages too?

      Actually, the machine serving up that bit of C-64 goodness is none other than a symmetric multiprocessing Intel Pentium box. Not a Pentium II, III, IV, Pro, or Celeron; the old fdiv-enabled Pentium. Somewhat of a rarety itself; it's a dual 133, and the processors need to be paired with the chip revision level, so of the seven or so variety of P133 chips made -- only specific versions will work in an SMP setup. There were very few motherboards that supportted this configuration as the Pentium Pro (aka Pentium II, III, Celeron) put a stop to this kludgery shortly after. I had to search on ebay for quite a while before I found the perfect pair. The box runs RedHat 7.2 right now.

      --
      The wheel is turning, but the hamster is dead.
  10. Archive picture of site by jacobb · · Score: 2

    Here's a pic i took of it when there were still 0 comments, and it wasn't /.'ed yet.
    Yeah, i know the gray sucks, but i had to do this quick.

  11. Hrm... by autopr0n · · Score: 5, Funny

    I bet that ethernet card probably has more CPU power then the rest of the machine.

    --
    autopr0n is like, down and stuff.
    1. Re:Hrm... by Gordonjcp · · Score: 2

      Actually, ethernet cards don't have a CPU by themselves. Ethernet ports are just serial ports with delusions of grandeur. However, the PDP-11 minicomputer had a serial port with an 8MHz 68000 and about 512k of RAM - considerably more than the machine itself, in most configurations. The idea was to integrate the venerable PDP's with more modern machines on networks, like the MicroVAXen, to ease the pain of transferring old data.

  12. Not half bad by cscx · · Score: 2, Insightful

    Currently active TCP connections
    Local Remote State Retransmissions Timer Flags
    6510 68.53.74.100:3127 SYN-RCVD 0 3 *
    6510 195.197.177.165:46743 SYN-RCVD 4 8 *
    6510 62.23.145.66:28401 ESTABLISHED 0 3 *
    6510 144.134.31.152:1599 SYN-RCVD 1 3 *
    6510 68.53.3.20:2035 ESTABLISHED 7 38 *
    6510 67.82.198.141:63434 ESTABLISHED 6 24 *
    6510 68.0.176.210:3466 LAST-ACK 6 35 *
    6510 193.10.66.107:4831 FIN-WAIT-1 0 2 *
    6510 132.170.42.189:3313 SYN-RCVD 7 1 *

    Maybe it's just that time of night...

  13. well duh! by binarybum · · Score: 5, Funny


    C'mon now, Real Audio(TM) always sounds awful. This isn't news!

    --
    ôó
  14. are you sure? by supernova87a · · Score: 3

    I think they got confused... They just plugged their headphones into the cassette tape drive, and thought they were hearing RealAudio!

  15. moderators on crack. by arcade · · Score: 2, Troll

    'commie' = commodore, not communist.

    idiot moderator that moderated the above as a 'troll' should be hanged from his toes.

    --
    "Rune Kristian Viken" - http://www.nwo.no - arca
    1. Re:moderators on crack. by josh+crawley · · Score: 2

      Actually, this type of moderation shows how uneffictive slashdot is. Even if you've never heard the slang 'commie', you could surmise it from 'commie'dore. Sadfully, slashdot editors want us to pay for it. Bleh. kurogohin has much better -self moderated- stories (and you put your name with comments to validate/backup your reason).

      In even back in '84, when they released it, it was a poo- man's machine. 300$ for the cpu/keyboard/gfx and 400$ for the drive set. COnsidering, at the time, 2E's were running about 2000$, so the commie was a steal. What's funny is my hacks still work. I did the usual disk drive hack, and made my own "Big Red Switch". It was a small spst button that put the +5v into the ground, effectively resetting the computer.

      Well, anyways, back to my normal, troll-like posting. Seems like people want information spoon-fed to them. If it conflicts with what they say is common sense, it "must" be wrong. Hence, you see my posts modded up to +5 insightful, down to +0 troll.

  16. Saying It For The Sake Of It by Peridriga · · Score: 4, Funny


    I don't even believe a Beuowolf cluster of these could survive serving streaming media to /.

  17. Commodore 128 by thumbtack · · Score: 2

    I knew I should have saved my C128. Dangnabit

    1. Re:Commodore 128 by Rhinobird · · Score: 2

      Amen! I miss mine right now. Put that baby into fast mode and it would have lasted maybe a full millisecond longer than that poor c-64...

      The only other insane thing I could think of is replicating this with a vic-20...

      --
      If Mr. Edison had thought smarter he wouldn't sweat as much. --Nikola Tesla
    2. Re:Commodore 128 by Skuld-Chan · · Score: 2

      I've actually got a few - in my parents house. Mostly C-128, parts/chips, service manuals, drives, cables, and I probably have about 9 fast load cartridges - and maybe still have one infinity machine (real gamers know what this is). Somewhere I've got a user port to serial port adapter - its pretty rare.

      I've actually thrown systems out - I just have too many :( - usually yank the important chips for parts though.

    3. Re:Commodore 128 by hazydave · · Score: 2

      The C128 would last longer due to fast mode AND the extra memory.

      Anyone with a C128 should type this one:
      SYS 32800,123,45,6.

      --
      -Dave Haynie
  18. don't go to that page. by autopr0n · · Score: 2

    You'll kill the server. Aperantly they have some special optimization on port 80 to keep it from being overloaded, but not on port 6510.

    --
    autopr0n is like, down and stuff.
  19. Still up! by autopr0n · · Score: 5, Interesting

    Holy shit! This thing is still standing! I was able to get through with just two tries (the first time I just got the frameset). According to the docs they had put in quite a few optimizations to their TCP/IP stack to allow for a lot of connections (they said they encoded the state data in TCP sequence field, allowing them to have unlimited connections, or something like that)

    The thing is, they haven't got the optimization on port 6510, so if you try to go to the 'tcp status page' you'll overload it.

    Building a C64 web server is impressive. Building one that can stand up to the Slashdot effect is, well, wow :P

    --
    autopr0n is like, down and stuff.
  20. Hey now! by Rhinobird · · Score: 2

    >what next, the C64 will be a Quake server?

    Hey now! Don't give them any ideas....

    --
    If Mr. Edison had thought smarter he wouldn't sweat as much. --Nikola Tesla
    1. Re:Hey now! by radja · · Score: 3, Funny

      how about a C64 port of bnetd ?

      //rdj

      --

      No one can understand the truth until he drinks of coffee's frothy goodness.
      --Sheikh Abd-Al-Kadir, 1587
  21. Powerful peripherals by Novus · · Score: 5, Informative

    On the whole, lots of peripherals and expansion cards back then had ridiculous amounts of processing power. For example, the floppy drive usually used on the C64, the 1541, had a 6502 processor (a slightly older version of the 6510 used in the C64 itself). C64 facts from here. The floppy drive was connected to the machine with an insanely slow serial port, so it had to work more or less autonomously.

    The silliest example of over-powerful peripherals has to be the General Sound card for the ZX Spectrum. The General Sound contains a 12 MHz Z80 and 128 K RAM, upgradable to 512. The Spectrum contains 48 or 128 K RAM (256 or 512 on some clones) and has a 3.5 MHz Z80 (7 MHz or more in some clones). In other words, the sound card (which is fully programmable) is more than 3 times as powerful as the machine it's connected to. General Sound info here.

    For today, ponder the latest 3D graphics accelerator.

    1. Re:Powerful peripherals by vidarh · · Score: 5, Funny
      Actually, the 6502 is close enough to the 6510 that your C64 most likely will keep running if you exchange the two. The difference is primarily 8 extra IO lines on the 6510. On the C64 some of those were, I believe (but it's been about 15 years :-) used to access the tapedeck.

      For an even more extreme example of extra CPU's (though not necessarily much more powerful, and two of them not in use :-), I at one point had an Amiga 2000 with a 68000 CPU. I got a used 68020 accelerator board for it. In addition it had one of those PC cards that let you run DOS in a window, with an 8086, and an 286 accelerator for it. To top it off my SCSI card had a Z80 on it.

      But one CPU is missing....

      Guess what is used as a keyboard controller on many of the Amigas? An embedded version of the 6510, running at 2MHz and with onboard RAM and ROM..

      So to sum it up, the CPUs in use: 68020, 286, Z-80 and some chip with an 6510 core. Now that's multiprocessing :-)

    2. Re:Powerful peripherals by petis · · Score: 3, Interesting

      I believe that in some (or most?) of the better demos produced on the C64, the coders used the floppy-drive processor to help calculate the vectors. I never coded for the C64, so I don't know for sure though.

      Anyway, the demo coders from the C64-scene are definitely impressing. Talk about using the resources you have to a maximum.

    3. Re:Powerful peripherals by AndrewHowe · · Score: 3, Informative

      I think it most likely won't. The main problem is the first two bytes in zero page, which are connected up to those IO lines. On the C64 they are connected to memory mapping and various hardware. On the 1541 they are used by the ROM.

  22. Where'd they get real audio? by astrashe · · Score: 2, Redundant

    Are there open source real audio servers?

  23. Bah by Alsee · · Score: 2

    We've seen C64 servers before. I want to see VIC-20.

    **** CBM BASIC V2 ****

    3583 BYTES FREE

    READY.
    LOAD

    PRESS PLAY ON TAPE
    OK

    SEARCHING

    -

    --
    - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
    1. Re:Bah by MagerValp · · Score: 2, Informative

      Acutally, it's not a problem, all you need is a 32K ram expansion and an RS-232 interface. The VIC-20 has got just as much CPU power as the C64, and it runs an earlier version of the same operating system, so a port is actually possible.

      --

      READY.
      #
    2. Re:Bah by Alsee · · Score: 2

      You need the RS-232 interface, but using the ram expansion is cheating :)

      Doing it in basic would be cool, but assembly is acceptable :)

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
  24. Yeah, but what about the codecs? by astrashe · · Score: 2

    Where did they get the codecs?

    1. Re:Yeah, but what about the codecs? by Gordonjcp · · Score: 2

      You don't need audio codecs - Realplayer will happily play back raw waves.

  25. How long... by MisterBlister · · Score: 3, Funny

    Until they get slapped with a lawsuit from Real due to using their streaming format without permission? .. Sigh!

    1. Re:How long... by Suppafly · · Score: 2

      That lawsuit would surely win some kind of stupidity award since they are using rtsp which is a standard protocal.

  26. hack value by Spy+Hunter · · Score: 2
    The possibility of connecting the Commodore 64 to an Ethernet local area network has been a collective dream in the Commodore community for decades. A C64 Ethernet adapter would make it possible to connect the C64 directly to the Internet, making it possible to download software, transfer data to and from the C64, play network games over the Internet; the possibilities are endless.

    Meanwhile, the rest of us have been running C64 emulators on our already Internet-connected Pentiums...

    This has a very high hack value, but I really don't think that a practical application is going to be networked C64 games over the Internet. If you're going to write a networked game, you're not going to write it for the C64, I mean come on! Even if you were, an emulator would be a much cheaper and easier solution than actual hardware.

    --
    main(c,r){for(r=32;r;) printf(++c>31?c=!r--,"\n":c<r?" ":~c&r?" `":" #");}
    1. Re:hack value by MagerValp · · Score: 2, Insightful

      Umm, well, actually, some of us are working on networked games running on the C64... As for emulators being cheaper, I don't there's much of a difference: C64s and disk drives can be had for less than the cost of an internet connection. Hacking the old hardware is immensely more satisfying than playing around in an emulator.

      Just because newer computers are more capable doesn't mean that they are more fun. 8 bits is all you need.

      --

      READY.
      #
    2. Re:hack value by Afrosheen · · Score: 2

      They'll survive but their power supplies will be melted into a block of unrecognizable plastic.

      Oh wait, you said after WWIII.

      I loved my old commie but many times found myself overcome by a strong desire to choke the fool who designed the power supply. An epoxy-filled, non-repairable power supply is just wrong. The replacement power supplies from CMD and others weighed about 95% less and were fused, so if something went wrong, unscrew the cover, replace the fuse, power on.

  27. From one of the creators by adadun · · Score: 5, Informative

    As one of the guys who made this, I must say that I am amazed to see how well our C64 server is handling the Slashdot-effect. With a little more than 50 comments, I still can load parts of the first page.

    The web server that runs on port 80-84 actually implements a simple form of overload protection and during testing, we managed to serve 8000 pages over a period of 30 minutes. That makes 4 pages per second! Note that it is only the first page that is overload protected, so the other pages will still load very slow (if they will have a chance to load at all!).

    The real-time streaming audio server is running on the same machine as the web server so nobody will probably have a chance to hear the audio stream.

    Furthermore, the headline is wrong - we are not streaming RealAudio. We are streaming audio using the open RTSP/RTP formats that RealPlayer and other players can handle. The RealAudio file format is secret so we would probably have been sued if we had been streaming that.

    Finally, here is Google's cache of our newsgroup announcement.

    1. Re:From one of the creators by adadun · · Score: 2

      Ooops, thanks for pointing that out! Unfortunately we cannot change the web pages without rebooting the C64 which would reset the access statistics back to zero.

  28. This is great news by Anonymous Coward · · Score: 4, Funny

    Maybe Jon Katz's friend, Junis can now send us live streaming audio from Afghanistan using his Commodore! That is, if he can spare the bandwidth and disk space that he uses to download all those DivX ;-) movies.

  29. Yet more proof... by larien · · Score: 2

    ... some people have far too much free time on their hands.

  30. Obligatory Joke by teslatug · · Score: 2, Funny

    Hey cut it out with that Slashdot-ing, poor Junis is trying to look at some movies.

  31. I call shanagans! by DanThe1Man · · Score: 2

    I don`t believe this web server is really running on a C64. Its been over an hour and the server is still survivoring the slashdot effect. I think this is a prank.

  32. Re:Slashdotted a C64 by Gordonjcp · · Score: 2

    Well it's slashdotted to fsck just now (about 9am BST) but I'll look later. All the source code is there and it looks "right". A simple TCP/IP stack is really quite easy to write - it's the RTP/RTSP stuff that's seriously impressive.

  33. Re:why promote realaudio??? by Gordonjcp · · Score: 2

    Well, mainly because Realaudio is actually wide open? Perhaps because if you read the article and the source code it explains it all?

    To get Realaudio with your own stuff you just send it little packets of wave data over RTSP.

  34. Re:My goodness. by BobTheBooser · · Score: 5, Informative
    Anyways, how in the hell were they able to reverse real audio encoding?

    They didn't they implemented a version of the standard RTSP/RTP protocal. This is an open standard similar to TCP/IP standard. It just happens to be the standard that Real Player uses for its protocal.

    The RTSP (Real-Time Streaming Protocol) is a standard (RFC2326) session initiation/maintenance protocol that is used by RealPlayer, QuickTime, and many other real-time audio and video players.
  35. MIRROR MIRROR by jsimon12 · · Score: 3, Informative
    Went ahead and mirrored the site since it is a little slow:

    http://www.xemu.org/mirrors/adam/

  36. As the old saying goes... by NeuroManson · · Score: 2

    It's not how well the dog speaks, but the fact that the dog can speak at all...

    --
    Just because you can mod me down, doesn't mean you're right. Shoes for industry!
  37. This is utter lunacy. by Gordonjcp · · Score: 2

    And, quite possibly the coolest thing I've seen all year.

  38. Re:So these guys did essentially nothing by glwtta · · Score: 4, Insightful

    Well what the fuck did you do? Sat on your ass and read /.? Yeah, that's much more impressive.

    --
    sic transit gloria mundi
  39. You mean SYN cookies? by peter · · Score: 2, Interesting

    See DJB's web page about them. The scheme was designed to ward off SYN-flood DoS attacks, which is pretty much what a /.ing amounts to.

    --
    #define X(x,y) x##y
    Peter Cordes ; e-mail: X(peter@cordes , .ca)
  40. Re:Anyone else think... by Chiasmus_ · · Score: 2

    It's interesting and all, but 99.99999999999999999% of us will never see the site, and the only thing that's going to happen is that the poor little C64 is going to explode.

    So, what you're saying is that 6 of us see the site before it goes down, the Slashdot readership at any given moment is 6x10^19, or sixty quintillion - ten billion times the population of the earth.

    Now THAT is one hell of a slashdot effect.

    --
    "Beware he who would deny you access to information, for in his heart he deems himself your master."
  41. For their next trick... by slackergod · · Score: 2, Funny

    load "linux",8,1

    1. Re:For their next trick... by cyrek · · Score: 3, Informative

      Now, if you'd said lunix you might have been right. It's a nice little Un*x clone specifically written for the 8-bit Commodores.

      --
      Insert witty sig about inserting witty sig here, here.
    2. Re:For their next trick... by invenustus · · Score: 2

      Anything is possible, considering Commodore 64 Basic is the new AmigaOS.

      --
      grep -ri 'should work' /usr/src/linux | wc -l
  42. Hmmm. C64 vs. NT4 by mrselfdestrukt · · Score: 4, Funny

    Is it just me or does that little C64 perform better than a NT server running IIS?
    I'm sure it will stay up for longer as well...
    Let's count the security holes...
    This is really funny!
    Then again: The OS on my mobile phone is more reliable than NT.
    Oh, ok, we are talking about the C64 right? Wow, it's smaller than a NT server! Oops, here I go again.

    --
    "I used to have that really cool,funny sig ,but it got stolen."
  43. Re:A commodore 64 in afghanistan by WWWWolf · · Score: 2, Interesting
    My god!!! John Katz was right!! You can browse the internet using a commodore 64 in afghanistan

    And why not? It's possible. In fact, it's not even painful.

    And didn't Kevin Poulsen hAx0r the Arpanet with a VIC-20 back in 1984? (I doubt that needed more than a terminal program, though =)

  44. Ingenuity by JimPooley · · Score: 2, Troll

    Every time I hear about something like this, I can't help thinking that these people are wasting their ingenuity on something completly worthless.
    If they brought that ingenuity to doing something worthwhile, who knows what they could do...

    --

    "Information wants to be paid"
    1. Re:Ingenuity by tomlouie · · Score: 4, Insightful

      Who's to say that their ingenuity wasn't spent doing something worthwhile? They had a blast, I bet, they overcame technical problems, and they learned a lot. And, they furthered the knowledge and realm of possiblility. (Who would have thought that a C=64 could handle a /. load?!?)

      Now, if you were talking about the millions of dollars that goes into sports every year that could have been going to something worthwhile, I would agree with you.

      Tom

    2. Re:Ingenuity by sckeener · · Score: 2, Funny

      If they brought that ingenuity to doing something worthwhile, who knows what they could do...

      exactly, so they should put in their resumes that they had their hacked c64 /.'ed to death. I'm sure someone would pick them up for their creativeness.

      --
      "Only one thing, is impossible for god: to find any sense in any copyright law on the planet." Mark Twain
    3. Re:Ingenuity by tswinzig · · Score: 2

      Every time I hear about something like this, I can't help thinking that these people are wasting their ingenuity on something completly worthless.
      If they brought that ingenuity to doing something worthwhile, who knows what they could do...


      And every time I read a comment like this, I can't help thinking DO YOU UNDERSTAND THE CONCEPT OF A FUCKING HOBBY?!

      --

      "And like that ... he's gone."
  45. Bah... Old hat! by gnovos · · Score: 2

    Thay've been doing this in Afghanistan for years...

    --
    "Your superior intellect is no match for our puny weapons!"
  46. Re:I'll sacrifice some Karma over that one by carm$y$ · · Score: 2

    [...]sounds like crap.

    Well, it's sampled at 2000Hz, what would you expect? Coolness aside, it's similar to whistling 1200 baud: next-to-impossible to use and absolutely useless.

    But again, I admit I regret getting rid of my c64 ten years ago: it would've been such a cool thing these days (with JUNIS and all these other guys bringing it back to mainstream etc. :)

    --
    -- No sig today
  47. Warez??? by YeeHaW_Jelte · · Score: 2, Funny

    Couldn't they just chuck the audio-cassette and insert one with some cool new c64 gamez?

    --

    ---
    "The chances of a demonic possession spreading are remote -- relax."
  48. c64/tcp by devonbowen · · Score: 3, Interesting

    Ah, memories. Back when C64's were actually modern, I attached a hardware UART to the bus and used it to drive a ham radio packet modem (at a whopping 1200 baud). I wrote enough of the IP layer in hand coded 6502 assembly language to get ping and basic routing working. Then I pinged our BSD 4.3 Tahoe machine at the university five miles away. This was in the mid-80s or so. Unfortunately, I never had time to continue up the TCP/IP stack. Glad to see these guys pushing the limits of that little box.

    Devon

  49. Wasn't April Fools' a while ago? by jht · · Score: 2

    No, really.

    Actually, assuming it's real, it's holding up pretty well so far. The C64 was one heck of a versatile machine. A friend of mine used to use them as a controller for his house back in the '80s - he wired up an expansion bus for them, wrote his own OS, and had it interfaced to a ham radio for control functions (delivered via DTMF).

    Now that I think back on it, he probably single-handedly kept the C64 hardware market alive a few extra years. Because every three months or so, all the stresses would blow out the C64 power supply, and it was generally easier for him to just buy another one than it would have been to fix it.

    --
    -- Josh Turiel
    "2. Do not eat iPod Shuffle."
  50. Access statistics update by adadun · · Score: 5, Interesting

    It has now been four and a half hours since this appeared on the front page, and our C64 server is still up and running.

    I was just able to reach the access statistics page. There has been a total of 32000 accesses (of which 8000 came before the Slashdot attack). 25% of the accesses have been for the /index.html page and only 1% have been for the RealPlayer description file /c64.ram.

    24000 hits in 4.5 hours, thats nearly 1.5 hits per second.

    1. Re:Access statistics update by Binky+The+Oracle · · Score: 2

      Remember the old One Line Program contests in RUN magazine? Those were cool. I guess the Obfuscated perl contests are the closest things we have to that now. =-)

      --

      Slashdot comments... splitting hairs since 1997.

  51. a bit of nostalgia by psyklopz · · Score: 2, Interesting

    This reminded me of something I used to do when I owned a C64 myself.

    There used to be a program that could take an audio recording and digitize it using the cassette reader. (It was called the Digitizer?)

    And the sound really was really awful.

    I believe the program simply read the audio track as if it were data, and saved the data. Then on playback it just pumped the audio frequencies through the sound unit.

    The cassette player was only intended to be sensitive within certain high frequencies (If you've ever played a C64 data tape in a tape recorder, you know what I'm talking about), which is why actual audio didn't read very well.

    But it's a really brilliant idea for sampling sound.

  52. Re:Come on now by Boiling_point_ · · Score: 2

    And wait ten seconds for a karma whore to post a link to it?

    Hell, I would, if I wasn't at 50 :)

    --
    "If you create user accounts, by default, they will have an account type of Administrator with no password." KB Q293834
  53. Looks like Adam has another one out there. by mj01nir · · Score: 2

    This one is running a httpd on a C64, but is slip connected to a Linux box for its connectivity rather than having its own ethernet. http://c64.cc65.org/

    --
    the no .sig .sig
  54. WTF? by hyrdra · · Score: 2

    The dunkels.com web site is now unaccessible, giving 403 Forbidden errors...why?

    --


    "I'll just chip in a bit for RedHat: I actually have that installed on my university machine." - Linus, '95
  55. Netcraft? by zeptic · · Score: 2, Funny

    I would have loved to see what Netcraft would report, unfortunately it can't find the server.

  56. Overclocked by eyeball · · Score: 2

    I wonder if they overclocked it. Don't laugh, I'm completely serious. We use to do that to C64's back then. All you had to do was throw a slightly faster chystal in there and the system ran faster (although we would actually mount the old and new crystals on a toggle switch since fast-mode would break some things).

    --

    _______
    2B1ASK1
  57. Re:Isn't that a C-128?! by mvdwege · · Score: 3, Informative

    No. It's a C-64 v2. Later C-64s came in a C-128-like case, with a modified chipset. They used the 85xx series of CMOS chips, like the C-128. Most important difference was in the voltages used to drive them. I believe the 6581 SID used a +12 volt line to drive its oscillators, whereas the 8581 used +5 volt.

    I may be wrong, but I do remember that the 85xx series could not be used in 65xx slots. That was a bastard when my 8581 died in my C-128, as that part was produced in such slight quantities that I could only get a 6581 as a replacement, which was no use. I not only lost sound, but I lost my random number generator as well (the RND function was seeded from the white noise oscillator in some programs).

    Mart
    --
    "I know I will be modded down for this": where's the option '-1, Asking for it'?
  58. Re:My goodness. by multipartmixed · · Score: 3, Informative

    > Commodore was actually the first to mass-market
    > a system based on that type of head & disk format

    Bzzt! Wrong. As far as I know, IBM was, but not Commodore. While its true both systems used 5.25" double-density disks, IBM PC disks are MFM encoded; Commdore's disks are GCR encoded from the 4040 (late 70s) until the release of the 1571 (late 80s). The 1571 added an MFM encoding mode and double-sided capability in order to be compatible with CP/M disks for the CP/M mode of the C128. That was the first drive able to read PC floppies, although extra hacking was required.

    The 4040 (cum 1530, 1540, 1541) disk format that we're all familiar with held 170K -- actually, 169984 bytes of data after formatting, arranged in 664 blocks of 256 bytes.

    --

    Do daemons dream of electric sleep()?
  59. ..might...still...work... by multipartmixed · · Score: 2

    You'd have to jumper the default memory mapping by hand, and not use any programs which make use of bank-switching code. (Whoops, there goes everything interesting).

    The only concern I'd have is the VIC chip in that scenario; it might not be able to get at screen ram with the memory layout hard-coded.

    Hmm, now where is my C64 PRG with the schematics at the back...

    --

    Do daemons dream of electric sleep()?
    1. Re:..might...still...work... by AndrewHowe · · Score: 2

      The VIC chip always reads from RAM, that is the only way to read the contents of bytes $0000 and $0001. You stick a sprite in collision detection mode and read it one pixel/bit at a time.

    2. Re:..might...still...work... by multipartmixed · · Score: 2

      That sounds right (remember, it's been fifteen years!! :-)

      Now that I think about it, it *should* work. The VIC reads/writes RAM, which IIRC is under ROM. Except for the character set, of course.

      I was thinking that jumping the address bus decoders (74138s?) into the right "shape" for the 6502 to use the default config might screw with the VICs access to chipset select lines. IIRC, the VIC puts the 6510 to "sleep", diddles the CS/A lines, and tells the 6510 to wake up when its done. There must be another bit of glue logic on the board that we could mess with (maybe adding a gate or two) that would allow the VIC chip to do what it wanted to. Hmm.

      Again, I wish I had the schematics in front of me, it's SOO hard to remember stuff that long gone by. Anybody know if they're available online anywhere?

      --

      Do daemons dream of electric sleep()?
    3. Re:..might...still...work... by mvdwege · · Score: 2
      IIRC, the VIC puts the 6510 to "sleep", diddles the CS/A lines, and tells the 6510 to wake up when its done.

      You remember correctly. I don't know if it's a feature of the 6510 specifically (I never programmed another CPU from 65xx family), but the processor in the C-64 was fully DMA-capable.

      Memory access was not concurrent, so any chip triggering the DMA line put the CPU off the bus, but that was exactly what the VIC chip did. That's also the reason why the C-64 ran faster when you blanked the screen.

      Mart
      --
      "I know I will be modded down for this": where's the option '-1, Asking for it'?
  60. There's another C64 web server... by OrangeHairMan · · Score: 2, Interesting

    Check out this other C64 web server, running on the same server setup, just no streaming audio: http://c64.cc65.org/

    Orange

    1. Re:There's another C64 web server... by hawkline · · Score: 2, Funny

      Why do people think they can link to things like Commodores, their Grandmother's computer, a Yugo, Paul Reubens himself, and think the webserving capability is going to hold up to hundreds of timewasting /.ers thinking "oh, this may actually be cool", despite the fact no one really honestly cares (ok I did enough to click on all the links, they didn't work, hence my bitterness).

  61. Right idea, wrong explanation by multipartmixed · · Score: 2

    The 1520 datasette isn't "intended to be sensitive within certain high frequencies" -- it's basically an on-off device. Is there sound? On. Is there no sound? Off.

    The reason it sounded like high-frequency shrieking is because that's how your ears perceived the rapid transition from sound-to-no-sound.

    Okay, so it sounds like we're talking about the same thing, but the subtle difference explains a lot.

    The digitizer program you're talking about was published in Compute's Gazette, I believe. Basically, it sampled the data from the tape player as the tape moved over the head. If there was sound, it jotted down a one; if there was no sound, it jotted down a zero. So, we've got a _one_bit_sample_rate_ -- nothing to do with frequency ranges at all!

    The faster you can sample (and the CPU limits that quite effectively!), the better resolution you can get, but it is still one-bit sound, so it'll still sound like crap.

    The playback program used a bug in the 6561 SID chip to replay one bit sounds quickly. Transitioning the volume from min to max or back was a fast operation (STA, XOR, STA -- 8 cycles, maybe?) and produced a side-effect "click". Not all C=64s had this side effect though, so some people couldn't play the music! Hahahaha. You poor bastards with the C64cs! :-)

    --

    Do daemons dream of electric sleep()?
  62. Re:Didn't Dr. Who... by JimPooley · · Score: 2

    No no no!
    During the 80s, the console on the tardis quite obviously contained a BBC Micro...

    --

    "Information wants to be paid"
  63. Funding suggestion by tadas · · Score: 2, Funny

    These guys should cut a deal with Unisys to host www.wehavethewayout.com.

    --
    This page accidentally left blank
  64. C64: cooking with BASIC by Frank+T.+Lofaro+Jr. · · Score: 4, Funny

    Well if you want to cook a C64, there is a BASIC command that may do it:

    WARNING: Use of this is at your own risk! May destroy hardware! Not recommended for any machine you'd like to keep! I WILL NOT BE HELD LIABLE FOR ANY DAMAGE WHATSOEVER

    POKE 53270, PEEK(53270) OR 32

    I did it and I could feel heat coming up from the keyboard and a smell like thermal paste overheating or something.

    I turned it off very quickly and it did survive.

    It was responsive and with a normal display right until I cut the power.

    Some C64 docs say bit 5 of register 53270 is the reset bit for the VIC controller.

    Some just say, ominously:

    "ALWAYS SET THIS BIT TO 0!"

    Why a reset bit would cause an overheat is beyond me. Anyone have a clue? I'd really like to know what is so bad about setting that bit. I was hoping it would just be a reset bit.

    --
    Just because it CAN be done, doesn't mean it should!
  65. Re:why promote realaudio??? by GTRacer · · Score: 2
    Oh dear God, why IHBT...

    Try again, it's Ogg Vorbis.

    GTRacer
    - Goodbye Karma Kap!

    --
    Defending IP by destroying access to it? That makes sense, RIAA/MPAA. Go to the corner until you can play nice!
  66. Re:The VIC-20 and others... by Afrosheen · · Score: 2

    2003 Kissed a girl for the first time, computer now sits in dusty corner.

  67. Re:Realnetworks soon irrelevant! by Gordonjcp · · Score: 2

    Yep, OGG is much better anyway. Their advanced codecs are closed, and that serves me right for posting before I've finished my first gallon of coffee.

  68. "Because You Can" Category by Tony.Tang · · Score: 4, Interesting

    This is a cool project. /. should add a new category called, "Because You Can." You see, there are a lot of wicked projects that we cover here, but they're not so much funny as, "This is totally sweet." (e.g. linux on ____, webserver on _____, and now of course, real-audio streaming on _____).

    Invariably when we cover these, you get a few responses like this: "Why would you ever want to do this... blah blah."

    Invariably, the response is: "Because you can."

    The next step, of course, after creating such a category, is to make sure it's mirrored well before it's posted. (*wistful look*)

    Now, I haven't checked whether this story is a hoax or not, but if it is, then it should be in the "Funny" category. Otherwise, consider this post as a call for a new category called, "Because you can!"

  69. More updates by adadun · · Score: 2

    11 hours after the Slashdot appearence, the C64 is still running. It is a bit slow because of the large amount of traffic, but it is still possible to reach it. In fact - the C64 seems to handle the load better than my web hosting provider for dunkels.com who apparently had to start denying access because of the overload.

    About half an hour ago, I managed to get the access statistics. It shows a total of 63000 accesses, which is twice as much as 5 hours earlier. 18000 accesses (28%) was for the /index.html page.

  70. Slashdotted? by Mordaximus · · Score: 2, Funny

    I tried the posted link but all I got back was "Press Play on Tape"

  71. Re:The VIC-20 and others... by Sj0 · · Score: 2

    Computer histories are always fun. :)

    '86 TRS-80 COCO2 /w enhanced color BASIC
    '89 C64
    '93 8088 with Herc mono screen, 640k expansion card
    '94 added 80286 board and chip to the aforementioned system.
    '95 80386DX 25 with a bad floppy controller.
    '95 80386SX 16 with the 387 copro chip
    '96 80486SLC 40 which was too unstable to use
    '97 Pentium 90, 16 MBs of RAM, Avance Logic video
    '98 K5 PR90
    '99 Pentium 166, S3 ViRGE GX 3d decellerator
    '00 K6-2 400(@60mhz*6x=360), 32 MB of RAM, S3 Savage4 GT PCI
    '02 Duron 900, 128MB DDR RAM, Nvidia Geforce 2 MX. PCChips Motherboard. 60 gigs of HD.

    Damn kids these days, starting on their P133s, they don't know what a computer is capable of!

    --
    It's been a long time.
  72. port 6510 by Alcoholist · · Score: 2, Insightful

    I notice the status pages are found on port 6510. Nice touch.

    --
    Bibo Ergo Sum.
  73. Inifinity Machine by Skuld-Chan · · Score: 2

    The inifinity machine - I guess its pretty rare these days, but I got mine at the local fred meyers. I think in Europe it was called the "Game Killer". Basically the cartridge when inserted and you switched a C64 (or C128) on it would display this crack intro sort of thing - hit the space bar you'd bop back to the basic screen. When you loaded a game it would work just like normal, but when you hit the little red button on the side the screen would go blank for a second and you could no longer be hit by the bad guys.

    Basically all it did was disable the sprite collision register - which you can do with an action replay cartridge - or the "final cartridge" (not to be confused with the final ethernet). You can also do the same thing with most every single emulator.

    Lets see - it actually helped me finish several "unbeatable" games like commando, green beret, ghost and goblins, iridium, and a whole bunch more actually - lets face it there were some games out there that were really hard.

  74. Re:[Slightly OT] One line programs? 64kb programs! by Explo · · Score: 2

    You should check out Planet Potion [pouet.net] from Mekka Symposium 02 [demo.org], Germany. This is the winner 64kb intro for Amiga which has an advanced 3d engine, speech synthesis (vocoder style) and lots of other effects perfectly blended together and synched with the music (the music is awesome considering it's 100% generated with code). All in less than 64kb of course.


    Erk. The divx pretty much blew my head away. Even keeping in mind that it needs some pretty non-average Amiga to run, it was definitely more than impressive. Although not as heavy-impacting as the C64 case, I recommend seeing that for any Amiga old-timer. ;)

    --
    Everyone who makes generalizations should be shot.