mirror of
https://github.com/simh/simh.git
synced 2026-04-25 03:34:34 +00:00
PDP11: Fixed writes to 11/70 RO registers
This commit is contained in:
committed by
Mark Pizzolato
parent
9b1e541c8f
commit
6dc5ddd509
@@ -1,6 +1,6 @@
|
|||||||
/* pdp11_cpumod.c: PDP-11 CPU model-specific features
|
/* pdp11_cpumod.c: PDP-11 CPU model-specific features
|
||||||
|
|
||||||
Copyright (c) 2004-2022, Robert M Supnik
|
Copyright (c) 2004-2023, Robert M Supnik
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a
|
Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
copy of this software and associated documentation files (the "Software"),
|
copy of this software and associated documentation files (the "Software"),
|
||||||
@@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
system PDP-11 model-specific registers
|
system PDP-11 model-specific registers
|
||||||
|
|
||||||
|
10-Oct-23 RMS Fixed writes to 11/70 RO registers (Tony Lawrence)
|
||||||
19-Nov-22 RMS Fixed byte access errors in PIRQ, STKLIM, CDR (Walter Mueller)
|
19-Nov-22 RMS Fixed byte access errors in PIRQ, STKLIM, CDR (Walter Mueller)
|
||||||
15-Sep-20 RMS Fixed problem in KDJ11E programmable clock (Paul Koning)
|
15-Sep-20 RMS Fixed problem in KDJ11E programmable clock (Paul Koning)
|
||||||
04-Mar-16 RMS Fixed maximum memory sizes to exclude IO page
|
04-Mar-16 RMS Fixed maximum memory sizes to exclude IO page
|
||||||
@@ -463,6 +464,12 @@ t_stat CPU44_wr (int32 data, int32 pa, int32 access)
|
|||||||
{
|
{
|
||||||
switch ((pa >> 1) & 017) { /* decode pa<4:1> */
|
switch ((pa >> 1) & 017) { /* decode pa<4:1> */
|
||||||
|
|
||||||
|
case 000: /* low error */
|
||||||
|
return SCPE_OK;
|
||||||
|
|
||||||
|
case 001: /* high error */
|
||||||
|
return SCPE_OK;
|
||||||
|
|
||||||
case 002: /* MEMERR */
|
case 002: /* MEMERR */
|
||||||
MEMERR = 0;
|
MEMERR = 0;
|
||||||
return SCPE_OK;
|
return SCPE_OK;
|
||||||
@@ -480,6 +487,9 @@ switch ((pa >> 1) & 017) { /* decode pa<4:1> */
|
|||||||
case 005: /* Hit/miss */
|
case 005: /* Hit/miss */
|
||||||
return SCPE_OK;
|
return SCPE_OK;
|
||||||
|
|
||||||
|
case 012: /* system ID */
|
||||||
|
return SCPE_OK;
|
||||||
|
|
||||||
case 013: /* CPUERR */
|
case 013: /* CPUERR */
|
||||||
CPUERR = 0;
|
CPUERR = 0;
|
||||||
return SCPE_OK;
|
return SCPE_OK;
|
||||||
|
|||||||
Reference in New Issue
Block a user