Ah, cool. I looked through the code again, and now I see how it works.
Previously I was looking at sim_int_char, and never saw it on the left side
of an operation. I see now that it's actually being used to setup a signal
handler, and the CPU implementations are responsible for changing it. It
appeared to be more or less a compile time constant when I first looked at
it.
I have to admit to not having put a lot of effort at the time into finding
it. I was getting *so* pissed off at hitting control-e to move up a line in
WM and kept dropping into SIMH, and all I wanted to do was get a Forth image
compiled so I could boot the SBC.
--jc
On Wednesday 03 December 2003 11:39 am, Mike Gemeny wrote:
JC,
I can help with that one. The SIMH docs state:
" 3.7.2 User Specified Stop Conditions
Typing the interrupt character stops simulation. The interrupt character
is defined by the WRU (where are you) register and is initially set to
005 (^E)."
If I do a "E WRU" I get "WRU: 005:
If I tell SIMH "D WRU 007" that changes the interrupt from ^E to ^G.
I hope this is what you are looking for.
Mike.