Skip to content
  • Stephen Anthony's avatar
    Rework trapping on 'read from write port' functionality. · abfc01b4
    Stephen Anthony authored
    The new code introduces a generic 'EmulationWarning' exception that can
    be thrown for any reason.  The RWP functionality has been ported to use
    this, with the main benefit that if we ever have to add new exceptional
    cases, we no longer need to modify M6502 class; it will pick up on the
    new exceptions and pass them to the EmulationWorker as necessary.
    
    Functionally, the RWP stuff works the same as before, just with a
    different implementation behind the scenes.
    abfc01b4