Mark Pizzolato
754c31b0ec
Merge branch 'master' into Extra-VAXen
2011-12-18 19:53:19 -08:00
Mark Pizzolato
93f09d3253
Fixed interrupts to treat all Qbus devices as BR4. Changed RQ and TQ to BR4 to reflect real hardware (for the Unibus case).
2011-12-17 10:04:53 -08:00
Mark Pizzolato
de9facf9cc
Added echo/log output of the results of a goto command to make it easier to read what happened in a simulator log file. Also flushed log files when starting instruction execution.
2011-12-17 08:36:11 -08:00
Mark Pizzolato
754934bb6b
Added SIM_NAME as an environment variable while a simulator is executing. This can then be used by "do" scripts and/or in the context of host shell commands invoked with "!".
2011-12-17 08:32:39 -08:00
Mark Pizzolato
01369c13da
Added sim_ttisatty to support reasonable behaviour (i.e. avoid in infinite loop) in the main command input loop when EOF is detected and input is coming from a file (or a null device: /dev/null or NUL:) This may happen when a simulator is running in a background process.
2011-12-07 10:01:07 -08:00
Mark Pizzolato
de5997608d
Added missing command argument substitution for command lines read directly from stdin. Also, added new "set environment name=val" command which is potentially useful for scripting.
2011-12-01 10:00:14 -08:00
Mark Pizzolato
421fce7798
Added missing implementation of "set nobreak". The help set showed this as valid, but it wasn't defined.
2011-11-30 02:56:19 -08:00
Mark Pizzolato
cbcd244e0c
Fix builds on BSD host systems
2011-11-26 08:21:45 -08:00
Mark Pizzolato
d9f3b66bbf
Fixed line endings to be consistent in dynamically loaded pcap_fileno implementation
2011-11-26 06:42:13 -08:00
Mark Pizzolato
cc890aec1c
Fixes bugs in multiply and divide introduced in 3.8-1; fixes XR and double precision bugs (from Adrian Wise)
2011-11-26 06:31:07 -08:00
Mark Pizzolato
041e192fa9
Generalized the determination of the host library path for most platforms.
2011-11-25 17:24:55 -08:00
Mark Pizzolato
a808ca561c
Added dynamic support for uuid_generate when creating VHDs on *nix platforms.
2011-11-25 17:21:54 -08:00
Mark Pizzolato
71bc2e80c1
Merge branch 'master' into Extra-VAXen
...
Conflicts:
makefile
2011-11-17 17:14:27 -08:00
Mark Pizzolato
db7e04e0df
Cleanup of readline and static libpcap support after multi-platform testing.
2011-11-17 13:06:36 -08:00
Mark Pizzolato
934836483b
Added pcap_fileno to the dynamically loaded libpcap entry points since it is needed by OS X.
2011-11-17 11:59:50 -08:00
Mark Pizzolato
2793d49bf9
Cleanup function prototypes for consistency with newer versions of WinPcap and libpcap.
2011-11-17 11:29:13 -08:00
Mark Pizzolato
3b7492d6be
Added dynamic loading of libpcap on *nix platforms.
2011-11-17 09:51:58 -08:00
Mark Pizzolato
8b01b90008
Generalized readline support to dynamically load the readline library and avoid the symbol conflicts which happen on some platforms and some simulators with a global PC variable.
2011-11-17 08:46:15 -08:00
Mark Pizzolato
2d4d248ae3
Added Android targeted build support to the makefile
2011-11-16 13:45:37 -08:00
Mark Pizzolato
22b130be23
Generalized makefile approach to find libraries and include files allowing different platforms to simply describe where to check for required components.
...
It now explicitly reports which libraries are being referenced.
2011-11-15 14:42:44 -08:00
Mark Pizzolato
07e1738745
Cleaned up makefile to only build network support for simulators which can use it.
2011-11-11 07:03:25 -08:00
Mark Pizzolato
5f1a22a7a5
Cleaned up makefile to only build network support for simulators which can use it.
2011-11-10 10:17:55 -08:00
Mark Pizzolato
3e10dfbd95
Merge branch 'master' into Extra-VAXen
...
Conflicts:
makefile
2011-11-10 09:04:42 -08:00
Mark Pizzolato
f9521eaf01
Reverting Interrupt Priority Level change for DEQNA/DELQA. There is a general issue with all Qbus devices which is not specific to the DEQNA/DELQA. Fix coming later from Bob Supnik
2011-11-07 14:31:58 -08:00
Mark Pizzolato
8e606f0af7
Fix compiler warning due to extra arguments passed to printf
2011-11-02 16:10:10 -07:00
Mark Pizzolato
1d490907ad
Fix for OSX clean compile
2011-11-02 14:54:00 -07:00
Mark Pizzolato
d733bc3eb9
Fixed Interrupt Priority Level of DELQA and DELQA-T devices to be BR4 devices. Reported by Sergey Oboguev
2011-11-02 13:38:06 -07:00
Mark Pizzolato
158a02df5a
Removed unused utility routine which doesn't compile on some platforms
2011-11-02 08:45:21 -07:00
Mark Pizzolato
02c5302039
cleaned up Solaris build issues
2011-11-02 08:32:24 -07:00
Mark Pizzolato
cbc14bc010
Fix memory leak on error path and proper polling vs async conditions
2011-11-02 05:45:01 -07:00
Mark Pizzolato
fd5de0d005
Added support for VDE (Virtual Distributed Ethernet) network packet transport
...
Fixed filtering for non-pcap network packet transports (i.e. tun/tap, and vde) to properly filter the desired packets.
2011-10-31 11:56:44 -07:00
Mark Pizzolato
bfb6e54819
Compiler warning cleanup
2011-10-31 10:26:58 -07:00
Mark Pizzolato
4167c4cab9
Cleanup comments
2011-10-31 10:25:52 -07:00
Mark Pizzolato
f84c6109de
Added useful diagnostic when restore operation fails due to inability to attach a device
2011-10-31 10:25:11 -07:00
Mark Pizzolato
a8a5a5b74f
Fixed error path to properly close file
2011-10-31 10:24:30 -07:00
Mark Pizzolato
eaddb7d24a
Added support for integrated Tap networking interfaces on OSX
2011-10-29 14:13:33 -07:00
Mark Pizzolato
ec4f002531
Standardized the simulatar transition messages which is needed on hosts with raw console tty I/O (From the OSX community)
2011-10-28 10:06:12 -07:00
Mark Pizzolato
0c4b62fe82
Remove compiler warnings if built with DONT_USE_PCAP_FINDALLDEVS
2011-10-28 10:04:21 -07:00
Mark Pizzolato
2df727b701
adds link to pdp8_fpp.c
2011-10-26 13:48:15 -07:00
Mark Pizzolato
852293e046
many bug fixes (all from Rick Murphy); now functional
2011-10-26 13:47:40 -07:00
Mark Pizzolato
445cb1710d
Fixed SDLC to clear AC (from Dave Gesswein)
2011-10-26 13:46:21 -07:00
Mark Pizzolato
c38eacd0c8
Fixed throttling in several ways:
...
- Sleep for the observed clock tick size while throttling
- Recompute the throttling wait once every 10 seconds
to account for varying instruction mixes during
different phases of a simulator execution or to
accommodate the presence of other load on the host
system.
- Each of the pre-existing throttling modes (Kcps,
Mcps, and %) all compute the appropriate throttling
interval dynamically. These dynamic computations
assume that 100% of the host CPU is dedicated to
the current simulator during this computation.
This assumption may not always be true and under
certain conditions may never provide a way to
correctly determine the appropriate throttling
wait. An additional throttling mode has been added
which allows the simulator operator to explicitly
state the desired throttling wait parameters.
These are specified by:
SET THROT insts/delay
where 'insts' is the number of instructions to
execute before sleeping for 'delay' milliseconds.
2011-10-25 03:52:24 -07:00
Mark Pizzolato
9f1f586714
Compiler cleanup
2011-10-21 02:07:36 -07:00
Mark Pizzolato
7075a3ec5c
Added support for concurrent sharing of raw disk images/drives between simulators
2011-10-20 11:30:44 -07:00
Mark Pizzolato
51525f7a3f
Fixed builds on x64 *nix platforms to properly detect the availability of libm
2011-10-12 15:39:06 -07:00
Mark Pizzolato
329d84ea0c
Fixed Missing SIM_ASYNCH_IO option in VAX780 Debug build
2011-09-29 06:35:26 -07:00
Mark Pizzolato
7f9a612e96
Merge branch 'VAX-TODR'
2011-09-29 06:32:58 -07:00
Mark Pizzolato
5687f9227b
VAX & VAX780 Generalized setting TODR for all OSes.
...
Unbound the TODR value from the 100hz clock tick interrupt. TODR now behaves like the original battery backed-up clock and runs with the wall clock, not the simulated instruction clock (except when running ROM diagnostics).
Two operational modes are available:
- Default VMS mode, which is similar to the previous
behavior in that without initializing the TODR it
would default to the value VMS would set it to if
VMS knew the correct time. This would be correct
almost all the time unless a VMS disk hadn't been
booted from for more than a year. This mode
produces strange time results for non VMS OSes on
each system boot.
- OS Agnostic mode. This mode behaves precisely like
the VAX780 TODR and works correctly for all OSes.
This mode is enabled by attaching the TODR to a
battery backup state file for the TOY clock
(i.e. sim> attach TODR TOY_CLOCK). When operating
in OS Agnostic mode, the TODR will initially start
counting from 0 and be adjusted differently when an
OS specifically writes to the TODR. VMS will prompt
to set the time on the initial boot unless the SYSGEN
parameter TIMEPROMPTWAIT is set to 0.
2011-09-29 06:18:49 -07:00
Mark Pizzolato
eef35bd1dc
Added a console log flush when starting a simulator and potentially waiting for a telnet connection
2011-09-27 07:22:25 -07:00
Mark Pizzolato
3ae8a42dae
Allowed SET CONSOLE TELNET=nnn to be issued multiple times, with an automatic SET CONSOLE NOTELNET done as needed.
2011-09-26 11:49:43 -07:00