Commit graph

2821 commits

Author SHA1 Message Date
Mark Pizzolato
097ebbb8eb TIMER: Synchronize clock calibration with throttled rate when throttling starts
As discussed in #508
2018-01-28 08:23:45 -08:00
Jordi Guillaumes Pons
2924b338df ETHER: Allow VDE connections to specify a particular virtual switch port
Syntax: attach XXX vde:/switch-path{:port}

Port is optional, if not specified VDE will choose (and maybe create) one
automatically
2018-01-27 03:10:02 -08:00
Mark Pizzolato
11df2a2fd9 SCP: Set proper bound on error arrays 2018-01-23 23:06:39 -08:00
Mark Pizzolato
dc59736043 README: Fix Table of Contents broken links 2018-01-23 19:25:34 -08:00
Mark Pizzolato
fe47ba6324 README: Add a table of contents. 2018-01-23 19:16:55 -08:00
Mark Pizzolato
7fbe5e8530 TIMER: Avoid throttling recalibration when resuming execution
As discussed in #508
2018-01-23 08:53:04 -08:00
Mark Pizzolato
fd80be4e91 TIMER: Properly serialize (and reference) asynch timer thread state
Without this change, timer events don't get queued correctly when the
simulator isn't running (i.e. when at the command prompt or as a consequence
of a RESET command (or during boot preparation)).

This only affects when timers are asynchronous which is not the current
default.
2018-01-23 07:30:20 -08:00
Mark Pizzolato
4907dfb0e2 SCP: Display default delay values with SHOW SEND. 2018-01-22 22:02:03 -08:00
David O'Shea
52aebb2361 README: Fix a number of typos
This commit fixes a number of typos in README.md, most significantly a
typo in the name of the new command "GO UNTILE".
2018-01-18 02:19:49 -08:00
Mark Pizzolato
f3d1076887 TIMER: Fix throttling calibration and recalibration
- Throttling delays are self adjusting for specific speed throttling
   (K cycles and M cycles and % cycles).
- Throttling starts after THROT_DELAY seconds of execution.
- THROT_DELAY is a register accessible via EXAMINE and DEPOSIT
   once throttling has been enabled.
- Throttle sleep times are recalibrated every 10 seconds based on
   execution performance for the prior 10 seconds if the current
   execution rate differs from the desired rate by more than
   THROT_DRIFT_PCT.  THROT_DRIFT_PCT defaults to 5 and is a
   register accessible via EXAMINE and DEPOSIT once throttling has
   been enabled.
- Addressing details reported in #508
2018-01-16 21:44:25 -08:00
Mark Pizzolato
b23f1d9dd0 FRONTPANEL: Fix support for DEBUG command to allow switches 2018-01-13 22:03:40 -08:00
Timothe Litt
34292312a8 PDP10: Fix attach pending expression test 2018-01-12 18:35:34 -08:00
Mark Pizzolato
c494e1a120 FRONTPANEL: Fix clang compiler warning 2018-01-12 16:35:51 -08:00
Mark Pizzolato
c4e55d0f6b HP3000: HP 3000 release 7
See HP3000/hp3000_release.txt for details of the release
2018-01-12 14:48:50 -08:00
Mark Pizzolato
7ea6c2d7b3 FRONTPANEL: Updated FrontPanelTest application
- Fixed screen alignments/scrolling between commands
- Add ncurses screen update support on non-windows platforms
- Add tests for new frontpanel APIs
- Add multiple panel startup and shutdown activity to test shutdown
- Add breakpoints to help debug VAX console ROM tests that have failed
2018-01-12 12:43:02 -08:00
Mark Pizzolato
a6d2e5dd4f VAX, VAX780: Properly handle maximum interval value 2018-01-12 11:28:35 -08:00
Mark Pizzolato
2efc3a17ec FRONTPANEL: sim_frontpanel API release 12
- Cleanup session reading logic to properly handle all cases of TCP send
   coalesced data.
