RegisterListener references changed to UpdateListener.
RegisterListener references changed to UpdateListener.
RegisterListener references changed to UpdateListener.
RegisterListener references changed to UpdateListener.
Updated MainMemory so that previously overloaded notify() method is split into two: notifyRead() and notifyWrite(), avoiding naming conflict with Thread.notify(). This also makes code clearer in terms of what these methods do. Retested to ensure all is still working.
Updated MainMemory so that previously overloaded notify() method is split into two: notifyRead() and notifyWrite(), avoiding naming conflict with Thread.notify(). This also makes code clearer in terms of what these methods do. Retested to ensure all is still working.
Retested after name changes and added references to event listener to prevent null pointer exceptions.