Commit graph

3920 commits

Author SHA1 Message Date
Mark Pizzolato
ddaf2764a7 PDP10, PDP11, VAX: Fix DMC/DMR master clear when no units are attached to properly be able to act on register writes. 2014-05-13 09:16:16 -07:00
Mark Pizzolato
f6eb4bc4f5 SCP: Fix buffered console implementation to correctly retain buffering attributes across independent SET CONSOLE commands 2014-05-11 06:16:46 -07:00
Mark Pizzolato
746e5ab88c SCP: Fix reporting of console's buffering status. Fix parsing of MUX settings which were simply interpreted by matching a single token. Reported by Mark Bensen. 2014-05-05 05:30:35 -07:00
Mark Emmer
0432b3232d Merge git://github.com/simh/simh 2014-05-04 20:30:08 -05:00
Mark Emmer
f597da0a98 SDS: Refine Next command for subroutine branch
1. Treat the SBRM SysPOP like the BRM opcode for calling a subroutine.
2. If the -a (atomic) switch is present with a BRM or SBRM instruction, place a breakpoint at EA+1 rather than EA, since the return link is placed at EA (BRM) or at *EA (SBRM) with subroutine execution commencing at EA+1.
2014-04-23 20:51:24 -05:00
Peter Schorn
798b82b868 Added debug support for the MHDSK device, support for the NEXT command and a warning if 8086 symbolic input is attempted. 2014-04-21 08:56:27 +02:00
Mark Emmer
6f9f387c39 SDS: Add more complex (but optional) Next behavior
Allow -f switch with Next to move forward in code.
Allow -a switch with Next for "atomic" behavior that excludes interrupts for all instructions.

Update sds_doc.doc to describe the new behavior.
2014-04-19 14:50:15 -05:00
Mark Pizzolato
3946eb710e VAX, PDP11, PDP10: Added a explanation of the capabilities and limitations of the NEXT command which is output the first time a NEXT command is entered.
Also added CHMK, CHME, CHMS and CHMU to the set of instructions which are considered subroutine call initiators in the VAX simulator.
2014-04-19 05:45:29 -07:00
Mark Pizzolato
e8114cf088 SCP: Fix errant display of NEXT warning on first STEP command. From Peter Schorn
Better display in SHOW VERSION of full compiler name on OSX when using the clang LLVM compilers
Change stray non-ascii quote characters in comments.
2014-04-18 04:58:27 -07:00
Mark Pizzolato
92e3acb2f3 SCP: Added the rest of the NEXT command repeat count support. 2014-04-17 13:17:14 -07:00
Mark Pizzolato
3083933952 PDP10: Added support for the NEXT command to step over subroutine calls. 2014-04-17 13:07:59 -07:00
Mark Pizzolato
e7a934904c PDP11: Added support for the NEXT command to step over subroutine calls. 2014-04-17 13:07:37 -07:00
Mark Pizzolato
7fc8922a48 SCP: Added a repeat count for the NEXT command 2014-04-17 13:07:01 -07:00
Mark Emmer
f64b9d3fa2 Merge git://github.com/simh/simh 2014-04-17 07:55:27 -05:00
Mark Emmer
2df2f33352 SDS: Add -f switch to Next command to force step-over mode
Add -f switch ("force") to the Next command to set the temporary breakpoints regardless of instruction type.  This is useful at
the bottom of loops or to avoid going off into unrelated code should an interrupt or memory paging trap occur.
2014-04-17 07:55:12 -05:00
Mark Pizzolato
d0363c9f93 Merge pull request #132 from markemmer/master
SDS: Support simulator's new NEXT command to step over subroutine calls
2014-04-17 05:43:29 -07:00
Mark Emmer
c4438e15f4 SDS: Support simulator's new NEXT command to step over subroutine calls
Step over BRM, POP or SYSPOP by planting temporary (dynamic) breakpoints at P+1 and P+2.
2014-04-17 00:09:11 -05:00
Mark Pizzolato
9eff5331a9 PDP10: Fixed UBA reset logic to only reset the devices which are connected to the UBA being reset (reported by R. Voorhorst) 2014-04-16 02:17:33 -07:00
Mark Pizzolato
d3bdc26a94 VAX: Added support for the NEXT command to step over subroutine calls BSBB, BSBW, JSB, CALLS and CALLG 2014-04-14 14:23:06 -07:00
Mark Pizzolato
8f3e6438a3 SCP: Added the NEXT command. This command provides the ability for a simulator to step over subroutine calls. 2014-04-14 14:22:18 -07:00
Mark Pizzolato
ce332a18d7 PDP10: Initial code for 36bit DMA operations 2014-04-13 15:53:39 -07:00
Mark Pizzolato
513214ec9b PDP10: Added a generic UBA debug routine to log NXM events. Converted all internal NXM debug output to use this new routine. 2014-04-12 17:18:41 -07:00
Mark Pizzolato
9b7c614bb6 I1401: Fix to deal with instructions that are longer than 8 characters (from Van Snyder) 2014-04-12 10:11:36 -07:00
Mark Pizzolato
5f5e931db0 PDP11, VAX, PDP10: Fixed setting of register value reflecting return buffer address - Problem reported by R. Voorhorst 2014-04-12 09:48:39 -07:00
Mark Pizzolato
a24d23ee52 PDP10: Add missing updates from prior commit 2014-04-12 07:44:50 -07:00
Mark Pizzolato
95c7312669 PDP10: Added missing UBA DMA debug output of the trailing bytes when a partial word is referenced at the end of a DMA transfer.
Added ascii and sixbit decoded contents displayed in the debug output.
2014-04-12 07:22:18 -07:00
Mark Pizzolato
ee90f08bae PDP10: Fix UBA DMA debug output to use inverted byte and word masks 2014-04-11 16:22:50 -07:00
Mark Pizzolato
c367f8dc2d PDP10: Correctly format the various data displayed in the debug output 2014-04-11 12:40:07 -07:00
Mark Pizzolato
84707acc7e Compiler suggested cleanup 2014-04-11 09:39:19 -07:00
Mark Pizzolato
0d1ab44368 PDP10: Extended UBA DMA debug output to also be available when doing DMA in 16bit or 18bit modes and added display of words and bytes to the debug output. 2014-04-11 09:14:32 -07:00
Mark Pizzolato
33cce50153 PDP10: Fix formatting of UBA DMA debug output 2014-04-10 11:29:31 -07:00
Mark Pizzolato
ac2197e76a PDP10: Added DMA transfer debugging (IN, OUT and NXM) to the unibus adapter. 2014-04-10 08:21:39 -07:00
Mark Emmer
fcbd91f146 Merge git://github.com/simh/simh 2014-04-09 22:18:06 -05:00
Mark Emmer
29bb19c99a SDS: Documentation change for new history and SYSPOP features. 2014-04-09 22:13:35 -05:00
Mark Emmer
bf06cb4f87 SDS: Clean up CPU modes and record CPU mode in instruction history record
The three CPU modes -- normal, monitor and user were represented by two binary flags (nml_mode and usr_mode). The code is simpler and easier to read if the three modes are represented by one three-valued variable, cpu_mode. In addition, record the CPU mode in the instruction history record, and add the mode to the history display.

