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
7fc8922a48
SCP: Added a repeat count for the NEXT command
2014-04-17 13:07:01 -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
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
6ce8d99cd8
SCP: Added generic output routine sim_printf to output to stdout and sim_log (and sim_deb when enabled)
...
The goals here being to simplify calling code while getting consistent output delivered everywhere it may be useful.
Modified most places which explicitly used sim_log or merely called printf to now avoid doing that and merely call sim_printf().
2014-03-28 08:20:05 -07:00
Mark Pizzolato
98ac7af6fa
PDP11, VAX: Fix differencing virtual disk corruption during creation problems
2014-03-16 01:11:35 -07:00
Mark Pizzolato
9022de500d
SCP: Removed the irrelevant sim_deb_PC variable since it duplicates the role sim_PC simulator variable.
2014-03-05 12:53:32 -08:00
Mark Pizzolato
02cb5c2d88
Compiler suggested cleanups.
...
Mostly silencing noise warnings, but bugs were found in sim_console.c and pdp11_dmc.c
2014-02-14 17:07:45 -08:00
Mark Pizzolato
59d0602b0d
PDP8: Add device buffer flush capability and keep track of data written state in the device buffer. Fixes #87
...
Finishing the last DECtape device which was missed when this functionality was added to pdp11_dt, pdp18b_dt and pdp8_dt
in commits: 2934112a70
and c9e8121c16
Cleaned up the pdp11, pdp18b and other pdp8 implementations to make backporting cleaner.
Made sure that buffer flushing happens correctly when simulation returns to the sim> prompt.
2014-02-12 21:08:18 -08:00
Mark Pizzolato
9068ea0e8e
SCP: Fleshing out more of the hierarchical help content.
2014-02-11 14:24:45 -08:00
Mark Pizzolato
545aa85677
SCP: Cleaned up the hierarchical help APIs to follow the same indentation style used in the rest of scp.c. Fixed the help prompt to avoid adding an extra level to the prompt when the current level has no children.
2014-02-10 17:25:07 -08:00
Mark Pizzolato
afcbea251d
SCP: Add SHOW -C BREAK to display the currently defined breakpoints as commands which can be used to redefine them later.
...
Note: This excludes the possibility of there being a -C breakpoint type. Since there are potentially 26 different breakpoint types, this exclusion is not likely to have a significant impact.
2014-02-07 06:32:21 -08:00
Mark Pizzolato
8d09ebec8b
Compiler indicated cleanups to Fix #105
2014-02-05 13:44:36 -08:00
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