Mark Pizzolato
6767c1a9d5
SCP: Allow TYPE command output to be terminated by SIGINT
2024-04-28 14:09:27 -10:00
Mark Pizzolato
c16e379b73
SCP: Cleanup SET ASYNC/NOASYNC status message to use sim_messagef
2024-04-18 16:36:43 -10:00
Mark Pizzolato
f2344dfddc
SCP: Add Linux and macOS version to SHOW VERSION output
2024-04-16 18:25:20 -10:00
Mark Pizzolato
b404ccd050
SCP: Make debug timestamps consistent when in NOCALIBRATE mode
2024-04-04 09:56:18 -10:00
B. Scott Michel
f7dfefee72
SCP: sprint_val comma bug
...
- Fix comma separator code segmentation fault: "ndigit - 3" can become a
very large unsigned number for ndigit < 3.
2024-03-21 13:55:52 -10:00
Mark Pizzolato
0ff0d0f8a3
SCP: Enhance EXAMINE address range output
...
1 - Summarize repeated memory contents so that the memory range with a
given value only emits 2 lines of output
2 - Allow ^C (SIGINT) to potentially abort long running EXAMINE output
2024-03-20 13:46:14 -10:00
Mark Pizzolato
f4089b330e
SCP: Add host processor core and thread info to SHOW VERSION output
2024-01-14 13:04:31 -10:00
Mark Pizzolato
fca6bace44
SCP: Add asynchronous and processed event counters
...
- Add abort if sim_aio_activate is called when running with ASYNC disabled
2024-01-09 06:07:33 -10:00
Mark Pizzolato
4dfb3508bf
ETHER: Make sure SET NOASYNC is effective for Ethernet devices
...
- Make sure that asynchronous mode can't be changed if devices using
sim_ether are already attached.
- Add missing DEV_ETHER type flag for the only sim_ether using device
that didn't already have it.
2024-01-06 14:55:06 -10:00
Mark Pizzolato
54f55777f5
SCP: Minor message text and formatting cleanup
2024-01-05 09:50:48 -10:00
Mark Pizzolato
0a79762388
SCP: Remove remnants of previously removed async TMXR pieces
2024-01-05 09:09:22 -10:00
Mark Pizzolato
197ff62587
SCP: Leverage a memory file while producing examine output
2023-12-06 09:49:05 -10:00
Mark Pizzolato
810ec6300d
SCP: Add visible countdown for the SLEEP command
2023-11-16 09:47:03 -10:00
Mark Pizzolato
65d0ae2a44
SCP: Properly write debug output for commands run at the sim> prompt
...
- Without regard to whether the circular buffer data is otherwise in
use while instructions are executing.
- When a circular debug buffer is in use, avoid writing out the contents
with the periodic open file flushes and only do so on returns to the
sim> prompt and when debug is closed
2023-11-12 12:49:07 -10:00
Mark Pizzolato
4b8902cd06
SCP: When debugging, add output of EXAMINE commands to debug data
2023-11-12 10:04:28 -10:00
Mark Pizzolato
67ec597696
SCP: Add support for REGisters containing double values
2023-11-12 10:04:28 -10:00
Mark Pizzolato
985137cbff
SCP: Avoid reading excess data when putting register values into a string
2023-10-06 13:40:11 -10:00
Tony Lawrence
a6ad4d0acb
SCP: Fix correctly loading simh.ini when user HOME not defined
2023-10-03 09:07:57 -10:00
Mark Pizzolato
d7560cf3e4
SCP: Provide more context when command errors are found
2023-09-25 14:30:14 -10:00
Mark Pizzolato
40aa90f732
SCP: Fix source content address while issuing error message
2023-09-19 06:25:59 -10:00
Mark Pizzolato
c8b03944a5
SCP: Fix Invalid register message text
2023-09-19 03:09:11 -10:00
Mark Pizzolato
ec475d83f8
SCP: Report detailed context while parsing errors in EXAMINE/DEPOSIT commands
2023-09-18 11:21:54 -10:00
Mark Pizzolato
1f9881734a
SCP: Exit if disk or tape initialization routines return a failure
2023-09-10 08:45:54 -10:00
Mark Pizzolato
06659c82c8
SCP: Correct DIR command to use create time if modify time isn't populated.
2023-09-04 14:48:22 -10:00
Mark Pizzolato
2f1ab2ec6b
DISK: Polishing various functionality
2023-08-30 06:17:35 -10:00
Mark Pizzolato
61e31a6e0e
SCP: Add option to turn debugging on for SCP initialization activities
2023-08-29 13:15:19 -10:00
Mark Pizzolato
78fe4ec5e0
SCP: Use sim_defs.h defined global stringify macro
2023-07-29 08:10:50 -10:00
Mark Pizzolato
f9dedad627
makefile: curl needs to be actively installed on some platforms
...
- Make missing curl or tar visible in simulator environment variables:
SIM_CURL_CMD_AVAILABLE
and SIM_TAR_CMD_AVAILABLE
2023-07-29 08:09:48 -10:00
Mark Pizzolato
63028863e4
SCP: Default to dynamically loading LIBEDIT, LIBPCRE and LIBPNG
2023-07-27 06:28:53 -10:00
Mark Pizzolato
e6f47400e8
SCP: Cleanup EXPECT help
2023-07-21 04:57:25 -10:00
Mark Pizzolato
fddcd7c346
SCP: Display editline version in SHOW VERSION output
2023-07-21 04:22:31 -10:00
Mark Pizzolato
79714192b4
SCP: Define and use a global macro to stringify macro values
2023-07-21 04:13:35 -10:00
Mark Pizzolato
6a27b7ef1b
SCP: Properly handle when regex string matches without some substring matches
...
B. Scott Michel's run of clang memory sanitizer potentially identified
that when a substring doesn't match the returned array offsets would
be -1.
This commit handles that potential and sets the respective substring as
an empty string.
2023-07-15 11:58:28 -10:00
Mark Pizzolato
91e2e4beb9
TIMER: More reliable NOCALIBRATE initialization
...
- Behave well when NOCALIBRATE mode is enabled after some instruction
execution already happened.
- Properly detect the reliable calibrated clock or use the internal one.
2023-06-27 13:46:31 -10:00
Mark Pizzolato
008ecc4e8b
SCP: Correctly implement $ in all EXAMINE or DEPOSIT cases
2023-06-27 11:59:59 -10:00
Mark Pizzolato
13d2e63e03
SCP: Added APIs for opening and closing temporary files
2023-06-27 11:43:04 -10:00
Mark Pizzolato
158c749a7e
SCP: Directly call disk and tape detach routines when detach_unit is called
2023-06-27 11:40:44 -10:00
Mark Pizzolato
2d2b8baa4f
DISK: Cleanup generated MTAB entries for best ordering and single unit support
...
Much better HELP <dev> SET and HELP <dev> SHOW results.
2023-06-27 11:39:34 -10:00
Mark Pizzolato
c73235d8ef
DISK: Assure that unit flags in proper state on an explicit attach or detach
...
- Make sure unit isn't queued when detached.
- Properly allow (or reject) EXAMINE or DEPOSIT to disks unless format is
- correct.
2023-06-27 11:37:44 -10:00
Seth Morabito
fe40ece9f2
SCP: Don't malloc ep->match_pattern twice
2023-06-08 01:31:35 -10:00
Mark Pizzolato
a938f1e13f
SCP: Change declaration of get_yn() to have boolean argument and return value
...
- Fix improper get_yn() use in test library logic
Reported by Peter Shorn
2023-04-06 12:29:25 -10:00
Mark Pizzolato
287f2928ab
SCP: Remove legacy support for OS2 and MetroWerks on Macintosh OS 9
2023-04-05 08:41:33 -10:00
Mark Pizzolato
c7d01273df
SCP: Add CheckSourceCode facility to validate simh project standards
2023-03-04 17:51:49 -10:00
Mark Pizzolato
194b313179
SCP: Fold up include files used by all simulators
...
- Add common system includes used in may places which are allowed
and thus added directly in sim_defs.h.
- Separate completely private system data structures and system APIs
for use only by SCP library routines into sim_scp_private.h.
2023-03-04 17:51:49 -10:00
Mark Pizzolato
bdf28cf7f8
SCP: Remove switches from startup argv list when they are digested
...
export commonly used set_dev_enbdis API in scp.h
2023-03-04 17:51:49 -10:00
Mark Pizzolato
2c9dce6cf2
Various simulators: Set line endings to CRLF for consistency, remove stray tabs
...
Project standard source code has tabs converted to spaces and CRLF line
endings
2023-03-04 17:49:37 -10:00
Mark Pizzolato
5483ffbbbd
PDP11 and all other simulators: Issue meaningful messages for bad boot args
2023-02-09 15:16:59 -10:00
Mark Pizzolato
a9fb4a653e
makefile: Properly report archive git commit info when building from an archive
2023-01-25 10:14:15 -10:00
Mark Pizzolato
a79c583053
TMXR: Remove all SIM_ASYNCH_MUX dependent code
...
Asynchronous MUX functionality was added long ago and never completely
tested and thus never completed and never actually used.
All of what it was supposed to achieve was independently achieved when
bit rate speed functionality was added.
2023-01-21 09:12:45 -10:00
Mark Pizzolato
3edcea7de0
SCP: Be sure to close (implicitly flushing) debug output on abort()
2023-01-16 16:57:14 -10:00