Atari Lynx development - Catkanoid
Last updated on January 28, 2012, 10:03 by Sebastian Mihai
As I was working on Invaders must die! on the NES, I noticed that the cc65 compiler can also be used to generate Atari Lynx roms, since the Lynx is based on the same processor as the NES (the 6502). Other than trivial Hello World Lynx programs, I've only found one worthy sample of how to build a .lnx rom, and I have used it as a basis for Catkanoid.

I programmed an Arkanoid clone called Catkanoid. In case you're wondering about the name, Atari console-related software names sometimes use references to cats, which was the naming convention used by Atari (such as for the Lynx, Jaguar, and the abandoned Panther). The game's notable feature is the power gauge, which can be used to spawn helper balls which last for a limited amount of time. The fuller the power gauge, the more balls are spawned. It's okay to lose these, as long as you don't lose the primary ball.

The Lynx sure follows Atari's tradition of complex hardware. This is reflected in how complicated building a .lnx rom is. Out of the four (!!) subdirectories inside the main catkanoid project directory, cart and resident are used only as frameworks to build the rom. They are based on a bunch of assembly source code files, and can be ignored for the most part. I've already done the work to adjust the make scripts, so that's covered. The other two, intro and maingame contain the sources for the actual game, with the former creating the intro screen, and the latter handles gameplay.

Note: the emulator takes a few seconds to start up the rom, so don't think anything has gone wrong unless you've waited about 10 seconds.

Downloads


rom - the game rom. Use a Lynx emulator to play
source code - the source code for Catkanoid. I think it's a good starting point if you wish to develop your own Lynx games
development kit - the entire cc65 dev kit and tool chain. It contains all you need to develop for the Lynx. It contains the source code for the game, along with a bunch of other sample projects. All projects are found in the source directory. Their makefiles assume the dev kit is installed in C:\cc65 The kit also contains an emulator.
Note: This package also includes my NES projects. If you have already downloaded it from any Nintendo NES project page, you do not need to download it again; the Lynx projects should already be included.
emulator - the only decent emulator I could find

Screenshots




Here is Catkanoid running on real 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.

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

Intellivision development - Hotel Bunny

Coverage of my projects

My homebrew cartridges

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