Merge pull request #312 from retro-wertz/main_ram_map