Atari 2600 development - Snappy (batari basic)
Last updated on January 15, 2012, 17:04 by Sebastian Mihai
The Atari 2600 is the first video game console most people think of, when someone brings up classic video games. It was extremely influential, and lasted the longest out of all games systems to date. (causing Neo Geo AES to be second - darn!).

For this project, I've used batari Basic. It's a nice Basic compiler, which absolves the programmer from having to spend an absurd amount of time learning the assembly language for the 6507 processor, which is used by the 2600.

Writing a game in Basic took me back to my ZX Spectrum days, and it was great! The goal of the game is to get as many men across Snappy's pit as possible. Each game starts with ten men, and each of them gets parachuted at a random spot, so you have to time your jumps well. Only one button is used - fire. It will start a new game when on the menu screen, and it will cause a man to start running, trying to make it across the pit.

I liked Basic's "prototype" feel. It's really easy to try out new graphics, and tweak game code. I've written comments, but let's be honest here - it's Basic! The language itself was meant to be extremely readable, so the code should be quite easy to understand.

In terms of technical aspects, player 0 is your current man, player 1 is Snappy. The vine is part of the background. The vine sounds are always output via voice 0. All other sounds that may be heard at the same time as the never-halting vine are output via voice 1.

Snappy is getting hungry, so don't keep him waiting!



Downloads


The game
rom - get this to play Snappy on an Atari 2600 emulator
source code - get this to compile Snappy yourself

Dev kit
dev kit - the batari Basic dev kit includes everything you need to program and test your roms. It comes with the source code for a few samples, and for Snappy. You can use these to experiment and learn. They are found in the source subdirectory. All makefiles assume this will be unzipped to C:\

Emulator
Stella emulator - Stella is the best Atari 2600 emulator around, and it can run Snappy, as well as other Atari 2600 roms


Screenshots




Here is the cartridge version of Snappy!

And here is the cartridge running on real Atari 2600 hardware!
If you use the materials on this page, or any other page on this web site, you do so at your own risk. They are provided "as is". No warranty is provided or implied. I neither guarantee that the materials will work, nor that they will not be harmful in any way.

Intellivision development - Hotel Bunny

Coverage of my projects

Interviewed in the Retro Gamer magazine

My homebrew cartridges

ZX Spectrum development - Husband Chores (in Z80 assembly language)

No Snakes! - a multiplayer game over serial port

Sega Dreamcast development - Overbearing Burgers

Snowdrop OS - my operating system from scratch, in assembly language

libzx - ZX Spectrum game programming library (Z80 assembly language)

Compact Pong - game in C# for the Pocket PC (Windows Mobile 2003)

TOTP (time-based one-time password) authenticator in C# (.Net)

aSMtris - Tetris in assembly language (x86, 16-bit)

Balanced Diet (GBA) limited edition

Gameboy Advance development - Balanced Diet

Atari 7800 development - Poetiru

Arcade ROM hacking - Knights of the Round translation

PocketStation development - Pocket Worm

Sega Game Gear development - Burgers of Hanoi GG

Pokemon Mini development - Mini Cookie

Magnavox Odyssey2 development - Red Green

Sega Dreamcast VMU development - Raining Squares

Nintendo GameCube development - Mama Bear Puzzle

Nintendo Wii development - Groundhog Puzzle

Sega Saturn development - Saturnade

Atari Jaguar development - Jagmatch

Sega CD development - Blackjack CD

Nintendo 64 development - Don't Be Square

Commodore 64 development - Tube64

Sega 32x development - Eight Queens

WonderSwan (Mono) development - Swan Driving BW

WonderSwan Color development - Swan Driving

Animal Keeper - a JavaScript and HTML5 Canvas game

3DO development - Space Invaders Invaders

Sony PlayStation development - The 11th Power

Sony PSP development - Newton Voyage

Nintendo DS development - Geoincursion

Gold of the Kingdoms - an XNA/C# homebrew game

Blue Elf 2 309-in-1 JAMMA PCB - troubleshoot controls not working

Fractals in JavaScript and HTML5 Canvas

Angry Video Game Nerd (AVGN) theme song on the Gameboy Advance

Novice calligraphy - Gothic hand, with letter guide

Video compilation of my classic console homebrew games

Seven segment display circuit with the 4511 decoder and the 4029 counter

A simple Atari 2600 joystick tester circuit

555 timer and 4017 decade counter - traffic lights circuit

Catch That LED! - an electronic game circuit

Capacitor study circuit

BlackBerry PlayBook development - Sheepish Bearings (Native SDK, OpenGL)

Neo Geo Pocket Color development - NGCollector

Neo Geo development - Neo Thunder

Atari 5200 development - Shooting Gallery

ZX Spectrum development - simple input/graphics example

Vectrex development - Scalar Ownage

Nintendo Virtual Boy development - Real Danger

Gameboy Color development - Burly Bear vs. The Mean Foxes (GBC version)

Sega Master System development - Burgers of Hanoi

Colecovision development - Mowleco

TurboGrafx-16/PC Engine development - Alddee

Atari Lynx development - Catkanoid

Nintendo NES development - Invaders must die!

Atari 2600 development - Snappy (batari basic)

Super Nintendo development - Bucket

Gameboy Advance development - smgbalib library

Airplane Vegas slot machine

Sega Genesis development - Gen Poker

(2004) Project One - first university game programming club project

Gameboy development - Burly Bear vs. The Mean Foxes

(2006) RGB Overdose - university programming contest entry