GFX6502

The point of this pet project is to:

  1. Learn 6502 assembly
  2. Learn 3D graphics programming
  3. Implement a 3D engine in 6502 assembly

Below are a sea of notes and ideas to do so.

If you're looking for order, come back in a few months (:

6502 Basics

Exercises

Start with the Easy6502 emulator. Then move on to 8bitworkshop. Lastly, build a local dev environment.

  • See the Snake game from Easy6502 above. Re-implement it from memory, fixing the bugs discussed in this gist: https://gist.github.com/wkjagt/9043907
  • Learn Bresenham's line drawing algorithm.
    • Implement it from memory in Go.
    • Implement it for 6502, either NES or 6502js.
    • Implement it from memory on the NES.
  • Implement Snake on the NES.
  • Implement 3D tutorial from Coding Train in Go.
  • Implement 3D tutorial from Coding Train on the NES.
  • Implement 3D engine from javidx9 in Go.
  • Implement 3D engine from javidx9 on the NES.
  • Look into ray casting.

Extras:

Assembly Practice

Ordered by complexity. Go through them all.

NES Practice

Go through them all.

Tutorials:

Watch and learn:

Sample projects:

NES Emulators

NES Game References

Graphics

I'm Too Young to Die:

Hurt Me Plenty:

Ultra-Violence:

Books:

  • Fundamentals of Computer Graphics (Marschner & Shirley)

Graphics on 6502

Debuggers

All of them suck.

Interesting:

To take matters in your own hands:

Tools

Random Fun

History:

6502 trickery:

Next steps: