Slashdot Mirror


Source Code of Several Atari 7800 Games Released

jadoon88 writes to share a series of old Atari 7800 games that have been unofficially open sourced. "Remember Dig Dug or Centipede or Robotron? They used to be favorites when Atari's 7800 series was still around. Since the era of those consoles is over, and a different world of interactive reality gaming has taken over, Atari has unofficially released source code of over 15 games for the coders and enthusiasts to admire the state-of-the-art (because this is what it was back then). During those times, nobody would have imagined in their wildest dreams the games that Atari's developers floated into the gaming thirsty market and instantly swept across continental boundaries. But things changed soon after that and a company once regarded as one of the most successful gaming console manufacturers and developers faded away in the pages of our technology's hall-of-fame."

153 comments

  1. Great! by ae1294 · · Score: 2, Insightful

    Well this is really great and I thank them for finally releasing code from like 40 years ago but what does 'unofficially released source code' mean exactly???

    1. Re:Great! by Acapulco · · Score: 4, Interesting

      My thoughts too. What does "unofficially released source code means" exactly?

      After some thinking I came to the conclusion that it means you can download the code, but without an open source license applied to it, such that if someone tries to buy the code from them (or the company), they can just stop giving away the files, state that it's still propietary and then still have the ability to sue someone who develops something based on those files. That's the only logical explanation I can come up with.

      Like saying "here, I'll give you my car as a gift" but not transfering the ownership via legal papers. If at some point someone wanted to buy my car I can just tell you "hey, that car I gave you for free....it's no longer yours, it's mine to sell now" and you would have (I presume...IANAL) no legal way of claiming otherwise.

      No?

      --
      Slashdot. Unreadable news to annoy nerds. - wonkey_monkey
    2. Re:Great! by ae1294 · · Score: 3, Funny

      Shaking head in disbelief... Still trying to get someone to pay for Dig Dug after all these years....

    3. Re:Great! by Mekabyte · · Score: 4, Informative

      It's unofficial because it wasn't released by Atari, as the post suggests, but by the Atari Historical Society, copied from source disks recovered from Atari's trash.

    4. Re:Great! by Anonymous Coward · · Score: 0

      Surely Atari have release the source of every 7800 game ever written? All 7800 & 2600 games were written in assembly. Just disassemble the ROMs.

    5. Re:Great! by Acapulco · · Score: 5, Insightful

      Then shouldn't it be "illegal" instead of "unofficial"?

      If Atari still has the copyright on some of those games, then it would be illegal to do so, isn't it? Even when they probably won't sue or anything, how can I "unofficially" release the source code to, say, MS-DOS without MS suing (suEing? sp?) me?

      --
      Slashdot. Unreadable news to annoy nerds. - wonkey_monkey
    6. Re:Great! by armanox · · Score: 2, Interesting

      SCOTUS ruled that what you throw out is public property...

      --
      I'm starting to think GNU is the problem with "GNU/Linux" these days.
    7. Re:Great! by hedwards · · Score: 3, Insightful

      Does that even apply? It's not the physical copy to which Atari has legal rights, they have the copyright to the code on the disks. And that's a huge difference, if that weren't the case then people would be perfectly free to copy disks as much as they liked, provided they could find one that had been tossed in the garbage bin.

      Somehow I don't think that theory would hold up in court, well either theory.

    8. Re:Great! by osu-neko · · Score: 5, Insightful

      SCOTUS ruled that what you throw out is public property...

      Right, but that just means the discs are public property (assuming the data was on disc). If I throw away a book, someone can grab that book out of the trash and claim it for themselves. However, the author does not lose the copyright (even if it was the author who threw away the book).

      --
      "Convictions are more dangerous enemies of truth than lies."
    9. Re:Great! by Duhavid · · Score: 1

      Isn't it more like if someone threw away the printing press used to make the book, rather than the book itself?

      If they had thrown away the binaries, I would agree with your analogy.

      --
      emt 377 emt 4
    10. Re:Great! by ae1294 · · Score: 1

      Just disassemble the ROMs.

      can't do that... violation of the DMCA!

      Alas Dig Dug, i knew him well...

    11. Re:Great! by John+Hasler · · Score: 1

      It's just like most everything else people put up on the Web. They're just saying you can download a copy and look at it but you can't distribute any copies or create any derivatives. I suppose some people might find it mildly amusing. Nothing to do with Open Source, at any rate.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    12. Re:Great! by hldn · · Score: 1

      Like saying "here, I'll give you my car as a gift" but not transfering the ownership via legal papers. If at some point someone wanted to buy my car I can just tell you "hey, that car I gave you for free....it's no longer yours, it's mine to sell now" and you would have (I presume...IANAL) no legal way of claiming otherwise

      i seem to recall something along these lines whereby if the person who was gifted the car by these terms could prove that they had sole possession of the car for a sufficient amount of time they were able to have it legally transfered to their name.. im also not a lawyer and my memory is hazy on this -- i dont even remember where i recall this from -- so maybe someone with some expertise can clarify.

      --
      http://www.accountkiller.com/removal-requested
    13. Re:Great! by KasperMeerts · · Score: 1

      Those are completely without comments and most importantly, variable names.

      MOV HEALTH, AX

      is more understandable than

      MOV BYTE 0xFF43, AX

      --
      As long as there are slaughterhouses, there will be battlefields.
    14. Re:Great! by osu-neko · · Score: 2, Informative

      Isn't it more like if someone threw away the printing press used to make the book, rather than the book itself?

      Um, no. The equivalent to throwing away the printing press would be throwing away the disk drive.

      If they had thrown away the binaries, I would agree with your analogy.

      Let's refrain from using analogies then and stick to the facts. If you throw away a piece of media, that piece of media becomes available to whoever wants to fish it out of the trash. However, copyright for any intellectual property on said media is unaffected. This is the actual legal fact, and it makes no difference whether we're talking about a novel printed on the pages of a book or source code recorded on a floppy disk. You own the book or the disk, but the author retains the copyright of the novel or program. Neither situation is an analogy for the other, both are specific instances of the legal rule.

      And it goes well beyond fishing out of the trash. I can explicitly give you the source code for a program on a disk, and I still retain copyright. Unless I also give you a licensing agreement, I can sue your ass off if you publish what's on the disk I gave you.

      --
      "Convictions are more dangerous enemies of truth than lies."
    15. Re:Great! by JWSmythe · · Score: 2, Informative

          That would depend on where you live.

          Where I live, a vehicle can be considered a gift or abandon. If it's abandon and you can show that it's been on your property for such a period, you can petition the courts to title it to you. If it's a gift, you'd need to demonstrate that it was a gift. If the legal owner contests an action, then you'd be in a messy court battle. For example, they could say "I loaned him that car for a few weeks. He never returned it, and I couldn't find him or my car. I never reported it stolen, because I believed him to be a friend. Now he's trying to take ownership of the car." What was a simple gift now has put you on the bad end of a grand theft auto charge.

          The same wouldn't apply to software source code that was mysterious and unofficially released. This sounds like someone who had access to the source code leaked it, although way too late to be useful.

      --
      Serious? Seriousness is well above my pay grade.
    16. Re:Great! by Jah-Wren+Ryel · · Score: 2, Interesting

      However, did they ever register the copyright for the source code?
      If not, then any damage awards for this "publication" won't amount to a hill of beans.
      Furthermore, who really owns the copyright on that source? The original Atari has been bankrupted and merged and reverse-merged a number of times to the point where the current "Atari" is really nothing more than a company that bought the trademark 2nd or 3rd hand.
      Without a clear owner to file a copyright infringement case, this simple free distribution isn't likely to get anyone in trouble.

      --
      When information is power, privacy is freedom.
    17. Re:Great! by skeeto · · Score: 1

      Yup, which makes this !opensource, unlike the incorrect statement in the summary that further dilutes the meaning.

    18. Re:Great! by Anonymous Coward · · Score: 0

      Obviously you're not familiar with piracy.

    19. Re:Great! by keeboo · · Score: 2, Funny

      MOV HEALTH, AX

      I don't think the Atari 7800 used a x86 processor...

    20. Re:Great! by Anonymous Coward · · Score: 0

      SCOTUS ruled that what you throw out is public property...

      Does that mean that, since you can be virtually certain someone at some point put source files from the Windows XP source code in the Recycle Bin, those are public property now, too?

    21. Re:Great! by radimvice · · Score: 1

      Yeah, they must be crazy or something...

    22. Re:Great! by Anonymous Coward · · Score: 0

      You don't need to register anything. Copyright is automatic. When you create something it belongs to you. You may choose whatever license you want, you can even release as Public Domain and then it will not belong to you anymore, but by default your works are protected by the (C) laws.

    23. Re:Great! by IntlHarvester · · Score: 1

      Someone might have dug this code out of the trash, but the RTFA implies there is an official press release from Atari where they allow this code to be distributed. (No link? Unfortuantely Atari's corporate site is only in French.)

      BTW, when the original Sunnyvale CA Atari folded, loads of amazing classic gaming crap was dug out of the garbage or found in abandon warehouses and so on.

      --
      Business. Numbers. Money. People. Computer World.
    24. Re:Great! by Anonymous Coward · · Score: 0

      However, did they ever register the copyright for the source code? If not, then any damage awards for this "publication" won't amount to a hill of beans.

      -1, Basic Copyright Knowledge Fail

    25. Re:Great! by westlake · · Score: 1

      SCOTUS ruled that what you throw out is public property...

      When and in what context? The betting here is that the property on question was retrieved from a trash can and introduced as evidence of a crime.

      The gun you tossed in the dumpster.

      Does your GPL'd project become public domain if someone reconstructs the code from the shards of paper that you ran through the shredder?

      That I doubt very much.

    26. Re:Great! by Anonymous Coward · · Score: 0

      However, did they ever register the copyright for the source code?

      You don't need to register copyright on something, if you made it, you have copyright on it. Without a (free) license slabbed on it, you don't have permission to do anything with it.

    27. Re:Great! by Jah-Wren+Ryel · · Score: 4, Informative

      However, did they ever register the copyright for the source code? If not, then any damage awards for this "publication" won't amount to a hill of beans.

      -1, Basic Copyright Knowledge Fail

      Three smug ACs, all got it wrong.

      If you do not register the copyright you can only sue for actual losses, none of this $150K per copy stuff that the MAFIAA gets away with.

      Since this source code is assembly language for a decades old and long extinct game platform any actual losses due to publication and distribution of this source code won't amount to a hill of beans. The cost of the lawyer will probably dwarf any award, thus making it infeasible to file suit against the people who published it.

      Capiche?

      --
      When information is power, privacy is freedom.
    28. Re:Great! by Hal_Porter · · Score: 1

      I'm more concerned what Bush, Reagan, Nancy and Caspar mean here

      LDA GAMETYPE
        CMP #2
        BCS REAGAN
       
        BIT GLADRAG
        BVC NOBONUS
        LDA LIVES
        BMI PLAY1
        LDA #$00
        LDY #$30
        TAX
        JSR ADDSCORE
       
      PLAY1 LDA GAMETYPE
        LSR A
        BCC NOBONUS
        LDA LIVES+1
        BMI NOBONUS
        LDA #$00
      ; LDY #$30 ;Y SHOULD STILL BE 30
        LDX #1
        JSR ADDSCORE
       
      NOBONUS
        LDY RACKNUM
        INY
        CPY #27
        BNE STRCK
        LDY #19
      STRCK STY RACKNUM
        TYA
        AND #3
        CMP #2
        BNE BUSH
        LDA GLADRAG
        ORA #$80
        BMI NANCY
      BUSH CMP #1
        BNE CASPAR
        LDA GLADRAG
        ORA #$40
        BNE NANCY
       
      CASPAR LDA #0
      NANCY STA GLADRAG
      REAGAN
        LDY CFIGINDX
        INY
        CPY #15
        BNE STCFIG
        LDY #3
      STCFIG STY CFIGINDX

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    29. Re:Great! by Hal_Porter · · Score: 1
      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    30. Re:Great! by ae1294 · · Score: 1

      That's not the dig dug I remember. Sorry try again...

    31. Re:Great! by TheVelvetFlamebait · · Score: 1

      Hey, I never knew that. Turns out you're right.

      http://www.publaw.com/advantage.html

      The second reason a copyright owner should register a copyrighted work in a timely manner is that the copyright owner will be eligible to receive "statutory damages" and "legal costs and attorneys' fees" from a copyright infringer. A timely manner means that the copyright registration was filed prior to an infringement taking place or within three months from the publication date of the work.

      --
      You know, there is a difference between trolling and pointing out the flaws in your reasoning. Just saying.
    32. Re:Great! by LarryZeweka · · Score: 1

      Its illegal for several reasons. He trespassed on Atari private property and he released copyrighted information without permission from Atari, who btw are still in business.

    33. Re:Great! by Anonymous Coward · · Score: 0

      It would seem to me that, since the source code was never published, it would be unconstitutional allow it to be copyrighted. There's no way that copyrighting a secret promotes the progress of science or useful arts.

    34. Re:Great! by Anonymous Coward · · Score: 0

      I'd pay. Damn communists... it's Independence Day. Go spew you open source crap on someone else's country for the next 12 hours.

    35. Re:Great! by ae1294 · · Score: 1

      Go spew you open source crap on someone else's country for the next 12 hours

      hahahaha........... no....

    36. Re:Great! by Dogtanian · · Score: 1

      Atari, who btw are still in business.

      The modern Atari *isn't* the original company by any reasonable measure. The original Atari is effectively dead; it was split in 1984, and both its descendants are now gone. Atari Games (the arcade division) was later purchased by Midway, then renamed, then closed down in the early-2000s. Atari Corp. (the home and computer hardware division) was bought by Jack Tramiel and enjoyed some European success with the ST before going totally downhill in the 1990s and merging with a third-rate hard drive manufacturer which went bankrupt not soon after.

      Hasbro Interactive purchased the name and some intellectual property rights, and later sold those on to Infogrames.

      The current "Atari" is little more than a trading name of Infogrames.

      --
      "Slashdot - News and Chat Sites Deviant". (Click "homepage" link above for details).
    37. Re:Great! by retrorogue · · Score: 1

      "Officially unofficially" means this guy jadoon88 stole the source code material from Curt Vendel's atarimuseum.com site, and presented it as his own - including posting said announcement here. Curt, who has a working relationship with the current Atari, has the original mainframe tapes these were archived off of and put them up as an educational resource for 7800 homebrewers. They have not been released to the public domain in any capacity.

    38. Re:Great! by Anonymous Coward · · Score: 0

      And an equally smug 5-digit UID got it somewhat wrong, too. Copyright wasn't automatic in the US until ~1989 - if you hadn't registered, you had no copyright.

    39. Re:Great! by Jah-Wren+Ryel · · Score: 1

      And an equally smug 5-digit UID got it somewhat wrong, too. Copyright wasn't automatic in the US until ~1989 - if you hadn't registered, you had no copyright.

      I'm smug because I know my shit.
      You don't.
      You have confused ratification of the Berne Convention with automatic copyright protection. Sure, the Berne convention included automatic copyright starting in 1971 and was only ratified in the US in 1989, but that didn't prevent the lawyers from implementing parts of the convention before it was fully ratified.

      Automatic copyright started in the US in 1976 with the passage of the Copyright Act of 1976. Well before the advent of the Atari 7800.

      --
      When information is power, privacy is freedom.
  2. Emulators? by bezking · · Score: 0

    Is there a point to this besides just ooh-and-aahing over it? It looks like there are several 7800 emulators out there; could these projects build off the code and use it to design their own games? That would be a really cool model for other manufacturers to follow (ahem, Nintendo)...

    1. Re:Emulators? by John+Hasler · · Score: 1

      > ...could these projects build off the code and use it to design their own games?

      Not legally.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    2. Re:Emulators? by Anonymous Coward · · Score: 0

      laughing elf man.jpg

  3. Is there a cross assembler? by Anonymous Coward · · Score: 1, Interesting

    Whatever the ATARI used for a processor, I don't recognize this ....

    main:
    ;
    ; initialize hardware
    ;
            lda #$7 ;lock in 7800 mode
            sta PTCTRL

            sei ;block interrupts
            cld ;clear decimal mode

            lda #0
            sta OFFSET ;future expansion
            sta PTCTRL ;avoid joystick freeze

            ldx #$FF ;init stack
              txs
    ;
    ; init high score
    ;
            jsr initscore ;clear score to zero
            jsr newhiscore ;clear hi sc

    1. Re:Is there a cross assembler? by Anonymous Coward · · Score: 2, Informative

      Looks like 6502.

    2. Re:Is there a cross assembler? by osu-neko · · Score: 3, Informative

      Looks like 6502.

      Actually, it would have to be 65C02 or better. You couldn't do "ldx #$FF" on a 6502, you had to do "lda #$FF" and then "tax" (transfer A to X). The ability to load immediate into the X or Y registers was added on the 65C02. And, don't quote my on this, but I think the 7800 predated the 65816, so I suspect 65C02 is the right answer...

      --
      "Convictions are more dangerous enemies of truth than lies."
    3. Re:Is there a cross assembler? by osu-neko · · Score: 2, Informative

      Okay, curse my failing memory, I believe I just "misremembered" that factoid. On the 6502, you couldn't push or pull X or Y from the stack, necessitating the cumbersome txa, push or pull, tax instead of simply pullings into the desired register. I don't recall now if loading immediate into X or Y worked on the 6502.

      The scary thing is that I remember ANY of this shit over 25 years later...

      --
      "Convictions are more dangerous enemies of truth than lies."
    4. Re:Is there a cross assembler? by Anonymous Coward · · Score: 0

      Is there some particular reason you feel the need to trumpet your own ignorance on Slashdot?

    5. Re:Is there a cross assembler? by DoofusOfDeath · · Score: 4, Funny

      Looks like 6502.

      Actually, it would have to be 65C02 or better. You couldn't do "ldx #$FF" on a 6502, you had to do "lda #$FF" and then "tax" (transfer A to X). The ability to load immediate into the X or Y registers was added on the 65C02. And, don't quote my on this, but I think the 7800 predated the 65816, so I suspect 65C02 is the right answer...

      I like compilers.

    6. Re:Is there a cross assembler? by AKAImBatman · · Score: 5, Informative

      6502c, actually. It's a custom version of the 6502 that was integrated with various other system hardware and could dynamically adjust its clock depending on which memory address was being accessed. (That was how Atari gained 2600 compatibility, which was a custom 6507 chip.)

      It sounded all well and good on paper, but the actual implementation of the processor was a serious PITA. If you weren't careful, you'd accidentally drop the speed to 1.19MHz and throw all your timings off. Even more annoying was that many functions required you to access hardware that dropped the clock speed. The worst offender was the TIA sound hardware because Atari was too cheap to install a POKEY chip.

      Worse yet, the normal 1.79MHz was underpowered for the complex sprite hardware they'd paired it with. The sprite hardware basically processed lists of lists of sprites, requiring sophisiticated data structures to get good performance out of complex, fast moving scenes. And if that wasn't painful enough, you were wise to find a way to keep as much of the structure in ROM as possible so that you wouldn't blow through the mere 4K of RAM.

      The 7800 was an interesting and potentially even useful design, but it simply wasn't practical for most developers. (Many of whom were not computer scientists.)

    7. Re:Is there a cross assembler? by Anonymous Coward · · Score: 0

      Looks like 6502.

      Actually, it would have to be 65C02 or better. You couldn't do "ldx #$FF" on a 6502, you had to do "lda #$FF" and then "tax" (transfer A to X). The ability to load immediate into the X or Y registers was added on the 65C02. And, don't quote my on this, but I think the 7800 predated the 65816, so I suspect 65C02 is the right answer...

      I like compilers.

      I like cake.

    8. Re:Is there a cross assembler? by DoofusOfDeath · · Score: 1

      I like compilers.

      I like cake.

      Mmmm... chocolate compilers...

    9. Re:Is there a cross assembler? by drfreak · · Score: 1

      I just downloaded all the stuff. It looks like their development platform was the Atari ST, which has good emulators out there. They not only included the games, they included the development tools for the ST, as well as NTSC and PAL 7800 OS ROMs!

    10. Re:Is there a cross assembler? by VanessaE · · Score: 1

      Incorrect - both X and Y registers support immediate mode loads, same as the accumulator.

    11. Re:Is there a cross assembler? by Cprossu · · Score: 1

      lda #$7 ;lock in 7800 mode
      Was gonna say, there's a few codes listed in the dev kit that if given will "lock in" either 2600 mode or 7800 mode, pretty cool stuff...

      Some of this code is pretty staggering, I can't even imagine the thought that went into the code of ms. pacman though, all machine language o_o

      I'll go through all the games eventually just to see what was all done, some of it is elegant, some of it is trashy, and some I can't even figure out how it's supposed to work! old time hacks and bugs for the win I suppose!

    12. Re:Is there a cross assembler? by Cprossu · · Score: 1

      I personally like how it tells you straight up that you have to modify and hack up a stock 7800 though, especially the bit of 'and put it back together, if it's even possible' =D

    13. Re:Is there a cross assembler? by multipartmixed · · Score: 1

      Loading immediate worked, otherwise indirect addressing with the accumulator would have been a giant pain in the ass. (assumption: INY and DEY would not be present if the silicon lacked direct load)

      LDY #$FF
      :label
      LDA buffer,Y
      STA newBuffer,Y
      DEY
      BEQ label

      was a fairly common idiom, IIRC. Maybe a CPY #0 before the BEQ, I forget if DEY set the zero flag. I'm about 90% sure it did, though.
      I'm certain you're thinking of PLA and PLP.

      > The scary thing is that I remember ANY of this shit over 25 years later...

      I hear ya there, brother.

      --

      Do daemons dream of electric sleep()?
    14. Re:Is there a cross assembler? by Xebikr · · Score: 1

      Wow. I feel so inadequate after reading that. Where do I turn in my geek card?

    15. Re:Is there a cross assembler? by SpacePunk · · Score: 1

      Here http://www.6502.org/tutorials/6502opcodes.html

      the long hand stuff are just remarks

    16. Re:Is there a cross assembler? by Anonymous Coward · · Score: 0

      The 7800 uses a 6502C, which is basically a standard 6502 with a HALT line attached to it so that the 7800's graphics processor (MARIA) can suspend the cpu temporarily while it looks for graphics info each scanline.

      And ldx is a valid opcode on the 6502C. Hell, even the Atari 2600 could do that with it's 6507 - which is a crippled 6502 chip.

    17. Re:Is there a cross assembler? by MagerValp · · Score: 1

      Actually, it would have to be 65C02 or better. You couldn't do "ldx #$FF" on a 6502, you had to do "lda #$FF" and then "tax" (transfer A to X). The ability to load immediate into the X or Y registers was added on the 65C02.

      No, LDX #$FF is a perfectly valid 6502 opcode. 65C02 only added a few minor things like pushing and pulling index registers, and fixed a few minor hardware bugs. It's kind of irrelevant though, since the 7800 has a 6502C, which uses a plain 6502 core.

      --

      READY.
      #
    18. Re:Is there a cross assembler? by dzfoo · · Score: 1

      Oh yeah?! Well, my dad can beat up your dad!

      P.S. Great comment. And here I was, fancying myself a geeky computer-history and techie buff. I feel so inadequate.

              -dZ.

      --
      Carol vs. Ghost
      ...Can you save Christmas?
    19. Re:Is there a cross assembler? by Anonymous Coward · · Score: 0

      Looks like 6502.

      Actually, it would have to be 65C02 or better. You couldn't do "ldx #$FF" on a 6502, you had to do "lda #$FF" and then "tax"

      Horseshit. I can still remember off the top of my head the hex opcodes I used to use when programming in my PET's machine code monitor. a9 = lda immediate a2 = ldx immediate a0 = ldy immediate

    20. Re:Is there a cross assembler? by macs4all · · Score: 2, Informative

      Looks like 6502.

      Actually, it would have to be 65C02 or better. You couldn't do "ldx #$FF" on a 6502, you had to do "lda #$FF" and then "tax" (transfer A to X). The ability to load immediate into the X or Y registers was added on the 65C02. And, don't quote my on this, but I think the 7800 predated the 65816, so I suspect 65C02 is the right answer...

      BZZT! WRONG! Thanks for playing...

      I have written hundreds of pages of 6502 code, on systems old enough (Apple 1) to have original MOS Technologies 6502s in them, and the "immediate" addressing mode (denoted by the # symbol in the argument) was DEFINITELY in the original 6502.

      Don't believe me? Take a look at this listing of the (nearly completely unused) Floating Point routines that were included in the original Apple II monitor ROM. You will see an immediate load of the X register (LDX #$2) within the first couple of lines of code. This code was written by Steve Wozniak WAY before the Rockwell R65C02 was even on the drawing board!

      What you MAY be thinking of is the fact that you couldn't load the STACK POINTER REGISTER (S) "immediate". You had to do a LDX #STACKTOP (usually set to $FF), and then use the TXS instruction to get the value into the Stack Pointer. This listing of Microchess (originally written in 1976 for the MOS Technologies KIM-1 computer, shows (at the label "CHESS" near the top of the listing) the LDX #$FF then TXS instruction pair mantra used to initialize the stack pointer on the 6502. The comment mentioning "Two Stacks" is referring to a software PSEUDO "stack pointer" (variable "SP2") that doesn't have anything to do with the 6502's hardware-implemented Stack Pointer (S register).

      Now get off my lawn!!!

    21. Re:Is there a cross assembler? by Anonymous Coward · · Score: 0

      Oh yeah, LDX #0 is there on 6502. 65C02 also added the STZ instruction.

  4. Crystal Castles by Berzelius · · Score: 1

    For people that played these games it must be pretty sentimental. I didn't play these games, but the hours I spent playing Crystal Castle on my Atari 520ST are still very alive. Thanks to whoever wrote it and please consider open sourcing this game. It has been away way too long.

  5. Phone numbers? by Anonymous Coward · · Score: 1, Funny

    Un-redacted phone numbers for the programmers in readme.doc files? They probably don't want to be getting calls about these games 21 years later from the internet at large.

    -Lee

    1. Re:Phone numbers? by Anonymous Coward · · Score: 0

      "The 80's called. They want their [insert clever bit here] back."

    2. Re:Phone numbers? by Anonymous Coward · · Score: 0

      After 21 years, how many of them do you think are still alive, let alone living at the same house with the same phone number?

    3. Re:Phone numbers? by gEvil+(beta) · · Score: 2, Funny

      After 21 years, how many of them do you think are still alive...

      No kidding. That would make them like 50 or 60! Quit being so ridiculous...

      --
      This guy's the limit!
    4. Re:Phone numbers? by Frnknstn · · Score: 1

      "The 80s called. They want their non-parallel sprite sub-processors back."
      "The 80s called. They want their battery-backed high score storage back."
      "The 80's called. They want their idiotic misused apostrophe back."

      --
      If it's in you sig, it's in your post.
    5. Re:Phone numbers? by The_mad_linguist · · Score: 1

      That would be the '80s. Unless you're talking about the actual 80s. Good years, those. Man, was opening night at the Colosseum fun.

    6. Re:Phone numbers? by Sulphur · · Score: 1

      They live at the same house with the same phone number? -- Is there a dead sprite in the back yard?

  6. hmmm by Idiomatick · · Score: 1

    Anyone else read this something like.

    1) Successful gaming console manfacturer posting record profit
    2) . . .
    3) Bankruptcy!

  7. Do it the hard way! by Sponge+Bath · · Score: 1

    Wheee! Poorly commented 6502 assembly with no other docs.
    Mildy interesting in a retro way, but I don't see any great insight being taken from this. Most of these classic games are just ports anyhow. How about Joust source for the original Williams platform?

    1. Re:Do it the hard way! by Anonymous Coward · · Score: 0

      Some stud will write a 6502 to x86 cross assembler, post it, and be known as THE Stud and beautiful women ripping their clothes off for him because of his brilliance!

      "Oh baby! You're the one that wrote that cross assembler 6502 to i86 for Linux! Take me, I'm yours!"

    2. Re:Do it the hard way! by butlerm · · Score: 4, Informative

      You can be sure that the original arcade versions were written in assembly language not that different from what you see here. As a rule, nobody wrote video games in C until the mid 1980s. Assembly language was king.

      I worked at a game software developer in the late 1980s, and all of the 2600 games, all of the 7800 games, all of the C-64 games, all of the Atari 800 games we developed or ported during the period were written in native assembly language. Only the Amiga, Atari ST, Macintosh, and the later PC games were written in C. NES and SuperNES games were written in assembly as well.

    3. Re:Do it the hard way! by willoughby · · Score: 1

      Wheee! Poorly commented 6502 assembly with no other docs.

      Hey! That's just like I used to write (with a little help from Lance Leventhal).

    4. Re:Do it the hard way! by dmomo · · Score: 1

      Looked decently documented to me. Assuming you are familiar with the op codes.

    5. Re:Do it the hard way! by Anonymous Coward · · Score: 1, Interesting

      I can't speak for all SNES games, but as a (former) member of the Earthbound hacking community, I can attest that Earthbound contains compiled code. I do not have it at my fingertips at the moment, but the ROM contains an ASCII (I think...) text string with the name of the compiler. Also, significant portions of the assembly code look like something no human would have ever written.

    6. Re:Do it the hard way! by Anonymous Coward · · Score: 0

      That's really not a surprise since that came out fairly late in the SNES's life.

    7. Re:Do it the hard way! by inotocracy · · Score: 1

      The MsPacMan source is actually pretty well documented, buddy.

    8. Re:Do it the hard way! by Anonymous Coward · · Score: 0

      Ballmer is that you?

    9. Re:Do it the hard way! by Anonymous Coward · · Score: 0

      Not all of the C=64 games were in assembly, Sid Meier's Pirates! was in BASIC (a lot of it)..

    10. Re:Do it the hard way! by Anonymous Coward · · Score: 1, Informative

      I would say 99% of Amiga games were 100% assembler and only later they began using C for multiplatform titles (Lucas adventures and whatnot). You cannot get the most out of the Amiga hardware with C. Most games didn't even use the OS at all but banged the hardware directly, so using C would have been moot anyway.

    11. Re:Do it the hard way! by Anonymous Coward · · Score: 0

      You went right for the lowest common denominator and missed the obvious Paul Allen joke. Bad AC.

    12. Re:Do it the hard way! by dzfoo · · Score: 1

      I bet you that the original Joust from Williams was written in poorly commented M6809 assembly. And so was Defender and Robotron.

      Gosh, how I loved Joust. Damn you! Now I have to spend the 4th of July setting up and playing MAME.

              -dZ.

      --
      Carol vs. Ghost
      ...Can you save Christmas?
  8. Unofficial? by TheRaven64 · · Score: 2, Informative
    What does unofficially open sourced mean? Sounds like an official release, since it came with an accompanying press release..

    Anyway, source code is a bit of a misnomer here. All of these games were written in assembly, not any high level language. They are very well commented though, and it's more readable that most Python code I've seen...

    --
    I am TheRaven on Soylent News
    1. Re:Unofficial? by thetoadwarrior · · Score: 1

      It probably means you get no rights to it use it in any way you choose and that they won't support it for when some noob wants help turn enemies into penis shaped creatures and wants someone to tell him what to copy & paste and how to get it to run on his emulator.

    2. Re:Unofficial? by evilviper · · Score: 1

      What does unofficially open sourced mean?

      Means somebody found the source code while dumpster diving.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  9. Anyone notice... by Anonymous Coward · · Score: 1, Interesting

    Anyone else notice "ENCRYPTION CRAPOLA -- GO INTO MARIA" comment in main loop of centipede. Love it!

    1. Re:Anyone notice... by hedwards · · Score: 2, Funny

      Well, if my knowledge of history by way of Hollywood is any help, that's the portion of the game that if accidentally accessed by a kid renders him in control of our nuclear arsenal.

  10. Great news! by bergeron76 · · Score: 1

    This is great news! I've almost finished building my MAME cabinet. I wonder how this will allow the Roms of those games to be released freely.

    Kudos to Atari license holders for releasing this.

    --
    Don't think that a small group of dedicated individuals can't change the world. It's the only thing that ever has.
    1. Re:Great news! by sjames · · Score: 1

      Perhaps in a round about way. I don't see any license or anything else, so the safe way would be to release a free Makefile that helps you download the source and then builds a ROM for you.

  11. 15 minutes later ... by Knowbuddy · · Score: 4, Funny

    ... we see our first CERT advisory for a buffer overflow exploit in Dig Dug, leading to a remote execution vulnerability in your 'net-enabled MAME console.

  12. I can get the source code for JOUST!! WOOHOO!!! by haruchai · · Score: 1

    As a video-addicted teen, so many years ago, with too much time on his hands, I never imagined I would ever be able
    to get my hands on this

    --
    Pain is merely failure leaving the body
    1. Re:I can get the source code for JOUST!! WOOHOO!!! by dzfoo · · Score: 1

      Er, hold on there, cowboy!

      That's not THE Joust. That's the crappy Atari 7800 port.

      Though it was made by Williams, which kept it very faithful to the original.

      Ok, then, go on--do some cartwheels and stuff. It's cool!

              -dZ.

      --
      Carol vs. Ghost
      ...Can you save Christmas?
    2. Re:I can get the source code for JOUST!! WOOHOO!!! by b1t+r0t · · Score: 1

      Er, hold on there, cowboy!

      That's not THE crappy Atari 7800 port. That's the even crappier 2600 port.

      --

      --
      "Open source is good." - Steve Jobs
      "Open source is evil." - Microsoft
  13. The Year of the Linux Gaming Platform? by basementman · · Score: 3, Funny

    This unofficial open source release signals that this will finally be the year of the cutting edge linux gaming platform.

    1. Re:The Year of the Linux Gaming Platform? by Anonymous Coward · · Score: 0

      Yes, only 20 or so years until the NES and then... THE WORLD!

  14. WOHOO! by Anonymous Coward · · Score: 0

    So like in only 40 years from now linux will become a gaming platform!

  15. Correct link for Sphinx by haruchai · · Score: 4, Informative

    Should end in SPHINX.zip not Sphinx.zip. Beware the 404

    --
    Pain is merely failure leaving the body
    1. Re:Correct link for Sphinx by thetoadwarrior · · Score: 1

      There are two broken links. It can be easier to just browse the directory and grab the files. http://www.programmerfish.com/Attari7800/

    2. Re:Correct link for Sphinx by haruchai · · Score: 1

      I didn't catch the second one , PAL7800 because I had Down Them All masking only on archives and the link didn't have the ZIP extension.

      Thanks.

      --
      Pain is merely failure leaving the body
  16. Some fun stuff... by Sprite_tm · · Score: 5, Interesting

    * From the devkit readmes:

    2600/7800 DEVELOPMENT KIT<br>
    CARE AND FEEDING INSTRUCTIONS<br>
    [...]
    Feel free to telephone John Feagans at Atari (U.S.) at area  code
    (408)  745-xxxx  any  time you have a question  about  using  the
    software.   He  wrote the download program and the  transfer  rom
    code.   He's the one who did not write any support  documentation
    to go with his software.

    * From the base sw:
    CPX     #1               ;HACK: WE STOP AT 1
    BEQ     SELRTS
    INX                     ;BIGGER HACK: PUSH X INTO RANGE.
    LDA     ZHACKMOD+2,X     ;BIGGEST HACK: TABLE LOOKUP NEXT MODE.

    * Ofcourse, we have explicit words:
    CMP     #$FF                   ;SEE IF ANY INPUT
    BEQ     FUCKYOU
    JMP     GOTOSEL                ;GO TO SELECT MODE
    FUCKYOU   BIT     INPT4                  ;LOOK AT FIRE BUTTON INPUT
    BMI     ATIT4

    LDA     #0                     ;ENOUGH TIME HAS ELAPSED TO ALLOW CAPS
    STA     $1                     ;TO DISCHARGE SO CONTINUE FUCKING WITH
    LDA     #$14                   ;IO HARDWARE

    STA     AUDC0,X         ;GO POUND SAND IN YOUR ASS

    * Citizen Kane anyone?
    LDA     INPT0,Y                ;THESE FOUR LINES MUST BE INCLUDED IN
                                             ;THE FINAL VERSION
    AND     INPT1,Y                ;REMEMBER
    BMI     FUCKBAR                ;REMEMBER,. . ., ROSEBUD

    * In Galaga, at 'a boss hit':
    JSR    ABOSSHIT               ; HOW YOU PRONOUNCE IT IS YOUR OWN
           ;BUSINESS

    * Liek wtf?
    * GROUND TARGET SECRET CODES (SSHHHH!)
    *         0       regular dome           logram
    *         1       regular pyramid        barra
    *         2       detector dome          zolbak (and your mama, too)

    *And finally, an original comment which couldn't be more to the point in 2009:
    *PROGRAMMERS BEWARE: THIS CODE IS OLD AND VERY UGLY! TAMPER AT YOUR OWN RISK

    It looks like Hattrick is written mostly in Forth btw. I personally didn't know they wrote games in that language!

    1. Re:Some fun stuff... by Spit · · Score: 2, Informative

      John Feagans, he was part of the original Vic20 software team. He must have jumped ship to Atari with the rest of the talent when Tramiel left Commodore.

      --
      POKE 36879,8
    2. Re:Some fun stuff... by Adm.Wiggin · · Score: 1

      ...over 15 games...

      Is it really that hard to just say 17?

    3. Re:Some fun stuff... by wakingrufus · · Score: 1
      i liked this from galaga (GDAC1.S):

      LDA BULLSHT SEE IF IN BULLSHIT MODE

      what is bullshit mode? apparently all these caps trigger the lameness filter

    4. Re:Some fun stuff... by PCM2 · · Score: 1

      It looks like Hattrick is written mostly in Forth btw. I personally didn't know they wrote games in that language!

      There aren't many, but the poster children are Starflight and Starflight II -- great games, btw.

      --
      Breakfast served all day!
    5. Re:Some fun stuff... by cthulhuology · · Score: 1

      Some of us still write games in Forth... get over it.

  17. Let's give credit where credit is due by silverspell · · Score: 5, Informative

    Apparently Curt Vendel and Atarimuseum.com deserve the real credit for this release.

    1. Re:Let's give credit where credit is due by clickclickdrone · · Score: 1

      Indeed. For those that don't know, Curt has made it his life work to document and release as much Atari info and code and possible. He has forged links with developers and publishers and was responsible for the rereleased 2600 and 7800 consoles from a few years back as well as the current USB Atari original joystick for use with emulators. He has literally hundreds if not thousands of data cartridges, hard drives and floppies as well as many of Atari's original mainframes (well, vaxes) and the backups and is slowly going through it all. He has unearthed many Atari holy grails such as the details of the Amy sound chip and has huge numbers of prototypes of various canned projects.

      --
      I want a list of atrocities done in your name - Recoil
    2. Re:Let's give credit where credit is due by dzfoo · · Score: 2, Informative

      His site says this at the bottom:

      Note: If you are going to Mirror these sources or place them onto your own site, please have the respect and courtesy to include with them - Source: www.atarimuseum.com as these wouldn't exist if I hadn't of climbed into a filthy dumpster at 3am in the morning behind the old Atari building in Sunnyvale and salvaged them and restored them from their diskettes.

      I didn't see any mention of AtariMuseum.com in the ProgrammerFish article. Bastards!

      So here it is, on behalf of us grateful slashdotters: THANK YOU CURT VENDEL!

              -dZ.

      --
      Carol vs. Ghost
      ...Can you save Christmas?
  18. This is great by somenickname · · Score: 5, Funny

    Seeing how it was done old-school is always refreshing. No C++, Java, C#, just hardcore assembly.

    As an anecdote, I have a friend who used to work at MECC and worked on games for the Apple II like Oregon Trail and Odell Lake (find yourself a Way-Back Machine if you aren't familiar with those games). If memory serves me right, before leaving MECC, he wrote something akin to the following in one of those two programs:

    [code]
    ; Important. Do NOT remove this. -- username
    nop
    nop
    nop
    ; Proceed
    [/code]

    Years later it was apparently still in the code and he'd met up with an old colleague who asked, "What was up with the three nops? We didn't remove them because we didn't know what would happen". The response being, "Nothing, I just thought it would be funny to have this conversation a few years later".

    1. Re:This is great by RaymondKurzweil · · Score: 1, Interesting

      MECC

      Well their logo was quite prominent. The Minnesota Educational Computing Consortium, IIRC. Almost anyone my age in the US remembers things like Number Munchers. Unfortunately "carpet munchers hack" doesn't show up on google.

    2. Re:This is great by noidentity · · Score: 3, Funny

      Heh, reminds me when I used to break into the built-in monitor while a disk program was loading on the Apple II (which also uses a 6502 processor) and always saw a bunch of $EA bytes. I thought it was because it was an Electronic Arts game, that they used that hex value as some kind of signature. Only later did I learn that was the opcode for NOP. It's odd as on most other 8-bit processors $00 is NOP.

    3. Re:This is great by PCM2 · · Score: 1

      I never thought about it. I think $00 is BRK on the 6502 -- that part seemed logical enough to me. Dunno why NOP would be such an odd value. Anyone?

      --
      Breakfast served all day!
    4. Re:This is great by Anonymous Coward · · Score: 0

      Actually, at least one Electronic Arts game for the Apple II--Legacy of the Ancients--was encrypted by XORing each byte with 0xEA! So, it's possible you were actually seeing a bunch of encrypted 0x00 bytes!

    5. Re:This is great by westlake · · Score: 1

      (find yourself a Way-Back Machine if you aren't familiar with those games).

      You'll find that Oregon Trail remains a steady seller on Amazon.com - and that older versions are easy to find through sites like The Underdogs.

    6. Re:This is great by noidentity · · Score: 2, Insightful

      I never thought about it. I think $00 is BRK on the 6502 -- that part seemed logical enough to me. Dunno why NOP would be such an odd value. Anyone?

      Perhaps so that accidental execution of a cleared area of memory would break rather than silently execute until it reached something non-zero. On the other hand, the 6502 didn't have any microcode, so opcodes were laid out based on the most efficient way to decode them. This $EA triggered the right combination of steps internally to do nothing. In other words, $EA probably gives them NOP for free. There are lots of unofficial opcodes which do strange things, including NOPs that use more than one byte (so-called double NOPs and triple NOPs).

    7. Re:This is great by sp332 · · Score: 1

      Virtual Apple has all kinds of Apple ][ games. http://www.virtualapple.org/oregontraildisk.html (requires Java)

    8. Re:This is great by FloydTheDroid · · Score: 1

      That brings me back. I remember that adjusting some apple II games' code to include three nops (xxxx:ea ea ea) was a typical cheat code to get around code branches checking for collisions and such.

      On a related note, cheating thusly, I was very sad to find that Spy's Demise never ended.

  19. Hmmm... by Citizen+of+Earth · · Score: 1

    CMP #$FF ;SEE IF ANY INPUT
    BEQ FUCKYOU
    JMP GOTOSEL ;GO TO SELECT MODE
    FUCKYOU BIT INPT4 ;LOOK AT FIRE BUTTON INPUT
    BMI ATIT4
    JMP GOTORES
    ATIT4 LDA #0
    STA FLAP ;PREVENT FLAPPING IN LOADER
    JMP TITLOOP

    Hmmm...

  20. Ms. PacMan by thygate · · Score: 5, Interesting

    look, it's Ms Pacman

              ;MS RIGHT, HALF OPEN
              DB      $08,$00,$0A,$50,$A5,$54,$25,$D5,$17,$55,$15,$50
              DB      $15,$00,$15,$50,$15,$55,$05,$54,$01,$50,$00,$00

    All the pixelfonts are in there too offcourse. If you're into remaking arcade classics, there's a lot of picture and sound data there just waiting to be recycled.

    1. Re:Ms. PacMan by Anonymous Coward · · Score: 4, Funny

      Spoiling slashdot with Pacman porn again, are we?

    2. Re:Ms. PacMan by TheRaven64 · · Score: 1

      Unfortunately, it seems that the legality of these is somewhat dubious. Copying the font data is likely to be illegal. Atari probably won't care, but it will stop your game being in most open source operating system repositories (see what happened to Blob Wars when they discovered that the author didn't have the rights to distribute the artwork). Note that, in the USA, you can't copyright a font, just a representation of a font (e.g. a font file or a set of bitmaps), so there's nothing stopping you from creating something that looks the same without directly copying it.

      --
      I am TheRaven on Soylent News
  21. More in the well of Atari nostalgia by alnicodon · · Score: 5, Interesting

    I quite like the way this blog by an old time Atari employee recalls the when and how of Atari developement. Something (Donkey Kong port on Atari consoles) that read

    I should explain how Atari's Arcade conversions group worked. Basically, Atari's marketing folks would negotiate a license to ship GameCorp's "Foobar Blaster" on a cartridge for the Atari Home Computer System. That was it. That was the entirety of the deal.

    made it clearer with :

    We got ZERO help from the original developers of the games. No listings, no talking to the engineers, no design documents, nothing.

    but, wait... there was even less:

    In fact, we had to buy our own copy of the arcade machine and simply get good at the game (which was why I was playing it at the hotel our copy of the game hadn't even been delivered yet).

    was for me a sure way to a plentiful of nostalgiaholic reading.

    Al.

    1. Re:More in the well of Atari nostalgia by PCM2 · · Score: 1

      Hell, anyone who has played Pac-Man on an Atari 2600 could have told you this much.

      --
      Breakfast served all day!
    2. Re:More in the well of Atari nostalgia by PhysicalEd · · Score: 2, Interesting

      yes, this is true. I was the lead on the port of Robotron to the 7800 at GCC, and all we had to go with was the arcade machine. So first of all we had to become expert players, at all difficulty levels. At GCC we started videotaping gameplay with a camera over the shoulder so we could study movement and derive rules for the "AI", and even just to know how many critters of the various kinds appeared on the different levels. Needless to say, becoming an expert Robotron player payed off over the years...

  22. All 15 games+devkit in a single rar by Anonymous Coward · · Score: 0

    for those who where getting 404s
    all code for 15 games plus the devkit (needs Atari ST/STE/STFM or Stella emulator for developing)

    http://www.zshare.net/download/621984116ad0266d/

  23. Why The 7800? by tunapez · · Score: 1

    Didn't this console flop b/c nobody made new games for it? Who hasn't played all these titles on their MAME? I'd like to see some release code/remakes of the games that had some depth, how about Star Raiders or Countermeasure? Starflight for the Genesis was pretty wicked fun until you lost your map of the universe.

    On that note, I'm off to find the magic dot and slay some dragons.

    --
    Imagination drew in bold strokes, instantly serving hopes and fears, while knowledge advanced by slow increments...
  24. Tell us another story! by Anonymous Coward · · Score: 0

    Seriously, that was a pretty great comment.

  25. The year was actually 2005 by El_Oscuro · · Score: 1

    My hardcore gaming rig runs Lincade. We are talking serious commercial grade stuff here, HAPPS controls, Tornado spinners, and a 30" Wells/Gardner monitor in a SlickStik cabinet. If you are setting an arcade cabinet, make sure you get Lincade. There is no better gaming experience!

    --
    "Be grateful for what you have. You may never know when you may lose it."
  26. GP is mixing up loads vs. stack instructions by Anonymous Coward · · Score: 0

    instructions for pushing and popping the X/Y registers are what were missing from the original NMOS 6502 and added to the 65C02 (among other things). LDX #$FF was allowed from the beginning. The Atari 7800 used a 6502C which was not the same as a 65C02 (and had none of the bug fixes or new opcodes) but rather, was a 6502 that incorporated what had previously been some external glue logic used for halting the CPU when other chips needed to DMA.

  27. Just source code for proprietary software. by jbn-o · · Score: 3, Insightful

    jadoon88 writes to share a series of old Atari 7800 games that have been unofficially open sourced.

    No, but whomever wrote that headline is making a common mistake. The use of the term "open source" tells us that "open source" is apparently no more clear to people than what that movement tried to supplant—free software. While "free software" has an ambiguity problem, that problem is easily resolved by saying the "free" refers to freedoms to run, share, and modify the software, not a reference to price. "Open source" is also widely misunderstood:

    The official definition of "open source software," as published by the Open Source Initiative, is very close to our definition of free software; however, it is a little looser in some respects, and they have accepted a few licenses that we consider unacceptably restrictive of the users. However, the obvious meaning for the expression "open source software" is "You can look at the source code." This is a much weaker criterion than free software; it includes free software, but also includes semi-free programs such as Xv, and even some proprietary programs, including Qt under its original license (before the QPL).

    That obvious meaning for "open source" is not the meaning that its advocates intend. The result is that most people misunderstand what those advocates are advocating.

    but not easily cleared up. As that essay points out, "the explanation for "free software" is simple--a person who has grasped the idea of "free speech, not free beer" will not get it wrong again. There is no such succinct way to explain the official meaning of "open source" and show clearly why the natural definition is the wrong one.".

    From what I can tell, there's no permission given to share any of these programs, no permission to modify any of these programs, and no permission to distribute these programs commercially.

    The blog poster claims "In an official release, Atari has quoted that the purpose of the release is to give potential developers insight into the Atari's gaming platform so they may possibly build upon the 7800 series." but there is no link to the official release from the copyright holder. Therefore the provenance of this source code is unclear. I would consider these programs to be neither open source nor free software. This looks like an offer to download source code for proprietary software then make the mistake of distributing unauthorized derivative works based on these programs. It might be fun to program new Atari 7800 games, but copyright lasts a very long time and there's too little information to verify what the blogger claims.

    1. Re:Just source code for proprietary software. by Anonymous Coward · · Score: 1, Insightful

      Wrong. Saying that software is "free as in speech" has the obvious meaning that you can do virtually whatever you want with it, which is only true if discussing BSD licenses. If you are using "free" the way that GNU intends everyone to, it makes no more intuitive sense than "open". Thus, the correct comparison here is that "open" requires explanation, whereas "free" first requires disambiguation, and then explanation.

      Go ahead, take a layman off the street and give him a source code disc. Tell him it's "free as in speech". I guarantee you that he will not infer copyleft.

      The problem with "free" is not just the ambiguity, but the fact that the ambiguity is directly misleading. If it were for a less noble cause, people would easily call it propaganda. If you can't do anything you want with it, then it's not free as in freedom.

    2. Re:Just source code for proprietary software. by TheRaven64 · · Score: 1

      I still prefer Hippyware. It's far less ambiguous than either term.

      --
      I am TheRaven on Soylent News
    3. Re:Just source code for proprietary software. by maxume · · Score: 1

      What do you do about the fact that you never know what kind of crazy shit it is going to pull?

      --
      Nerd rage is the funniest rage.
    4. Re:Just source code for proprietary software. by Anonymous Coward · · Score: 0

      You're still not getting it. The user is the one that should have the freedom. When a user receives a proprietary program, the user loses her freedom. The user must have all four freedoms in order to be free.

      When you share a proprietary program, the recipient give up her freedom. It really doesn't matter if your copy of the software was originally free, the recipient of your proprietary software is no longer free.

      The GPL on the other hand guarantees that ALL recipients of the software are free. It does this by forcing all distributors to guarantee the recipient's authority to the related code, as well as the authority to practise all four freedoms. Users are free when they have all four freedoms.

  28. score tables by An+ominous+Cow+art · · Score: 1

    Robotron is one of my favorite games, so I've been looking at the source to it. One odd thing I've seen is the table of points scored for each enemy. They stored the 150 value for (for example) an Enforcer as:

    DB $01, $50

    .

    For those who aren't aware, the '$' prefix denoted a hex number in Motorola assembly. It's strange that the score values are stored in this weird BCD-ish way. Maybe it was more efficient to do BCD math than to convert the binary to decimal every time the score changed (which meant a screen update).

    1. Re:score tables by Sprite_tm · · Score: 2, Interesting

      It indeed is packed BCD. Some processors of that time have special instructions for that kind of notation, which makes calculating with them not much more difficult than normal binary. (Dunno if the 6502c has these kinds of opcodes, though; the Z80 for example does.) The advantage is that it makes blitting to screen really easy: instead of constantly dividing by 10, which is a processor-intensive task, you could just bitshift the number, which is much easier.

    2. Re:score tables by clickclickdrone · · Score: 1

      Back in the day, most if not all 6502 programmers books started out with tutorials on BCD maths - it was the best way as RAM was so limited.

      --
      I want a list of atrocities done in your name - Recoil
    3. Re:score tables by An+ominous+Cow+art · · Score: 1

      That makes sense. I'm pretty certain the 6505/etc didn't have BCD opcodes, but I do vaguely remember now why BCD was used.

    4. Re:score tables by Mad-Bassist · · Score: 1

      The 6502 I knew and loved (Atari!) has a bit in its Processor Status Register called the Decimal Flag. If set, addition and subtraction instructions are all done in BCD. Chaining three bytes (000000-999999) made machine-level counting simple, and it didn't take much effort to convert each half of a byte into ascii to display on the screen. It was a neat way to avoid having to multiply and divide, which wasn't possible at the chip level back then (other than shifting bits for powers of two.)

      The real danger was having it set by mistake or not clearing it first. Strange things can happen when adding $01 to $39 makes $40. Looking at it in regular decimal (57+1=64) can cause gray hair.

      --
      "The only legitimate use of a computer is to play games." - Eugene Jarvis
  29. not all games by Anonymous Coward · · Score: 0

    all of the C-64 games ... during the period were written in native assembly language

    That might be true for most of the games but some were written in Commodore Basic and others were written with a combination of assembler and Basic. Also a very few were written using some of the higher language compilers of that day, e.g. Pascal and some Basic dialects.

  30. dumpster diving by cwerdna · · Score: 1

    http://www.atarimuseum.com/videogames/consoles/7800/games/ says:
    "Note: If you are going to Mirror these sources or place them onto your own site, please have the respect and courtesy to include with them - Source: www.atarimuseum.com as these wouldn't exist if I hadn't of climbed into a filthy dumpster at 3am in the morning behind the old Atari building in Sunnyvale and salvaged them and restored them from their diskettes."

  31. My memories of assembly on 6800 by jimwelch · · Score: 1

    One of my tasks at work, around 1980 was to redo the source code to a gas chromatograph used in oil refinery control. The original development machine was a Unix that was limited on the number of variables, the size of the names and the size of files. Much of the code was hard coded to start at a location for each subroutine and the program used hard coded address for variables and data. It was so spaghetti, that They could no longer make any changes safely. So I took TWO years to re-do and test to a "modern" assembler. I had to use hardware manuals for the chips and schematics of the custom board to develop a hardware address table, and EQU statements for hardware commands. I would compile, then do a binary compare against the last know good prom image. Repeat until it all matched. Then I took out all of the hard coded subroutine addresses and hard coded variables. Test all of functionality. Then I had to do the same thing for each of the plug-in boards for serial communication. Back in those days, 90% of our programmers where EEs, that had had taken more than normal (FORTRAN) programming.

    One of our programmers, got in BIG trouble. He had inserted a message to come up on the operators terminal (2 x 40 display) when an "impossible" condition occurred: "BANG YOUR DEAD". Murphy's law said that it would show up at the worst possible time. The President of an very BIG oil company called our President about how UNPROFESSIONAL this was, and safety was not a joke in a refinery.

    --
    Never trust a man wearing a coat and tie!
  32. free != copyleft, swinging fists at my nose.. by jonaskoelker · · Score: 0, Troll

    "free as in speech". I guarantee you that he will not infer copyleft.

    Your freedom to swing your fist around stops at my nose. Your freedom to distribute software stops when you deprive others of freedom.

    That seems easy enough to understand.

    Also, you seem to misunderstand what the FSF says. Understand that "free software" and "copyleft('ed) software" are two different things. Copyleft is a licensing scheme that makes software licensed under a copyleft license Free Software (as the FSF defines it) for all users.

    This is not true for permissive (bsd-style) licenses: you can relicense them and make them proprietary. What is free for you is not free for your users.

    If you can't do anything you want with it, then it's not free as in freedom.

    Again, your freedom to swing your fist stops at my nose.

    I will concede that only saying "free as in free speech" makes people think certain things that are wrong. But those wrong conclusions are in the subtleties. The wrong conclusions people come to when they intuit meaning from "open source" are much bigger.

  33. Atari 2600 ? by lbalbalba · · Score: 1

    Whaddayamean, 7800 ? I remember playing these games on the Atatri 2600 console as a kid, released in 1977, although the 7800 was almost fully backward-compatible with the 2600.

  34. I'd like to see the original Robotron source by Mad-Bassist · · Score: 1

    ...as well as the source to the Firepower pinball machine and the tools used to create those unforgettable classic Williams sound effects!

    Say what you may about Eddie Van Halen and Jimi Hendrix... Jarvis was always god to me!

    --
    "The only legitimate use of a computer is to play games." - Eugene Jarvis
  35. This reminds me... by John+Pfeiffer · · Score: 1

    Somewhere in a box under my desk, I have an old book about programming arcade-style games on the C64. It includes all sorts of code examples :D

    --

    Friend: "The NIC is misconfigured..." Me: "No prob, I'll just telnet in and fix it." *Silence*
  36. Same old BSD "freedom" vs. GPL "freedom" war by Dogtanian · · Score: 1

    No images on Slashdot, so visualise that stock photo of 1950s guy with the caption "Aw geez, not this shit again."

    Yes, we've had God knows how many rehashes of the endless "BSD is free, GPL isn't free because it forces conditions" / "GPL makes sure it remains free, BSD can become proprietary" argument / flamewar around here, so I'm *sure* we need another one.

    As per usual, it'll include the exact same detailed and polarised arguments that we've already seen in great detail countless times previously, no new light will be shed on the subject, and no-one's opinion will be changed, but the thread will be filled with this offtopic crap to satisfy those involved anyway.

    Yay.

    --
    "Slashdot - News and Chat Sites Deviant". (Click "homepage" link above for details).