- Use Remote Console EXECUTE Command to consolidate register query activity
   when halted.
- Use -16 switch for EXAMINE and DEPOSIT commands to be sure to present data
   in a reliable simulator independent way.
- Add sim_panel_halt_text and sim_panel_device_debug_mode APIs
- Better cleanup of simulator process during panel shutdown on Win32
2018-01-12 10:07:15 -08:00
Mark Pizzolato
3eda8f909c SCP: Silence noise traffic going to remote console secondary sessions 2018-01-10 08:59:30 -08:00
Mark Pizzolato
2cd2f8c1d3 SCP: Use explicit filename compare when built without HAVE_GLOB & HAVE_FNMATCH 2018-01-07 16:54:39 -08:00
Mark Pizzolato
0fc41cb3bd SCP: Properly cancel very long event waits
usecs_remaining must be zero to be sure that canceling is complete.
2018-01-07 13:58:28 -08:00
Mark Pizzolato
39c5217740 SCP: Properly reset the event queue prior to run/boot
Need to call sim_cancel to remove entries from the event queue since
canceling some events may involve other components.
2018-01-07 13:56:16 -08:00
Mark Pizzolato
ee4c33ead2 VAX: Fix Interval Timers
- Properly set the Interval Register when a running timer is stopped
- Peoperly clear timer interrupt pending when CSR is updated
- Properly handle the case when the timer is started with the interval
   register is 0.
- Properly stop the running timer when it is restarted or adjusted
   with a new interval value.
- Better debug info
2018-01-07 13:46:07 -08:00
Mark Pizzolato
fc25cf54fa SCP: Add EXECUTE command to remote console master mode.
This allows a set of commands to be received and executed together.
The frontpanel API can make use of this.
2018-01-07 13:40:02 -08:00
Mark Pizzolato
eea15bfe4e SCP: Add DEBUG command to allow Debug enabling/disabling via Remote Console
This exposes the functionality of SET DEBUG and SET <dev> DEBUG without using
a general SET command which the remote console facility avoids.
2018-01-07 12:47:42 -08:00
Mark Pizzolato
154320bf71 SCP: Add support for BREAK/EXPECT/UNTIL/IF action steps in remote console 2018-01-07 12:09:35 -08:00
Mark Pizzolato
35f214c937 SCP: Move Coverity badge to What's New line 2018-01-07 12:07:55 -08:00
Mark Pizzolato
80c1c9e0fd SCP: Silence Coverity warning 2018-01-05 05:53:44 -08:00
Mark Pizzolato
833927d349 SCP: Cleanup compiler warnings 2018-01-04 17:06:58 -08:00
Mark Pizzolato
d2cfee9488 SCP: Add Coverity badge to README.md 2018-01-04 12:12:20 -08:00
Mark Pizzolato
fbcf72abfc SCP: Allow commands to be enclosed in quotes.
This is useful when commands containing semi-colons are used in the
action steps of BREAK, EXPECT, UNTIL, IF commands.
2018-01-04 07:12:43 -08:00
Mark Pizzolato
9086b269b2 SCP: Allow semicolons within quoted strings while parsing action strings 2018-01-04 07:06:52 -08:00
Mark Pizzolato
72d4622ddf SCP: Add ECHOF command which takes a quoted string as an argument 2018-01-04 07:06:51 -08:00
Richard Cornwell
2389f41f5e I7000: Updated copyright notice on i7000_com.c. 2017-12-31 19:21:29 -05:00
Richard Cornwell
8aa6c9fde6 I7000: Fixed coverity warnings. 2017-12-29 16:48:52 -05:00
Mark Pizzolato
4a8564aa51 VAX: Add Bitfield detail to SYSD CNF and TMR CSR REGister definitions 2017-12-28 16:49:04 -08:00
Bob Supnik
c6fb3285a5 PDP11, VAX780: Fix TM03 Read tape mark must set Massbus EXC 2017-12-28 16:14:24 -08:00
Seth Morabito
7ba70ac35b 3b2: Allow OS to set baud rate and parity
The CONTTY emulation now honors parity, baud rate, and character bit
size as set by the operating system.
2017-12-28 12:12:06 -08:00
Richard Cornwell
b5ea9ec38e I7000: Initial release of a set of simulators for IBM 7000 series mainframes.
These include simulators for the IBM 701, IBM 702, IBM 704, IBM 705,
IBM 705/3, IBM 709, IBM 1410/IBM 7010, IBM 7070, IBM 7080, IBM 7090
and IBM7094.

  These basically were a collection of machines that shared a common
  set it peripherals, Each group had its own instruction set, hence
  different simulators.

   IBM 701   -> i701
   IBM 702/705/705/3/7080 -> i7080
   IBM 7070/7074 -> i7070
   IBM 1410/7010 -> i7010
   IBM 704 -> i704
   IBM 704/709/7090/7094 -> i7090
  The i7090 can be set to simulate a IBM 704 however you end up
  disabling almost everything, since the 704 did not have any channels.
  A build option exists that allows this one to be built without all the
  extra features.

   The i7090 simulator’s implementation of the IBM 7094 is a more
   complete implementation of the IBM 7094 which can run CTSS
   while the existing simh I7094 can’t.
