Commit graph

3920 commits

Author SHA1 Message Date
Seth Morabito
f6e63892b4 3b2: Preserve opcode values in history 2017-11-25 01:38:05 -08:00
Seth Morabito
be48e5809b 3b2: Support 'Write Track' floppy command 2017-11-25 01:38:05 -08:00
Mark Pizzolato
243ee968fb SCP: Fix REGister initialization macros to avoid nested macro insertion 2017-11-21 01:20:49 -08:00
Seth Morabito
804ea8e322 3b2: Initial release of an AT&T 3B2 model 400 emulator.
For information on usage, please see the file 3B2/README.md
2017-11-20 18:21:49 -08:00
Mark Pizzolato
7246e74004 SCP: Add a SIM_OSTYPE built-in environment variable. 2017-11-20 15:23:19 -08:00
Mark Pizzolato
61679ed8f0 SCP: Add optional write_callback to REGister structure called only on DEPOSIT
Add necessary macros to populate this field and cleanup all the
existing macros to be simpler.
2017-11-19 08:18:02 -08:00
Mark Pizzolato
8b1af8b862 makefile: Use sdl tool (sdl-config, sdl2-config) to locate SDL components
As discussed in #489
2017-11-17 08:13:48 -08:00
Mark Pizzolato
f594f0c98a SCP: Be sure to call optional sim_vm_post in remote console sessions 2017-11-16 08:43:38 -08:00
Mark Pizzolato
9bb1cfd9f9 SCP: Add useful info for HELP SET CONSOLE options 2017-11-14 18:47:44 -08:00
Mark Pizzolato
3eadc405d0 PDP10: Ignore 0 value writes to the timer interval register
This avoids a divide by zero which is never right, but it is unclear
what the real hardware did.  It wouldn't be useful in any case.

As discussed in #486
2017-11-14 18:47:05 -08:00
Mark Pizzolato
107f620f4c makefile: Fix MinGW build when using windows-build libpthreadsGC2 2017-11-12 15:23:38 -08:00
Mark Pizzolato
b45b9426c6 makefile: Tolerate changing MinGW include file changes
Fix #487
2017-11-11 10:52:29 -08:00
Mark Pizzolato
a8010f6fdb TMXR: Add counter of stalled transmits.
- Don't count stalls as drops since they can be retried
- Count stalls, which probably are rare on network connections but can
   happen more frequently on serial port connections.
2017-11-10 19:35:07 -08:00
Mark Pizzolato
8551a2d477 FRONTPANEL: sim_frontpanel API version 6 release
- Add dithering option to bit sampling
2017-11-09 23:02:39 -08:00
Mark Pizzolato
733ac0d982 SCP: Make SLEEP command interruptable with SIGINT 2017-11-07 13:34:53 -08:00
Mark Pizzolato
e2944eb6e0 README: Add new SLEEP command description 2017-11-07 13:09:44 -08:00
Mark Pizzolato
6e4d315c77 TMXR: Detach serial ports which are explicitly disconnected by a user command 2017-11-07 13:08:52 -08:00
Mark Pizzolato
d505cb1d96 FRONTPANEL: Silence Coverity warnings in test program 2017-11-07 10:54:16 -08:00
Mark Pizzolato
e73d45ebcc FRONTPANEL: sim_frontpanel API version 5 release
- Add API to start execution with device reset
- Fix synchronization between panel application threads and simulator
  traffic reader thread.