In addition, add an optional flag to the SET CPU HISTORY=n command to *not* record instructions executed in a particular CPU mode.  Flags are -n, -m and -u for normal, monitor and user mode respectively.  For example, SET -m CPU HISTORY=n will only record instructions executed in normal or user mode, and will not record instructions executed in monitor mode. This change aids user-mode program debugging by not filling the history with monitor-mode service functions and interrupt activity.
2014-04-09 22:11:55 -05:00
Mark Emmer
be18514beb SDS: Add assembly/disassembly support for common SYSPOPs.
Add new instruction class -- I_V_SPP for SYSPOPs and definitions for the standard ones provided by the time sharing system. Add instruction name annotation to the opc_val array.
2014-04-09 22:00:57 -05:00
Mark Pizzolato
74482ce448 PDP10, PDP11, VAX: Make sure that the DMC and DUP devices produce the right messages when an attach is attempted to an already attached line 2014-04-06 16:42:10 -07:00
Mark Pizzolato
b5d5ef7b56 PDP10, PDP11: Fix DUP device to properly activate polling on simulator startup (after reset) if any DUP devices are attached. 2014-04-02 13:08:48 -07:00
Mark Pizzolato
ff0191cf29 TMXR: Properly enable packet mode (as inherited from the main mux) on each line. Only produce modem debug output when modem signals have changed. Cleanup the output of SHOW MUX. 2014-04-02 13:07:26 -07:00
Mark Pizzolato
febea943d1 Merge branch 'master' of https://github.com/psco/simh 2014-04-02 09:45:42 -07:00
Mark Pizzolato
edb475fcc1 PDP10, PDP11, VAX: Fix DMC & DUP unit attach strings for multi-line device configurations. 2014-04-02 08:47:35 -07:00
Mark Pizzolato
e63fbdce49 SCP: Fix SHOW DEBUG device debug flags output for devices which may have debug settings which set multiple flags. 2014-04-02 04:49:33 -07:00
Mark Pizzolato
e79e41d9e4 TMXR: Change DSR to reflect attached state of line and DCD to reflect connected state of the line. 2014-04-01 19:45:47 -07:00
Mark Pizzolato
fa9295c9fd PDP11, PDP10, VAX: Fix DMC and DUP DDCMP debugging output for packet data 2014-04-01 19:35:45 -07:00
Peter Schorn
54e04dda7f Merge remote-tracking branch 'upstream/master' 2014-04-01 19:35:12 +02:00
Peter Schorn
8d3ecd0ddb AltairZ80: Added boot to MHDSK device and improved disassembler 2014-04-01 19:33:09 +02:00
Mark Pizzolato
0f417ed4ca TMXR: Change modem DSR & DCD to never be indicated as on unless a connection is present. 2014-04-01 08:07:43 -07:00
Mark Pizzolato
017141c9a3 TMXR: Enable proper inheritance of mux global/default buffering value to individual lines. 2014-03-30 13:36:41 -07:00
Peter Schorn
49d38187dd Updated AltairZ80 documentation and incorporated altairz80_mhdsk.c in build process 2014-03-29 15:12:53 +01:00
Peter Schorn
1d35a4f612 Updated year in copyright and implemented sim_vm_pc_value 2014-03-29 08:19:22 +01:00