Harha/hyper-gb

cleanup source code, re-think design

Opened this issue · 1 comments

Harha commented

Just a generic cleanup task that can also be used for pondering design decisions that I've made on the fly while writing this thing.

Harha commented

MMU ROM and RAM banks must be implemented as singular MemoryArea extending class instances.

  • m_rom = MemoryArea extending class instance
  • m_ram = MemoryArea extending class instance

This way creating support for cart ROM and RAM mappers will be way more simple.