1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-13 15:27:46 +00:00
Mark Pizzolato 0774109897 PDP11: Fixed bug in CSM (John Dundas)
John Dundas said:

Bob and all,

I ran across what I believe to be a bug in the CSM code:

         case 070:                                       /* CSM */
             if (CPUT (HAS_CSM) && (MMR3 & MMR3_CSM) || (cm != MD_KER)) {

According to the Architecture Handbook, CSM may be executed only if the MMR3 bit is set AND the mode is not Kernel.  Changing the code to:

         case 070:                                       /* CSM */
             if (CPUT (HAS_CSM) && (MMR3 & MMR3_CSM) && (cm != MD_KER)) {

also has the effect of making the ZKDKB0 diagnostic much happier.

Thanks,

John
--
John A. Dundas III
2013-12-06 10:48:14 -08:00
2012-05-02 05:39:27 -07:00
2012-04-23 04:02:02 -07:00
2012-05-03 13:54:32 -07:00
2012-03-24 15:30:27 -07:00
2013-10-12 13:23:44 -07:00
2013-10-12 13:23:44 -07:00
2013-10-12 13:23:44 -07:00
2012-03-24 15:30:27 -07:00
2012-05-02 05:39:27 -07:00
2012-03-24 15:30:27 -07:00
2013-10-12 13:23:44 -07:00
2013-10-12 13:23:44 -07:00
2013-10-12 13:23:44 -07:00
2013-10-12 13:23:44 -07:00
2013-10-12 13:23:44 -07:00
2013-10-12 13:23:44 -07:00
2011-04-15 08:33:23 -07:00
2011-04-15 08:33:23 -07:00
2011-04-15 08:34:26 -07:00
2011-04-15 08:34:26 -07:00
2013-10-12 13:23:44 -07:00
2011-04-15 08:35:54 -07:00
2012-03-24 15:30:27 -07:00
2011-04-15 08:35:54 -07:00
2012-03-24 15:30:27 -07:00
2011-04-15 08:35:54 -07:00
2011-04-15 08:35:54 -07:00
2011-04-15 08:36:09 -07:00
2011-04-15 08:35:54 -07:00
2011-04-15 08:35:54 -07:00
2011-04-15 08:35:54 -07:00
2012-03-28 12:43:06 -07:00
2011-04-15 08:35:54 -07:00
2011-04-15 08:36:09 -07:00
2011-04-15 08:35:54 -07:00
Description
The Open SIMH simulators package
140 MiB
Languages
C 96.9%
Assembly 1%
CMake 0.5%
Batchfile 0.4%
Makefile 0.4%
Other 0.5%