Commit graph

585 commits

Author SHA1 Message Date
Mark Pizzolato
da134ebb2a SCP: Added detailed help (including switches) for SET DEBUG command and an auto flush of the debug output when instruction execution stops. 2014-02-04 15:45:26 -08:00
Mark Pizzolato
eaae19463c SCP: Initial merge of old style single line help with hierarchical help 2014-02-01 07:04:44 -08:00
Mark Pizzolato
18451806b7 SCP: Added default simulator specific initialization file to be in the current working directory if one isn't found where the simulator binary is located (suggested by Jordi Guillaumes Pons in #101). 2014-01-23 05:15:54 -08:00
Mark Pizzolato
c64aabf51f SCP: Fix for %DATE_WW% and %DATE_WYYYY% computation on the first days of a year after a leap year. 2014-01-16 07:40:35 -08:00
Mark Pizzolato
e1b0a416a9 SCP: Generalized DATE and TIME variable insertion adding support for ISO 8601 date values. Inspired by Christian Gauger-Cosgrove.
ISO 8601 support without requiring C99 strftime functionality.

          %DATE%                yyyy-mm-dd
          %TIME%                 hh:mm:ss
          %DATETIME%       yyyy-mm-ddThh:mm:ss
          %LDATE%               mm/dd/yy (Locale Formatted)
          %LTIME%               hh:mm:ss am/pm (Locale Formatted)
          %CTIME%               Www Mmm dd hh:mm:ss yyyy (Locale Formatted)
          %DATE_YYYY%     yyyy              (0000-9999)
          %DATE_YY%          yy                  (00-99)
          %DATE_MM%       mm               (01-12)
          %DATE_DD%         dd                  (01-31)
          %DATE_WW%       ww                 (01-53)     ISO 8601 week number
          %DATE_WYYYY%  yyyy              (0000-9999) ISO 8601 week year number
          %DATE_D%            d                    (1-7)       ISO 8601 day of week
          %DATE_JJJ%           jjj                   (001-366) day of year
          %TIME_HH%         hh                  (00-23)
          %TIME_MM%        mm               (00-59)
          %TIME_SS%            ss                  (00-59)
2014-01-11 11:13:25 -08:00
Mark Pizzolato
fd4a3acbad Avoid NULL pointer dereference when examining a device with no units. #95 2014-01-09 12:03:51 -08:00
Mark Pizzolato
2ea8a0a30f SCP: Changed command processing variable insertion to format %DATE% as yyyy-mm-dd instead of yyyy/mm/dd and added %STIME% to produce hh_mm_ss. 2014-01-08 12:47:33 -08:00
Mark Pizzolato
2bb502ee64 SCP: Static Analyzer cleanups suggested by Peter Schorn 2013-12-27 07:08:17 -08:00
Mark Pizzolato
7b3e508627 ETHER: Added capability to build working networking support without pcap packet transport (i.e. only using one of the other available packet transports: VDE, TAP, UDP, etc.) 2013-12-19 09:45:51 -08:00
Mark Pizzolato
00afa58bc4 SCP: Added hierarchical help capability (from Timothe Litt) 2013-11-22 06:08:03 -08:00
Mark Pizzolato
e65aa904e7 SCP: Fix various missing log output 2013-11-20 15:09:43 -08:00
Mark Pizzolato
2e85e74699 SCP: Various cleanups.
- Avoid assignments of void * values.  Cast all memory allocation return values to appropriate types.
- Add output to sim_log where missing in various places.
- Fixed issue with lost file positions after a restore for devices which leverage the UNIT_SEQ flag.
2013-11-20 09:13:27 -08:00
Mark Pizzolato
864f0e0d37 SCP: Show device options can be more flexibly formatted and optionally not display anything. 2013-11-16 18:14:09 -08:00
Mark Pizzolato
600d6f5962 SCP: Added a mechanism to allow debugging output to display PC values for simulators which don't have a simple register which contains the PC value. 2013-11-14 10:41:49 -08:00
Mark Pizzolato
b4b274c446 More compiler warnings 2013-11-05 16:55:30 -08:00
Mark Pizzolato
fdb33ce135 Compiler warning cleanup 2013-11-05 16:42:17 -08:00
Mark Pizzolato
b85af46402 SCP: Fixed 'rest of line' argument substitution %* 2013-11-05 10:35:37 -08:00
Mark Pizzolato
f5cfa392d7 SCP: Allow bare % not followed by a digit or a alpha character to be kept while substituting arguments and environment variables in simulator commands. 2013-11-05 10:06:46 -08:00
Mark Pizzolato
6b45d9b2ad SCP/VIDEO: Added support for libSDL2 video capabilities. Changed existing video layer to carry pixels as 32bpp vs 8bpp for more natural behaviors in libSDL2. 2013-10-01 15:55:10 -07:00
Mark Pizzolato
351d748b4a VIDEO: Move all SDL graphics activities to the background video thread 2013-09-26 12:38:17 -07:00
Mark Pizzolato
daed1e576f VAX/QVSS: Proper linking on OSX 2013-09-25 16:39:51 -07:00
Mark Pizzolato
da227959de SCP: Fix HELP SET <device> to properly output to sim_log when logging. Reported in issue #71 2013-09-06 10:02:02 -07:00
Mark Pizzolato
c0bf9073d9 SCP: Added help display for units which can be enabled and disabled 2013-09-05 12:10:59 -07:00
Mark Pizzolato
8555bbb323 SCP: Fix Set Command dispatching and HELP dev SET output
- Fixed set MTAB dispatching to not dispatch to unit specific routines when only a device is specified in the command
 - Fixed HELP dev SET output to avoid displaying SET commands which aren't valid for SHOW only cases
