Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
Emulation (Games) Programming Software The Internet Technology

Internet Archive Launches a Commodore 64 Emulator (hardocp.com) 77

The Internet Archive has launched a free, browser-based Commodore 64 Emulator with over 10,500 programs that are "working and tested for at least booting properly." Interestingly, the emulator comes just before the launch of Commodore's own C64 Mini. "It's based off the VICE emulator version 3.2, which is a triumph of engineering," adds HardOCP.
This discussion has been archived. No new comments can be posted.

Internet Archive Launches a Commodore 64 Emulator

Comments Filter:
  • Memories (Score:5, Interesting)

    by sgtron ( 35704 ) on Wednesday October 10, 2018 @03:13AM (#57454588)

    I browsed through the collection and a lot of those titles certainly brought back memories. I'm 50. I'm sharing with my father who spent many hours with me as a kid teaching me how to program in basic on our humble Commodore 64.

    • GO 64
    • by mentil ( 1748130 )

      My older brother was given one by a rich relative in the late 80s; I played many a coop game with him on it (Gauntlet was probably his favorite). He got a disk drive cheap from his high school, which was replacing their C64s with newer PCs; I recall he repaired/replaced that a few times, and I think he used stock firmware because the load times were terrible. I remember he spent all day typing in arcane symbols from a magazine so that he could play Crossroads, which we enjoyed afterwards.
      I got the Vic 20 as

    • Re: (Score:3, Insightful)

      by Shaitan ( 22585 )

      I'm 37. My grandfather bought me a box of "computer stuff" at an auction in the 90's. Two C64's and two of the 5 1/4 disk drives, a TRS-80 and a commodore monitor and no other software.

      I learned to code on it... I had to, there was no other way to do anything with it. lol First basic, then dumping memory with peek and poke and discovering additional functionality, finally ASM. I remember figuring out how to use the memory chip in one of the disk drives as storage. I wrote a word processor I called word star

    • Re:Memories (Score:5, Insightful)

      by AmiMoJo ( 196126 ) on Wednesday October 10, 2018 @06:30AM (#57454968) Homepage Journal

      The C64 is one of the most interesting machines ever made. The hardware was powerful but needed a lot of skill to get the most from. You can see this by comparing early and late C64 games; the difference is incredible, you wouldn't think they were the same machine.

      The sound chip, for example, could produce some amazing output but had to be programmed directly. Musicians were coders as well, and of course as well as figuring out how to make the chip produce those sounds they had to fit it all within the limited memory and CPU power available. An interesting bit of trivia, the C64 was where the iconic "fake chord" was invented, where two or three notes are played in quick succession on a single channel to make up for the lack of greater polyphony.

      The CPU was 8 bit and ran at 1MHz. But it had to share the memory bus with the video chip, so it couldn't make use of every cycle, and of course there were no caches or anything like that. It had a few tricks like the zero page, which gave it 256 fairly fast register-like bytes of RAM to play with. Compilers were expensive and almost exclusively had to run on more powerful machines for cross-compilation, so most software was written in BASIC or assembler.

      All sorts of tricks were developed to make the most of this limited CPU power. For example, "speed code" is where instead of storing data separately in RAM it's directly inserted into the machine code instructions as immediate operands.

      The video hardware was also very hackable, with all sorts of tricks possible to produce effects that were way beyond what the designers imagined. The Amiga took this to another level, but the C64 was better understood at an earlier stage. People reverse engineered it completely, understanding the internal workings of the video chip and being able to write code that made full use of every available memory access slot. That's something that didn't really happen with the Amiga until emulators started to make it easier, although some people came close.

      The C64 was probably the pinnacle of 8 bit home computers.

      • by jeremyp ( 130771 )

        it had to share the memory bus with the video chip, so it couldn't make use of every cycle

        Actually, most of the time it could. The 6502 split the 1MHz clock into two phases: in the first half of the cycle it did internal stuff and it did memory accesses in the second half of the cycle. In fact, it always did a memory access in the second half of every cycle even if it didn't need to.

        In normal operation the VIC chip accessed the memory in the first half of the clock cycle. So both the video circuitry and the CPU could access the RAM with no slow down. The only exception to this was when displayin

        • by AmiMoJo ( 196126 )

          The CPU normally has 63 cycles per scanline available, but when the VIC-II needs to fetch colour data every 8 lines this is reduced to 23. Reason being that the VIC-II can't fetch both the bitmap data and the colour data on only the low part of the clock cycle, so has to lock the CPU out for some of the high parts too.

          During that time the CPU is frozen as it can't fetch new instructions. Sprites had a similar effect, as you note.

      • An interesting bit of trivia, the C64 was where the iconic "fake chord" was invented, where two or three notes are played in quick succession on a single channel to make up for the lack of greater polyphony.

        I grew up with the VIC 20 and as far as I remember the C64 had the same (or possibly better) sound capabilities, as both machines used the SID chip.

        There were 3 voices available (registers 36874, 36875 and 36876) so you could play 3 separate notes simultaneously.

        (also from my distant memory, 36877 was a separate voice for white noise, and 36878 controlled the overall volume,

        • by AmiMoJo ( 196126 )

          Right, there were three voices available. However, it's not much use if you need all 3 to play a single chord, with none left over for percussion or other instruments. So the solution was to play three notes in succession on one channel.

          I'm trying to remember who invented it. I read it once but can't find it now.

      • by sad_ ( 7868 )

        there is something to these 8 bit home computers, in that, as you say, programmers knew them inside out.
        this was not unique to the c64, but also amstrad cpc and zx spectrum, although the popularity of the c64 continues to even today (while the communities of other home computers are much smaller).

      • by mnmn ( 145599 )
        "People reverse engineered it completely"

        I'm not sure they even had to; I remember my C64 came with very detailed circuit diagrams of the whole motherboard and something like a developers guide. They were way over my head but it didn't look like one had to reverse engineer much.
        • by AmiMoJo ( 196126 )

          Indeed they supplied schematics, sometimes on request, for a lot of 8 bit machines. But I'm talking about the internals of the video chip, which were only documented from the point of view of the control registers and overall operation.

          By hacking and experimenting people figured out the internal workings down to the memory access timings and sequences.

      • by rklrkl ( 554527 )

        The pinnacle of 8-bit home computers was actually the BBC Micro, which had a superb OS and BASIC (including a 2-pass 6502 assembler that the C64 could only dream of) and an excellent disk drive system that wasn't slower than tape (hint: the C64 disk system was a complete dog).

        There are plenty of BBC Micro emulators out there, but you might find the most convenient one to be on Android: Beebdroid [google.com].

        • by AmiMoJo ( 196126 )

          That's true to some extent, it certainly was a powerful machine. In the other hand the graphics were somewhat limited for games and it was expensive.

          One thing that really impressed me about the BBC Micro and the later Archimedes was how efficient the BASIC interpreter was.

    • by Anonymous Coward

      Too bad their JavaScript emulator is a pile of shit that doesn't work. Most of the games I tried either wouldn't start, would load and then crash or load and not do anything.

    • by spudnic ( 32107 )

      Never heard of it.

  • Arnold's archive (Score:5, Informative)

    by Aethedor ( 973725 ) on Wednesday October 10, 2018 @03:55AM (#57454662)
    I don't know of any game that this archive [c64.org] doesn't have. C64 forever! :)
  • Sitting there with river raid on screen, but nothing starts the game.
    • by mentil ( 1748130 )

      Took me a while to figure that out. It's 0 key on your numpad for the fire button, numpad arrow keys for movement. Have to turn numlock off first.

      • Took me a while to figure that out. It's 0 key on your numpad for the fire button, numpad arrow keys for movement. Have to turn numlock off first.

        That didn't work for me, however, pressing f12 brings up the emulator config, and selecting "hardware/joystick" then setting "joystick 1" to "numpad" worked for me.

  • Jeri Ellsworth (Score:5, Interesting)

    by Xenna ( 37238 ) on Wednesday October 10, 2018 @04:41AM (#57454752)

    Didn't she create something like the C64 mini as long ago as 2004?

    https://en.wikipedia.org/wiki/... [wikipedia.org]

    • Been following her for a long time and she seems to be a hell of a tinkerer. She can do amazing things
  • Oh wow. Well not so much the loading times, but still great fun.

  • Commodore's Own? (Score:4, Interesting)

    by JPeMu ( 942971 ) on Wednesday October 10, 2018 @05:25AM (#57454852) Homepage
    Although I do find the C64 Mini an interesting project, is it really accurate to call it "Commodore's own"? Their Indiegogo page actually seems to confirm that:

    "Disclaimer – Retro Games Ltd, THEC64(tm) are in no way associated with Commodore Holdings B.V. THEC64(tm) have not been prepared, approved, or licensed by Commodore Holdings B.V in any way and are not licensed to use the Commodore(R) name or 'Chicken Head' logo. The Commodore Roms, BIOS and THEC64(tm) form factor are officially licensed from Cloanto https://cloanto.com/ [cloanto.com]"

    As far as I was aware only the software is licensed, and it's nothing to do with Commodore Holdings B.V. who own the Commodore brand name?

    • Re: (Score:2, Informative)

      by Anonymous Coward

      Commodore Holdings is pretty much an IP-troll that obtained the logo and tries to capitalize on it.
      Up front on their homepage is legal cases, not products.

      • by JPeMu ( 942971 )
        Yes indeed - it's a rather sad and grubby state of affairs for the brand that (mostly) proved to be the most formative in my computing adolescence.

        Is it fair, therefore, to say that Cloanto remains, for all intents and purposes, the primary licensee of the Commodore products (sans Brand/Logo)?
  • The C64 Mini has been sold in stores for almost a year now.
  • Because that would bring me back. Otherwise I could give a flying you-know-what.
  • Only I don't know where to buy 2 5/8" floppies.
    • by Wulf2k ( 4703573 )

      Just find one, then use a holepunch to make it double sided.

      • I'm sure if I search long enough in my parts bins, I can find the notcher that I used to use for making my own DSDD 5.25" disks. It is blue and makes a nice square cut very cleanly. I could never get the cut so clean with a stationery hole punch.
  • Back in '84, the first commercial programming job I did after retiring from the Army was to develop a networked C-64 send-and-receive Morse Code instruction program for the SF radiomen at Bragg. Ended up working very well indeed, but I can't find anyone at all out there now who learned from that system. (I didn't track the school or the code once it was done.)

    Army got a real deal: $5000 for an indefinite license for the whole thing! (I was new in the programming field and wanted something to put in my r

  • by commodore64_love ( 1445365 ) on Wednesday October 10, 2018 @12:07PM (#57456214) Journal

    You can sit at work & listen to classic SIDtunes that used to play in videogames or demos. There are also music emulators you can download for classic Nintendo, Sega, Playstation consoles & integrate with Winamp

    .

  • It was a little known indie game from "Magic Carpet Software", but it was really cool, some medicine man dancing for rain.

    Medicine Man [gamebase64.com]

  • Game Metadataâoe"
    Game File Listâoe"
    Emulator Metadataâoe"
    Game File (1 of 1)âoe"

    And then stuck in my IE11 and SM2.49.4 web browsers. :(

  • Challenge accepted.

An Ada exception is when a routine gets in trouble and says 'Beam me up, Scotty'.

Working...