Closed DaveWise2 closed 6 years ago
Denied. run_cmd_message doesn't exist in 3.X.
How about fprint_stopped?
As I pointed out to Mark, input IO instructions can write all over themselves. Therefore, using what's at PC-12 is an unreliable indicator of what's going on.
The IO instruction can be reconstructed from the saved opcode, PAR, and the device number, which is not currently saved. I'll add this in the next major code drop.
Aha, quite right. It happens all the time - the boot
command for paper tape is rnpt 0
at address 0, which is overwritten by the first instruction on the tape.
Thanks, I'll be looking forward to it.
It would be nice if the message printed when you interrupt deferred IO contained the instruction, like other SIMH halts.
Context
I think I have it working. Here are code snippets, with a little bit of context.
i1620_defs.h
i1620_sys.c
i1620_cpu.c
the output of "sim> SHOW VERSION" while running the simulator which is having the issue
IBM 1620 simulator V4.0-0 Beta git commit id: c389573c sim> show ver IBM 1620 simulator V4.0-0 Beta Simulator Framework Capabilities: 32b data 32b addresses no Ethernet Idle/Throttling support is available Virtual Hard Disk (VHD) support RAW disk and CD/DVD ROM support FrontPanel API Version 4 Host Platform: Compiler: Microsoft Visual C++ 18.00.40629.00 Simulator Compiled as C arch: x86 (Debug Build) on Jun 7 2017 at 09:30: 16 Memory Access: Little Endian Memory Pointer Size: 32 bits Large File (>2GB) support SDL Video support: No Video Support PCRE RegEx support for EXPECT commands OS clock resolution: 1ms Time taken by msleep(1): 1ms OS: Microsoft Windows [Version 6.1.7601] Architecture: x86 on AMD64, Processors: 36 Processor Id: Intel64 Family 6 Model 63 Stepping 2, GenuineIntel, Level: 6, Revision: 3f02 git commit id: c389573c sim>
how you built the simulator or that you're using prebuilt binaries
Local build, using Microsoft Visual Studio 2013.
the simulator configuration file (or commands) which were used when the problem occurred.
the expected behavior and the actual behavior
Current (stock) behavior:
Desired behavior (what I get with the modifications above):
you may also need to provide specific pointers to data files that may be necessary to demonstrate the problem