diff --git a/Processors/68000Mk2/Implementation/68000Mk2Implementation.hpp b/Processors/68000Mk2/Implementation/68000Mk2Implementation.hpp index cacfbb2cd..54fe60b00 100644 --- a/Processors/68000Mk2/Implementation/68000Mk2Implementation.hpp +++ b/Processors/68000Mk2/Implementation/68000Mk2Implementation.hpp @@ -17,7 +17,7 @@ namespace CPU { namespace MC68000Mk2 { -// TODO: obeyance of the trace flag, the address/bus error exception. +// TODO: obeyance of the trace flag. /// States for the state machine which are named by /// me for their purpose rather than automatically by file position. @@ -270,6 +270,8 @@ void Processor> 1) & 1)) { \ + bus_error_ = x; \ + exception_vector_ = berr_ ? InstructionSet::M68k::AccessFault : InstructionSet::M68k::AddressError; \ MoveToStateSpecific(BusOrAddressErrorException); \ } \ if(vpa_) { \ @@ -375,9 +377,10 @@ void Processor void did_mulu(IntT);