This commit is contained in:
parent
974674e067
commit
94c72d28a6
1 changed files with 17 additions and 8 deletions
11
kl11.py
11
kl11.py
|
@ -123,7 +123,16 @@ class KL11:
|
||||||
self.ub.intmgr.simple_irq(pri=4, vector=0o64)
|
self.ub.intmgr.simple_irq(pri=4, vector=0o64)
|
||||||
|
|
||||||
# transmit buffer
|
# transmit buffer
|
||||||
case 6 if value is not None: # tbuf
|
case 6:
|
||||||
|
if value is None:
|
||||||
|
# *** READING ***
|
||||||
|
# manual says this is load-only; however automatic
|
||||||
|
# byte write support (byteme/mmio) requires this
|
||||||
|
# be readable. Probably byteme should be fixed instead
|
||||||
|
# to catch traps from unreadables and synthesize
|
||||||
|
# a zero there (?)
|
||||||
|
value = 0
|
||||||
|
else:
|
||||||
# *** WRITING ***
|
# *** WRITING ***
|
||||||
value &= 0o177
|
value &= 0o177
|
||||||
if (value != 0o177):
|
if (value != 0o177):
|
||||||
|
|
Loading…
Add table
Reference in a new issue