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
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
contain the sources for the actual game, with the former creating the intro screen, and the latter handles gameplay.
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.
- the game rom. Use a Lynx emulator to play
- the source code for Catkanoid. I think it's a good starting point if you wish to develop your own Lynx games
- 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.
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.
- the only decent emulator I could find
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.