2017-11-04 10:28:00 -07:00
Mark Pizzolato
097172f8a3 doc: Add missing commands descriptions 2017-11-03 09:36:11 -07:00
Mark Pizzolato
4ca544f60a SCP: Add SLEEP command 2017-11-03 08:51:19 -07:00
Mark Pizzolato
1a86dfa0dd TMXR: Fix to allow serial port to operate after attach with -V 2017-11-01 17:52:44 -07:00
Mark Pizzolato
daf8382cf2 TMXR: Properly announce attach connection on serial lines when -V option is set 2017-10-30 18:24:19 -07:00
Mark Pizzolato
cb21246f6e SERIAL, MUX: General fix for Windows Platform physical serial port output
Avoid Windows specific serial I/O behaviors which might not always have
hardware state reported to user level code.  The TMXR layer code already
paces mux output so that reasonable behavior is observed.
2017-10-28 09:28:39 -07:00
Mark Pizzolato
d73b626719 SCP: Expose read_line_p for potential use by library support routines 2017-10-25 08:16:02 -07:00
Mark Pizzolato
60ff3d53d9 doc: Add description of additional built-in environment variables
SIM_NAME, SIM_BIN_NAME and SIM_BIN_PATH
2017-10-24 16:20:46 -07:00
Mark Pizzolato
9134b8e5d3 SCP: Add SIM_BIN_PATH environment variable as the simulator's argv[0] 2017-10-24 12:21:52 -07:00
Mark Pizzolato
35bfe17f75 SCP: Allow QUIET mode to be set in a default simulator command file 2017-10-23 16:24:26 -07:00
Mark Pizzolato
b80402e59c SCP: Fix display of context command when reporting processing DQ in QUIET mode 2017-10-23 14:14:00 -07:00
Mark Pizzolato
09f69f13b5 SCP: Fix command context reporting when errors occur in QUIET mode 2017-10-22 18:44:14 -07:00
Mark Pizzolato
3d1f092573 SCP: Provide command context for messages emitted during ATTACH and DETACH
Context and non error messages will be suppressed in quiet mode or when -Q
switch is explicitly supplied on command line
2017-10-22 08:33:21 -07:00
Mark Pizzolato
5b248cf7f4 SCP: Fix Coverity identified warning and migrate away from strncpy to strlcpy 2017-10-19 20:04:08 -07:00
Mark Pizzolato
6d1e873087 SCP: Allow HALTAFTER= to be specified for RUN/GO UNTIL commands 2017-10-19 12:30:24 -07:00
Mark Pizzolato
932d16da53 SCP: Rework SEND and EXPECT commands to provide default and temporary arguments
- EXPECT HALTAFTER=nnn
     --> sets "nnn" as the global/default value

 - EXPECT "some string"
     --> uses the "nnn" global/default value

 - EXPECT HALTAFTER=ttt "some string"
     --> uses the "ttt" temporary value for this EXPECT only

and:

 - SEND AFTER=nnn
     --> sets "nnn" as the global/default value

 - SEND "some string"
     --> uses the "nnn" global/default value

 - SEND AFTER=ttt "some string"
     --> uses the "ttt" temporary value for this SEND only

(and similarly for the SEND DELAY value).
2017-10-16 13:10:10 -07:00
Mark Pizzolato
247bd8d534 SCP: Avoid potential double freeing of memory during RESTORE operations
Fix problem reported in #484
2017-10-10 17:36:36 -07:00
Mark Pizzolato
2435311072 SCP: Add DEV_NOSAVE flag for throttle and console internal devices 2017-10-08 10:10:03 -07:00
Bob Supnik
bd0cad685c alpha: Fixed reversed definitions of FTOIS, FTOIT (Maurice Marks) 2017-10-05 18:55:00 -07:00
Mark Pizzolato
d074853138 SCELBI: Updated documentation (Hans-Åke Lund) 2017-09-22 10:00:41 -07:00
Mark Pizzolato
c8a420ad48 SCP: Change command argument processing of %% and \% to be consistent.
%% now inserts a bare % and \\ only means something when parsing a quoted
string argument (used by EXPECT and SEND commands).

Additionally, EXPECT and BREAK commands have action steps which will now
expand arguments as each of the actions are executed rather than when the
EXPECT or BREAK command is defined.
2017-09-16 17:05:26 -07:00
Mark Pizzolato
d02de5156f SCELBI: Updated documentation and removed makefile dependency (Hans-Åke Lund) 2017-09-14 09:52:38 -07:00
Mark Pizzolato
2574100ec5 SCP: Fix EXPECT processing to avoid comparing against old data 2017-09-13 17:02:16 -07:00
Mark Pizzolato
202e49cfdf scelbi: New SCELBI (SCientic-ELectronics-BIology) Simulator from Hans-Åke Lund 2017-09-13 05:59:25 -07:00
Mark Pizzolato
5ef84f7da2 PDQ-3: Fix Coverity identified problem with loading ROM file image (Holger Veit) 2017-09-12 11:09:09 -07:00
Mark Pizzolato
415b2ef1bc SCP: Fix register examine broken by prior Coverity fix. 2017-09-12 10:59:55 -07:00
Mark Pizzolato
f94c8b259a S2: Fix Coverity identified potential buffer overflow 2017-09-11 15:46:56 -07:00
Mark Pizzolato
ce5d7de683 IBM1130: Make timer logic consistent with comments describing expected action 2017-09-11 15:46:26 -07:00
Mark Pizzolato
0559308ee4 IBM1130: Fix Coverity identified PTR positioning bookkeeping 2017-09-11 15:44:23 -07:00
Mark Pizzolato
5d1f5c33fc IBM1130: Address Coverity identified issues in CR device 2017-09-11 15:43:26 -07:00
Mark Pizzolato
8f9c763f67 makefile: Make sure to gather git commit-id whenever possible 2017-09-11 14:54:48 -07:00
Mark Pizzolato
4b16e43e3e SCP: Removing Coverity Array vs Singleton warnings 2017-09-09 14:00:08 -07:00