mirror of
https://github.com/rcornwell/sims.git
synced 2026-01-13 15:27:04 +00:00
KA10: Account for MIT I/O Multiplexor in 340 Display CONI response
Thanks to Lars for figuring it out!
This commit is contained in:
parent
43581c1739
commit
40613cbd44
@ -227,8 +227,15 @@ t_stat dpy_devio(uint32 dev, uint64 *data) {
|
||||
switch (dev & 3) {
|
||||
case CONI:
|
||||
*data = (uint64)(uptr->STAT_REG & CONI_MASK);
|
||||
sim_debug(DEBUG_CONI, &dpy_dev, "DPY %03o CONI PC=%o %06o\n",
|
||||
dev, PC, (uint32)*data);
|
||||
/*
|
||||
* MIT AI only, See Hardware Memo 1
|
||||
* https://github.com/larsbrinkhoff/its-archives/blob/master/ailab/ITS_Hardware_Memo_1.pdf
|
||||
* Set sign bit if device assigned to this CPU (KA or PDP-6)
|
||||
* (Thanks to Lars for figuring this out!)
|
||||
*/
|
||||
*data |= SMASK; /* always assigned to us */
|
||||
sim_debug(DEBUG_CONI, &dpy_dev, "DPY %03o CONI PC=%06o %012llo\n",
|
||||
dev, PC, *data);
|
||||
break;
|
||||
|
||||
case CONO:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user