rcornwell / sims

Burroughs B5500, ICL1900, SEL32, IBM 360/370, IBM 7000 and DEC PDP10 KA10/KI10/KL10/KS10, PDP6 simulators for SimH
http://sky-visions.com
95 stars 20 forks source link

KA10: Spacewar no longer works under timesharing #297

Closed larsbrinkhoff closed 1 year ago

larsbrinkhoff commented 1 year ago

Running KA ITS, I type :games;spcwar to get this:

KA: APR ERROR IN NULL JOB  
PI LEVEL 7 BUGPAUSE.  FIND A WIZARD, CONSIDER TAKING A CRASH DUMP,
OR TYPE <ALTMODE>P TO ATTEMPT TO REVIVE THE SYSTEM.
YOU ARE NOW IN DDT.
BUGPC/   CNLJL+2   $Q-2/   CONSZ 230220   
larsbrinkhoff commented 1 year ago

If I proceed with $P, I'm back in timesharing and can quickly type ^Z to stop Spacewar, and then things are fine.

larsbrinkhoff commented 1 year ago

The last commit where Spacewar works is 7cddb91a.

The next commit is 62805b8b28 "KA10: Fixed second instruction interrupt address." With this commit, ITS crashes after ^Z to log in, so I can't test Spacewar.

larsbrinkhoff commented 1 year ago

Do you remember the special "hack hack" ITS uses for 340 interrupts?

larsbrinkhoff commented 1 year ago

Here's a test. 7cddb91 passes, latest master fails. https://github.com/PDP-10/its/blob/lars/hhtest/src/maint/hhtest.1

larsbrinkhoff commented 1 year ago

Previously discussed five years ago: https://github.com/rcornwell/sims/issues/64#issuecomment-400579074 and below.

@aap made some notes here: http://pdp-6.net/asmhacks.html#pisystem

larsbrinkhoff commented 1 year ago

Here's a simple test case with a SIMH do file and a paper tape image. hhtest.zip