Commit graph

3129 commits

Author SHA1 Message Date
Mark Pizzolato
2c55ad0cfa SCP: Let sim_messagef() be well behaved when stat is SCPE_OK 2018-07-13 18:05:30 -07:00
Mark Pizzolato
4431350bd1 VAXStations: Fix set model message text when video isn't available 2018-07-13 02:25:22 -07:00
Mark Pizzolato
097eb7b6fc makefile: Add proper dependence on BuildROMs to 3b2 build rules 2018-07-12 11:43:43 -07:00
Mark Pizzolato
48033d86c9 SCP: Add DEV_CARD device type for devices that use sim_card 2018-07-12 11:42:32 -07:00
Mark Pizzolato
8b1a2ba759 PDP11, VAX: Leverage tmxr_txdone_ln() API to get best timing with multiple lines
Potentially affecting #587 #588
2018-07-12 10:16:39 -07:00
Mark Pizzolato
f42db0c6ea TMXR: Add tmxr_txdone_ln() to provide precise completion speed timing
Multi line TMXR devices can simplify state maintenance and better leverage
output scheduling when they use this API
2018-07-12 10:12:49 -07:00
Mark Pizzolato
484889ea5a TIMER: Changed sim_idle_ms_sleep() to use a mutex which is unique to idling
It seems that the prior use of sim_asynch_lock RECURSIVE mutex could
cause a pthread_cond_timedwait() failure with EINVAL returned.
As discussed in #595
2018-07-11 11:59:05 -07:00
Mark Pizzolato
29a4fb9802 Visual Studio Projects: Assure .git-commit-id.h gets updated correctly
Some git capable environments on Windows don't honor the installed git
hook scripts in the repository.  Now that, if we're working within a git repo,
we force a working version of git to be installed in the runtime path.  We
leverage that to force a validation of the commit id on each build.
2018-07-09 18:17:20 -07:00
Mark Pizzolato
d593cdb98b SCP: Add prompt prior to fatal exit allowing error messages reading
As discussed in #594
2018-07-08 14:55:55 -07:00
Mark Pizzolato
9b95115a2a TIMER: Add abort logic if sim_idle_ms_sleep() sleeps for 0 with an error
As discussed in #594
2018-07-08 13:53:28 -07:00
Mark Pizzolato
076af54ad3 TIMER: Report available details when unexpected timer subsystem errors occur
A graceful exit with the unexpected results reported now is provided.
As discussed in #594
2018-07-08 11:53:20 -07:00
Mark Pizzolato
44bfd68a45 PDP11, VAX: Fix DMA output timing to properly track programmed speeds
Always start DMA activity when TBUFAD2 is written, either FAST (vh_wait/10)
or slow vh_wait.

Possibly related to #578 and #588 issues
2018-07-07 22:06:52 -07:00
Mark Pizzolato
67b0f38242 TMXR: Give priority to pending transfer delays prior to considering queued data 2018-07-07 21:57:23 -07:00
Mark Pizzolato
58ccb38d7b SCP: Add ability to ECHOF output to TMXR lines 2018-07-06 17:57:05 -07:00
Mark Pizzolato
659aef2c52 Visual Studio Projects: Cleanup BuildROMs project debug build 2018-07-05 06:25:11 -07:00
Mark Pizzolato
173e1bf073 Visual Studio Projects: Migration to normalized windows-build support
- All projects use identical include directories, library definitions and
   library directories.
- Remove attempts to add XP support to projects that were converted to
   .vcxproj for post VC2008 versions of Visual Studio.
- Require that git be available when building within a git repository
   working directory.
