Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Classic Games (Games)

Create New Atari 2600 Games With BASIC 34

2600fan writes "Fred Quimby, a game developer for the Stella Atari 2600 emulator, has released a new BASIC compiler that can be used to create games to run on Stella and potentially on the 2600 itself. The compiler generates efficient assembly-language code in DASM syntax, then uses DASM to make a binary. A bitmapped playfield and easy-to-use scrolling routines are included, and programmers can also add inline assembly language and directly access TIA registers if they please."
This discussion has been archived. No new comments can be posted.

Create New Atari 2600 Games With BASIC

Comments Filter:
  • What? (Score:3, Interesting)

    by ResidntGeek ( 772730 ) on Thursday July 07, 2005 @07:34PM (#13009775) Journal
    That takes all the fun out of programming for the 2600. http://www.oreillynet.com/lpt/a/4849 [oreillynet.com]
    • Just like Qbasic took all the fun out of coding for the PC. Now if only I could get online deathmatch to work in GORILLA.BAS...
  • by rubberbando ( 784342 ) on Thursday July 07, 2005 @08:36PM (#13010112)
    Would they also run on one of those "10-in-1" joysticks that emulate 2600 games?

    If so, that would be excellent!

    I wonder how hard would it be to license the hardware for one of these little buggers.

    This could become a new outlet for homebrewed games to enter the retail market.

    I guess theres also the other possibility of someone just hacking one of those joysticks to take a memory card or something for some personal gaming...
    • Isn't the whole point of those is that they're *not* licensed? :-)

      Or is that just the 1000-in-one N64-like gamepads?
    • Word on the street is that the Atari Flashback 2.0 due out in the next month or two will have pin headers on the board allowing you to solder in your own real Atari 2600 cartridge port. From what I've read, the thing is basically a 6502 + TIA chip done in an FPGA or some such. Plus it'll have built in games, including some unreleased stuff, and new arcade ports done by Atari (Space Duel being among them). So definitely watch for this beast. It's not going to just be cheesy ports to NES hardware like the ori
    • No Licensing Issues! (Score:3, Informative)

      by Anonymous Coward
      The Atari 2600 was made from off-the-shelf parts, so there are no ROM licensing issues (on the platform itself). This is why Mattel was able to make a 2600 add-on for the Intellivision.

      Seems crazy now -- Imagine having a hardware add-on for the Gamecube that played PS2 games!

      • We had a ColecoVision (oh, fond memories) with a 2600 adapter. I remember thinking/hoping/believing that it would actually improve the 2600 graphics to ColecoVision quality (oh, bitter disappointment).

        Then I got a Commodore 64 and both were discarded like security blankets.
      • by bjb ( 3050 ) *

        The Atari 2600 was made from off-the-shelf parts, so there are no ROM licensing issues (on the platform itself).

        Off the shelf parts? No, I think you're confusing the history of the PC here. While the 2600 didn't have any ROM code (which is easily copyrightable and difficult to duplicate), it did have a few custom chips (TIA, etc). Now I'm no chip engineer, but I'm sure its probably relatively easy to create functional equivalent chips at this level of complexity in comparison to doing a clean room RO

      • by Anonymous Coward

        The Atari 2600 was made from off-the-shelf parts, so there are no ROM licensing issues (on the platform itself). This is why Mattel was able to make a 2600 add-on for the Intellivision.

        Wrong: the Atari 2600 contained a custom chip called the Television Interface Adapter (aka Stella) that generated the graphics and audio. Mattel and Coleco (among other companies) managed to reverse-engineer the chip, and Coleco earned a patent infringement suit from Atari for their efforts.

  • BASIC?? (Score:3, Funny)

    by IntergalacticWalrus ( 720648 ) on Friday July 08, 2005 @08:25AM (#13012814)
    Wait, why BASIC? Why not a language that doesn't suck?
    • *Turns around, looks at shelf containing 'the' original BASIC manual in all its hardcover glory.* I dunno, it could be fun to get back to the basics! (no pun intended)
    • I'm guessing two reasons:

      * BASIC is pretty easy to parse
      * BASIC's linear structure maps well to the resource starved 6507 ASM Atari games are based on.

      Tied in with the second point is how Atari Basic is always going to be a subset of a "real language" anyway. I mean, he could have gone for a C-like syntax, but to me it "feels" more logical to have a stripped down BASIC syntax than a stripped down C.
    • Aww man, I threw out my first BASIC book years ago! Anyway, haven't you heard, there are no languages that suck! Well, except maybe Java...no I'm kidding! Really, I am kidding...

      Kudos to Fred Quimby and thanks!
  • Wow, that's certainly timely. Hard to believe something like this would come along so close to the release of a gaming console!

    Yes, sarcastic, quite.
    This would have been interesting about 15 years ago. Now, it just seems kind of sad really.
    • You. Just. Don't. Get. It.

      And thanks for clearly labeling your sarcasm.

      2600 is an interesting challenge for geeks, and this is the first time something like this has had a serious effort applied to it...unless you count the old Basic Programming cart.

      So much of geekdom "just seems kind of sad really" if you're not on that wavelength. I'd suggest reading Levy's book "Hackers: Heroes of the Computer Revolution"
      • No, I do get it actually.

        My point is hacking something old like this really has nothing more than nostalgia and geek factor attached to it. Had this come out when I was in high school, it would have been something to talk about.

        Shit, it would have drawn all KINDS of people towards playing with programming for the 2600.

        No one is going to suddenly be drawn to programming because this came along now. Very few people will ever play anything produced using this. Very little of what is learned in making a game
        • At this point, it only exists for the sake of doing it in the first place.

          That's what geekery is all about!

          If that gets the people involved off, that's great! Truly, it is! However, _I'm_ not about to start jumping up and down about it.

          There's an active homebrew community to whom this is a really interesting development. You were completely dismissive because it's a nostalgia system, and your wet blankets were misplaced. It's cooler than a lot of other things that gets published on the games section
          • Yes, very cool to you and apparently about a dozen other slashdotters. You're still missing my point.

            It would have been _way_ cooler 15 years ago.

            If this energy today was instead put into hacking a game api into some modern device that everyone has _now_, that would not only be geekily cool, it would also potentially be useful, or at least used.

            Anyways, not trying to detract from your enjoyment of this. Have fun!
            • If this energy today was instead put into hacking a game api into some modern device that everyone has _now_, that would not only be geekily cool, it would also potentially be useful, or at least used.

              It will be used. AtariAge has a thriving community of coders and wannabes.

              As to "this energy"...look, other people are doing that. This is something different. Maybe "inferior" by your way of reckoning, because it's retro rather than current. But like with lots of OSS, people "scratch their own itch".
  • This language is deader then a door knob, except for MS insistance to keep plugging Visual Basic, which is far outstripped by C# (i.e. C# is just VB with more features).

    While C or C++ may be overkill for designing Atari games, and too complex for many hobbyist programmers that don't develop regularily in C or C++, using something like a scripting language like PERL or PHP would probably work better. They are easy to use, robust, and you don't have to scour the net looking for an environment to develop in.

    • Re:Why BASIC ? (Score:3, Informative)

      by cd-w ( 78145 )
      The point was to make the Atari 2600 easy to program, not to produce the ultimate programming language. BASIC is a good choice for this as it corresponds closely to the underlying machine instructions, but is much easier to comprehend.
      This is also why BASIC was bundled with most 8-bit home micros. Furthermore, as the resulting programs can be no larger than 4KB (not MB!) in size, and 1MHz in speed, any OO mechanisms would impose far too much overhead.

      The 2600 has an active and friendly homebrewing scen
      • But the end result of any compiled language is the machine code, which can be represnted by any high level language. But yes, I forgot just how simplistic the gaming engines were for the Atari, and I guess if you want to program for it, your going to need something simple like Basic, which is a bit more higher level then assembly, but not much.
        • Very true. As a Java/Perl coder who then dived into 6502 (well, 6507 but who's counting) to make his own Atari homebrew, as well as made a tutorial and some other stuff, I have to say my initial reaction was...

          Perl or PHP for Atari Games....HAHAHAHAHAHAHA, yeah, good luck with that.

          Trust me, with 4-8K Rom and 128 *bytes* of RAM...you're not going to get very far with that.
      • Re:Why BASIC ? (Score:3, Insightful)

        by PotatoHead ( 12771 ) *
        You are spot on where learning curve is concerned.

        I took this and wrote the little breakout clone in a few hours. Prior to that, working in assembly got me a few blocks on the screen...

        Assembly takes a lot of time. (Something I don't have.) This doesn't and was a lot of fun.

  • I've been consulting with Fred Quimby a bit to make the Semi-Official Batari BASIC homepage:
    http://alienbill.com/2600/basic/ [alienbill.com]

    It will contain the latest builds along with sample code, screenshots, and future documentation.

It is better to live rich than to die rich. -- Samuel Johnson

Working...