Refactored SW simulator to support the new core address map.
The refactor is in progress, a lot of old stuff remains...