Step 4: CPU + Flash RAM


Goal: Attach a device to the databus.

Okay, a few steps at once.

The goal is to have a relatively friendly modern build environment going. I found one project that was actually showing how to use cc65 and makefiles as your build environment. So that got me started on having a generated HEX file that I could burn to the ROM.

The Flash ROM has a slightly longer loop going.

The memory map here is pretty much:

  • 0x0000-0x7FFF - The first 32k of the flash ROM
  • 0x8000-0xFFFF - The first 32k of the flash ROM, mirrored