2017-12-28 05:05:25 -08:00
Seth Morabito
e78ef46ccb 3b2: Differentiate HD135 and HD161 disks 2017-12-27 17:21:57 -08:00
Seth Morabito
651faa78ae 3b2: Allow handling of TRACE and BREAKPOINT traps
The 3B2 emulator did not have support for traps, rendering debugging
under the simulator fairly useless. This change adds support for
trap handling. The 'sdb' UNIX debugger under SVR3 should now work
correctly.
2017-12-27 15:13:58 -08:00
Richard Cornwell
8494112ee4 B5500: Fixed so Idling will work on B5500. 2017-12-22 15:05:01 -05:00
Richard Cornwell
8606d7692b B5500: Added usage guide for B5500 simulator. 2017-12-22 15:04:33 -05:00
Mark Pizzolato
305ce5b598 TMXR: Fix potential SegFault while negotiating telnet options
If a telnet session sends options just prior to closing a session, the response
traffic might get dropped which isn't a problem, but we need to make sure
that we stop referencing the now invalid line structure after that happens.
2017-12-22 03:20:32 -08:00
Mark Pizzolato
ddb0ee2895 VAX: Add missing TCSR1 REGister declaration in SYSD device
Remove duplicate REGister declaration of TIVEC0
2017-12-22 01:49:01 -08:00
Mark Pizzolato
8e5025fdcf VAX, MicroVAX2: Fix compiler warning with GCC & clang 2017-12-18 15:29:15 -08:00
Mark Pizzolato
33fc5c44e6 FRONTPANEL: sim_frontpanel API release 11
- Properly digest all register data when it arrives from register
   queries and repeat activities.
- Invoke register callback functon when transitioning to Halt state.
- Add option to access instruction history with sim_panel_get_history
   API
- More interesting testing in FrontPanelTest program
2017-12-18 15:05:58 -08:00
Mark Pizzolato
74a80c34bd Visual Studio Projects: Fix typo in library version check (Roberto Sancho Villa) 2017-12-18 13:52:23 -08:00
Mark Pizzolato
bdddcb4004 VAX, MicroVAX2: Add display of ROM and NVR address ranges 2017-12-18 05:10:27 -08:00
Mark Pizzolato
51700bc139 FRONTPANEL: Add BREAK and NOBREAK commands to test program 2017-12-17 11:57:34 -08:00
Seth Morabito
e7eaaa8550 3b2: Fix warnings generated by older GCC
GCC 4.1.2 produced several warnings about inline functions.
This commit fixes those warnings.
2017-12-17 11:32:31 -08:00