The Legend of Zelda

Programming the 6502 microprocessor and its relatives in assembly and other languages.
Post Reply
bvold
Posts: 23
Joined: 07 Jul 2005
Location: Minnesota
Contact:

The Legend of Zelda

Post by bvold »

Hay,
Does anyone know what the orginal Legend of Zelda and Link to the Past where programmed in? I am thinking of porting them to some of my homebrew systems and was wondering what they where in. Thanks!!!

Beau,
:D
ndru
Posts: 21
Joined: 10 Aug 2004

Post by ndru »

The Legend of Zelda, being a NES game, was programmed in 6502 assembly. The Legend of Zelda: A Link to The Past, being a SNES game, was programmed in 65C816 assembly, as well as SPC700 assembly for the sound routines.

I don't think porting these games to a homebrew system would be simple though, because the relatively powerful PPUs in the NES and SNES were used like graphics accelerators, and were quite integral to the programming of NES and SNES games. The SPC700 was also important in offloading sound generation code off the SNES CPU. If you could obtain these chips and somehow integrate them into your design, I'm sure your task would be made a lot easier. The NES PPU has been used to create a custom PC graphics accelerator.
TMorita
Posts: 217
Joined: 15 Sep 2002

Re: The Legend of Zelda

Post by TMorita »

bvold wrote:
Hay,
Does anyone know what the orginal Legend of Zelda and Link to the Past where programmed in? I am thinking of porting them to some of my homebrew systems and was wondering what they where in. Thanks!!!

Beau,
:D
I've done commercial NES programming on a few games:

Indiana Jones and the Last Crusade NES
Defenders of Dynatron City NES

Most of the work would be in emulating the video display processor. It's pretty complicated...it handles multiple planes and sprites using character graphics.

If you want a system that plays NES games, it's better to add a keyboard and a disk drive, etc to a NES than to adapt an existing 6502 system to play NES games.

Toshi
Post Reply