register_simpleattr wasn't returning value
This commit is contained in:
parent
5009f75ad9
commit
42923f5f18
1 changed files with 1 additions and 1 deletions
2
mmio.py
2
mmio.py
|
@ -257,7 +257,7 @@ class MMIO:
|
||||||
return value
|
return value
|
||||||
|
|
||||||
# NOTE: Registers a different ("closure of") rwattr each time.
|
# NOTE: Registers a different ("closure of") rwattr each time.
|
||||||
self.register(_rwattr, addr, 1, reset=reset)
|
return self.register(_rwattr, addr, 1, reset=reset)
|
||||||
|
|
||||||
# In the real hardware, the PDP-11 RESET instruction pulls a reset line
|
# In the real hardware, the PDP-11 RESET instruction pulls a reset line
|
||||||
# that all devices can see. In the emulation, devices that need to know
|
# that all devices can see. In the emulation, devices that need to know
|
||||||
|
|
Loading…
Add table
Reference in a new issue