2013-08-23 17:29:32 -07:00
Mark Pizzolato
18461f510b sim_debug: Fixed to produce output when the format string is a bare newline character.
Fixed bitfield output to properly present the prefix when appropriate.

This closes issue #62
2013-08-21 15:00:01 -07:00
Mark Pizzolato
60fbaab9ce Fix time_t complaint when struct timespec doesn't have a time_t seconds value 2013-07-15 05:08:44 -10:00
Mark Pizzolato
572ed3437a Optionally Enriched the info displayed at the beginning of debug message lines as discussed in Issue #66
sim> set debug -r -a -t -p somefile

    -a   produces seconds.msec time format
    -t    produces hh:mm:ss.msec time format
    -r    causes time values displayed to be relative to the wall clock time when the 'set debug' command was issued
    -r   by itself will cause default of -t

    -a and -t can both be specified if desired

    -p   adds display of current PC value to the debug timestamp output

sim> show debug
2013-07-15 04:38:54 -10:00
Mark Pizzolato
95e54dc60e Merge remote-tracking branch 'origin/master' 2013-07-10 12:04:23 -10:00
Mark Pizzolato
1b6fc77421 Fixed multiplexer attach bug introduced when the DEV_DONTAUTO flag was added 2013-07-07 13:49:31 -10:00
Timothe Litt
3acbd0e2ca SCP: Prevent use of uninitialized pointer. 2013-07-05 00:24:21 -04:00
Timothe Litt
4497bba48f PDP-11/VAX update: SHOW IOSPACE
Teach SHOW IOSPACE to output vector and BR addresses as well as CSR addresses.
2013-07-05 00:23:33 -04:00
Mark Pizzolato
64ed03d10a Revert clearing of sim_interval on sig-int to properly manage the passage of time. 2013-07-01 09:49:47 -10:00
Mark Pizzolato
97eb58cfc4 Added a device flag which can be used to avoid auto detach at device attach time. 2013-06-17 21:17:49 -07:00
Mark Pizzolato
80790908e6 Added "HELP SET dev" and "HELP SHOW dev" as eqivalent to "HELP dev SET" and "HELP dev SHOW" respectively. 2013-06-14 15:00:46 -07:00
Mark Pizzolato
baba5f8c08 Fixed reporting of libSDL availability in simulatoes which will never need it. 2013-06-13 06:36:48 -07:00
Mark Pizzolato
b3a9a0d79c Add sim_video and VAX QVSS (VCB01) Monochrome Video Board from Matt Burke 2013-06-12 17:10:23 -07:00
Mark Pizzolato
486ef58595 Compiler warning cleanup 2013-06-01 23:04:45 -07:00
Mark Pizzolato
ed186dadce Fix asynch I/O race condition. 2013-05-22 09:52:54 -07:00
Mark Pizzolato
cf59910128 Added a -E switch to the SHOW DEVICE/SHOW CONFIG/SHOW FEATURES command to only display Enabled devices 2013-05-17 02:54:19 -07:00
Mark Pizzolato
ddb10425e7 Reworked all asynch queues to always link using the unit a_next field instead of the next field. 2013-05-08 09:34:53 -07:00
Mark Pizzolato
141b6e834a Fixed formatting error 2013-05-08 04:17:55 -07:00
Mark Pizzolato
6cf54e8341 Fixes for stable operation with SIM_ASYNCH_CLOCKS defined 2013-05-07 11:22:29 -07:00
Mark Pizzolato
cc8c79eb0f Added a more unique naming paradigm for remote console temporary log files to avoid potential collisions when multiple simulators may be running concurrently 2013-05-02 07:46:07 -07:00
Mark Pizzolato
27283179d9 Missing pieces for change to add tmxr_linemsgf. 2013-04-24 09:01:45 -07:00
Mark Pizzolato
9a172154f0 Added display of VMS host system type and OS version to SHOW VERSION output 2013-04-24 06:43:04 -07:00
Mark Pizzolato
d71e53feb0 Added support for the DIR (LS) command on VMS hosts 2013-04-24 06:04:24 -07:00
Mark Pizzolato
9844ba6696 Added DIR (LS) command to list the files in a directory. This command is usable in Remote Console sessions. 2013-04-23 12:39:03 -07:00
Mark Pizzolato
de22137d1b Enhanced Remote Console support
- Added HELP REMOTE for remote console sessions to display the available remote console commands
 - Added input timeouts to remote console sessions to automatically continue the simulator
 - Added suspend/resume announcements to all remote console sessions
2013-04-20 06:52:02 -07:00
Mark Pizzolato
b38acb92c4 Merge branch 'Operator-Commands' 2013-04-19 14:26:59 -07:00
Mark Pizzolato
99c13051e6 Merge remote-tracking branch 'origin/master' into Operator-Commands 2013-04-19 14:23:00 -07:00