clean up
This commit is contained in:
parent
87dff94cd3
commit
c4f9423a4c
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ class UNIBUS:
|
||||||
# ignore them). Devices can, of course, just raise the traps themselves.
|
# ignore them). Devices can, of course, just raise the traps themselves.
|
||||||
def illegal_cycle(self, addr, /, *, cycle=BusCycle.WRITE16, msg=None):
|
def illegal_cycle(self, addr, /, *, cycle=BusCycle.WRITE16, msg=None):
|
||||||
if msg is None:
|
if msg is None:
|
||||||
msg =f"Illegal cycle ({cycle}) at {oct(addr)}"
|
msg = f"Illegal cycle ({cycle}) at {oct(addr)}"
|
||||||
self.cpu.logger.info(msg)
|
self.cpu.logger.info(msg)
|
||||||
raise PDPTraps.AddressError(cpuerr=self.cpu.CPUERR_BITS.UNIBUS_TIMEOUT)
|
raise PDPTraps.AddressError(cpuerr=self.cpu.CPUERR_BITS.UNIBUS_TIMEOUT)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue