alexanderdickson / NES

A NES emulator written in JavaScript utilising latest web technologies and with debugging tools
3 stars 2 forks source link

Pull mapping data out from CPU into its own mapper object #11

Closed alexanderdickson closed 11 years ago

alexanderdickson commented 11 years ago

Currently, there is a bunch of hacks in the CPU's writeMemory() and related functions to handle mapping (and only for the NES0 mapper).

They should be extracted into mapper objects, and hooked up via the mapper number extracted from the iNES format.