Learning to program for a 6502 computer

Topics covering the 6502 emulator in Ranger Citadel: tutorials, specs, source code and share your work!

Moderator: Ranger Team Alpha

Post Reply
User avatar
Joby
Developer
Posts: 129
Joined: February 23rd, 2012, 9:21 am
Location: Ground Zero - inXile
Contact:

Learning to program for a 6502 computer

Post by Joby » September 3rd, 2014, 12:05 pm

It's just 1's and 0's... how hard can it be?!

The following are some helpful online resources for learning 6502 programming:

A brief guide to programming the 6502 in assembly language: http://www.dwheeler.com/6502/oneelkruns/asm1step.html

6502 opcode summary: http://www.6502.org/tutorials/6502opcodes.html

Code samples: http://6502.org/source/

Complete step-by-step tutorial: http://skilldrick.github.io/easy6502/

Emulated programs: http://www.6502asm.com/

Note: the above tutorials and emulators are not designed with the same memory mapping as the Wasteland 2 computer. You won't be able to use those programs directly, but they are a great resource for learning.

Next, you'll need to get some tools together to assemble your programs into opcode and compile them into a binary file called "Diskette". Check out this thread.
- Joby
inXile's ruthless Leader of Scripters

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests