My journey experimenting with 6502 assembly and CC65


A while ago I slowly started experimenting with 6502 assembly while I read a bit about the subject. After some tinkering around, I really got excited with the idea of creating a NES game.

I sketched some ideas and ended up with a fantasy roguelike(so original!) and choose to use CC65(a C compiler for machines with a 6502-compatible CPU).

However, I ended up dealing with some pitfalls during development, like: 2 axis map scrolling, random map generation… heck! I wasn’t even able to export the music from FamiTracker into the code.

It was a new experience and provided me a lot of epiphanies, but nearly all tools are designed for Windows(even the emulator with debugger) and such difficulties really slowed my other ideas.

I am going to move the project to C#/SDL2, trying to keep as much as possible the NES limitations (pallete, resolution, sound) and on a future resume the NES version.

Discoveries of the Month – October/2016

I got this idea from the podcasts of the now defunct blog Tuxradar. Basically just to keep track and share anything that I find cool or interesting, posting on the last day of every month.

Web Development

You might not need jQuery: A site that gives examples where you can use vanilla JS instead of having jQuery as a dependency on your code.
You might not need JavaScript: Same idea as above, but using CSS3 and HTML5 to achieve the results.


cc65: cc65 is a complete cross development package for 65(C)02 systems, including a powerful macro assembler, a C compiler, linker, librarian and several other tools. cc65 has C and runtime library support for many of the old 6502 machines, including Commodore, NES, ZX Spectrum, PC Engine, Apple ][ and others.
Ophis: Ophis is an assembler for the 6502 microprocessor – the famous chip used in the vast majority of the classic 8-bit computers and consoles. Its primary design goals are code readability and output flexibility – Ophis has successfully been used to create programs for the Nintendo Entertainment System, the Atari 2600, and the Commodore 64.
NESASM: Makefile and source files to compile the old community NESASM3 Assembler on Linux.


Red Fang: I am into stoner rock since mid-2013. Glenn Fricker recommended that on one of his videos. Great sound and lyrics.
The Sword: Literally the same as Red Fang(even the recommendation).
Cannabis Corpse: I simply love parody bands such as Misfats or Mac Sabbath. Cannabis Corpse is a Death Metal band like Cannibal Corpse, but with marijuana-themed lyrics.

YouTube Channels:

Peter Brown: Woodworking and experiments channel. His Making Micarta Mistakes video made me laugh as I recalled my own frustrations when a project goes wrong.