2018-07-05 05:52:28 -07:00
Mark Pizzolato
0bc5302513 PDP11: Add debug support to track CLK device activity 2018-07-05 05:20:20 -07:00
Mark Pizzolato
4304b8d3cd Visual Studio Projects: Correct project build dependency order for all projects 2018-07-05 05:06:31 -07:00
Mark Pizzolato
627c7e3e25 VIDEO: Issue reasonable failure message when SDL can't initialize 2018-07-03 13:58:40 -07:00
Roberto Sancho Villa
1571ba461b I650: Fix Coverity warnings 2018-06-24 23:39:06 +02:00
Mark Pizzolato
8c0439feaa PDP11, VAX: Fix RQ and TQ Get Unit Status to properly report no more units
As reported in #592
2018-06-24 03:21:22 -07:00
Mark Pizzolato
4f61cd3a11 TMXR: Properly adjust speed delays when the factor is dynamically changed 2018-06-23 14:43:39 -07:00
Mark Pizzolato
aea7f208cf PDP11, VAX: Rework VH transmit start and completion timing
Programmed and DMA I/O now presents data into the line output queue and
schedules all refill and/or I/O completion in the unit service routine.
2018-06-23 11:37:01 -07:00
Mark Pizzolato
d3da865e9b TMXR: Fix MUX transmit scheduling when buffer is empty
Also:
- Enhance SHOW MUX to support "SHOW MUX <dev>"
- Fix potential null pointer dereference with unusual ATTACH combinations
- Allow BPS factor to change without specifying an explicit speed.
2018-06-23 11:30:02 -07:00
Mark Pizzolato
c73f56cc5a PDP11, VAX: Add descriptive unit names to DZ, RQ, TQ, XQ and XU devices
Some devices have dedicated units that perform various independent
functions (often timing) that are independent of the primary device unit
which is ATTACHed.  This services to help interpret debug information
that may be produced.
2018-06-23 10:34:09 -07:00
Mark Pizzolato
91bd90c368 PDP11, VAX: Change VH programmed I/O to consistently complete after delay
previously, programmed I/O was initiated and completed as the time it was
initiated.  Now that output is rate limited to the port selected speeds the
output buffer can fill and I/O be dropped when the buffer was full.  Now all
output is setup in the register write path and completed in the unit service
path.  A separate transmit service unit now performs all transmit I/O
completion activity.
2018-06-21 08:42:05 -07:00
Mark Pizzolato
90327012a9 PDP11, VAX: Fix broken build due to typo for routine name 2018-06-20 21:32:08 -07:00
Mark Pizzolato
e533aa2d5e PDP11, VAX: Make sure DZ transmit continues when multiple lines are active 2018-06-20 21:21:16 -07:00
Mark Pizzolato
d20ef039e7 TIMER: Properly identify short vs long (multi-tick) delays for co-scheduling 2018-06-20 11:57:15 -07:00
Lars Brinkhoff
8f9fc78632 display: Fix X11 crash when DISPLAY unset. 2018-06-20 10:05:21 +02:00
Lars Brinkhoff
0a430fee9a display: Fix bug in Type 340 vector drawing routine.
In the lineTwoStep function, a typo makes vectors in two quadrants
drawn incorrectly.
2018-06-20 09:20:47 +02:00
Mark Pizzolato
c9dae318df SCP: Avoid need for TMXR devices to have dummy DEVICE examine and deposit values 2018-06-19 23:58:22 -07:00
Mark Pizzolato
3b8442ce71 SCP: Set UNIT_IDLE in the step unit so idline can happen during "STEP -t nnn" 2018-06-19 23:41:09 -07:00
Mark Pizzolato
53792d6261 TMXR: Describe TMXR API a little better 2018-06-19 22:05:12 -07:00
Mark Pizzolato
775d9f2453 TMXR: Minor attach error path and performance enhancements 2018-06-19 16:39:47 -07:00
Mark Pizzolato
b5537796ea TMXR: Add EXPECT/SEND support for BUFFERED lines
- Provide consistent behavior for connected OR BUFFERED lines
   BUFFERED lines can be used with MUX EXPECT/SEND scripting
   without an active connection.
- Fix SHOW MUX to display useful info for BUFFERED lines.
2018-06-19 16:13:22 -07:00
Mark Pizzolato
ffb6d4b269 TMXR: Fix ATTACH <dev> SPEED= to apply speed (or factor) if it is specified 2018-06-19 16:02:26 -07:00
Mark Pizzolato
215a71d608 TMXR: Make tmxr_rqln() only return count times tmxr_getc_ln() can be called 2018-06-19 15:59:19 -07:00
Mark Pizzolato
440bbfd307 TMXR: Consider pending SEND input when scheduling MUX input polling delays
Also consider pending SEND input when returning queued data count
2018-06-17 23:02:39 -07:00
Mark Pizzolato
d35b19a8ba TMXR: purge any unprocessed EXPECT rules and SEND data on a MUX detach 2018-06-17 21:55:55 -07:00
Peter Schorn
8077d4de38 AltairZ80: Clean up of source code formatting 2018-06-17 08:37:08 +02:00
Mark Pizzolato
4428d49b08 TMXR: Properly determine wait time when multiple lines are active 2018-06-16 20:07:38 -07:00
Mark Pizzolato
681ed2d6f9 TIMER: Minimize noise in idle debug output for short idle delays 2018-06-15 11:27:23 -07:00
Mark Pizzolato
6b7798781d TIMER: Allow recording of elapsed time when asynch events arrive while idling
As discussed in #578
2018-06-14 12:40:22 -07:00
Mark Pizzolato
d39864669a SCP: Fix potential null pointer dereference in debug expression 2018-06-14 01:36:05 -07:00
Mark Pizzolato
7cd9b89546 PDP11, VAX: Fix VH output rate throttling as buffer fills
As reported in #588
2018-06-14 00:31:01 -07:00
Mark Pizzolato
0a7c9de1e1 TMXR: Change rx and tx delta values to be usecs including the speed factor 2018-06-13 04:51:34 -07:00
Mark Pizzolato
a3d8cc6118 TMXR: Actively flush output prior to assessing wait time 2018-06-13 04:06:20 -07:00
Mark Pizzolato
3973963b0c SCP: Make expression evaluation consistent 2018-06-13 00:36:22 -07:00
Mark Pizzolato
2bf523dea0 TMXR: Allow tmxr_init_line() to be called even if not attached (Dave Bryan) 2018-06-12 19:45:27 -07:00