Commit graph

3353 commits

Author SHA1 Message Date
Mark Pizzolato
01337fe114 Fixed tape I/O which didn't work when Asynch I/O was dynamically disabled by scp command 'set noasync' 2012-01-14 06:26:59 -08:00
Mark Pizzolato
d4c83e5f46 Make sure that the correct struct timespec definition (which the pthreads APIs will need) is known before we define our own. 2012-01-13 15:32:51 -08:00
Mark Pizzolato
6b6d7cccac Refined description of Asynch I/O build support. 2012-01-13 15:23:53 -08:00
Mark Pizzolato
3172e743ee Normalized the saved format of the optional VAX TODR persistent file so that it may be moved around from one platform to another along with other simulator state files (disk & tape images, save/restore files, etc.). 2012-01-13 10:51:26 -08:00
Mark Pizzolato
3443839ba7 Fixed disk I/O which didn't work when Asynch I/O was dynamically disabled by scp command 'set noasync' 2012-01-13 02:32:28 -08:00
Mark Pizzolato
369541731b Change 730 windows build to ignore deprecated POSIX APIs. 2012-01-11 14:59:48 -08:00
Mark Pizzolato
5263a9e906 Added a sanity check to validate the modify time of the simulator image being restored by the 'restore' command with respect to the modify times of any files which are attached during the restore operation.
The logic here is based on the idea that a restore image contains the memory content for a running simulator, while the attached files contain the disk contents for that simulator.  If the disk contents have changed since the memory image was created then the two data sets are likely out of sync and disk details cached in memory (i.e. file system information, storage allocation, etc.) will likely result in corrupted disk structures if they are used.

The default behavior is to fail the restore operation if these inconsistencies are noticed.  This sanity check can be overridden if the restore command is invoked with the '-F' switch:  sim> restore -F simulator-state.file

Also added logging of all erro messages produced during a restore operation to both stdout and a simulator log file if it is being used.
2012-01-11 10:58:00 -08:00
Mark Pizzolato
6079add9e7 make output of 'show show' command consistent with other help output (lowercase primary commands). 2012-01-10 20:18:12 -08:00
Mark Pizzolato
d14853e14a Fixed build when using a libpcap from www.tcpdump.org 2012-01-10 20:14:09 -08:00
Mark Pizzolato
8db25247ba Declare the VAX730 as a non-Qbus system 2012-01-09 03:27:58 -08:00
Mark Pizzolato
7a8a6e828e Merge branch 'master' into Extra-VAXen 2012-01-02 12:03:07 -08:00
Mark Pizzolato
e143a06e8f Revert RQ and TQ to BR5. These devices (on Unibus Systems) are really BR5. 2011-12-26 05:48:28 -08:00
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