Reverse Engineered Source Code for Raiders Of The Lost Ark

Programming the 6502 microprocessor and its relatives in assembly and other languages.
Post Reply
halkun
Posts: 45
Joined: 26 Nov 2012

Reverse Engineered Source Code for Raiders Of The Lost Ark

Post by halkun »

Hi All,
I stayed up way too lat finishing this, but I just wanted to share a project I was working on.
It started as me trying to figure out how to get the maximum "diamonds" to be able to "touch the ark" at the end of the game (Note: You can't)
but along with some other helpful partially complete source I was able to finish the whole thing.

You can find it at my repo here under the /src folder

https://github.com/joshuanwalker/Raiders2600

I also attached a copy here
Compiles using DASM
dasm.exe raiders.asm -sraiders.sym -T1 -Lraiders.lst -f3 -oraiders.bin

Have fun, let me know if you have any questions.
Attachments
tia_constants.h
(2.4 KiB) Downloaded 9 times
raiders.asm
(240.72 KiB) Downloaded 12 times
User avatar
BigEd
Posts: 11463
Joined: 11 Dec 2008
Location: England
Contact:

Re: Reverse Engineered Source Code for Raiders Of The Lost A

Post by BigEd »

That's great! Just for clarity, it's for Atari 2600, as you note in the repo:
Quote:
This repository contains the fully reverse-engineered and commented source code for the Atari 2600 classic, Raiders of the Lost Ark.

Unlike a raw disassembly, this project aims to provide a semantic understanding of the game logic. Variables, constants, and subroutines have been renamed and heavily commented to explain how the game works, from the procedural flute music to the complex collision logic in the Map Room.
6502inside
Posts: 101
Joined: 03 Jan 2007
Location: Sunny So Cal
Contact:

Re: Reverse Engineered Source Code for Raiders Of The Lost A

Post by 6502inside »

Nice work!
Martin_H
Posts: 837
Joined: 08 Jan 2014

Re: Reverse Engineered Source Code for Raiders Of The Lost A

Post by Martin_H »

Thanks for sharing this.

I am always amazed at what the 2600 achieved with its limited RAM.
halkun
Posts: 45
Joined: 26 Nov 2012

Re: Reverse Engineered Source Code for Raiders Of The Lost A

Post by halkun »

I MASSIVELY updated the readme on the repo and also cleaned up some variable names
User avatar
Broti
Posts: 28
Joined: 07 Sep 2023
Location: Moers, Germany

Re: Reverse Engineered Source Code for Raiders Of The Lost A

Post by Broti »

Very nice work indeed. :)
I'm still (very slowly) working on a disassembly of Space Invaders [PAL] for the 2600.
ROR A? Where we're coding, we don't need A.
Post Reply