Commit graph

3700 commits

Author SHA1 Message Date
Mark Pizzolato
c8389a7bfd TMXR: Properly control and record modem bits on serial lines
As reported in #877 and #878
2020-06-13 08:58:38 -07:00
Mark Pizzolato
337062fcf0 VIDEO: Always raise priority of thread consuming SDL Events 2020-06-13 05:05:11 -07:00
Mark Pizzolato
be117a33bd VIDEO: Move beep and joystick/gamepad init & cleanup into SDL event thread 2020-06-12 22:00:25 -07:00
Lars Brinkhoff
f95ac7ddbd IMLAC: Simulator for Imlac PDS-1. 2020-06-12 16:05:50 +02:00
Mark Pizzolato
d1f41d9c1f CONSOLE: Support auto WRU detection when sim_video is used 2020-06-12 06:25:04 -07:00
Mark Pizzolato
973ee4cecb VIDEO: Assure proper initialization sequence in both operating modes
There are two separate running contexts that provide video capabilities:
1) Video event processing threads created on the fly as needed
2) Video events must be run in the context of the initial thread in
    a process.  In this context simulation and SCP runs in a created
    thread and when video activities are enabled needed activities
    are passed back to the primary thread to be handled.
2020-06-12 05:29:36 -07:00
Mark Pizzolato
737f31fea0 VIDEO: Move gamecontroller/joystick cleanup to the right place. 2020-06-11 12:53:28 -07:00
Mark Pizzolato
ebb327bff6 VIDEO: Protect all accesses to last draw buffers
- Cleanup order of gamepad/joystick shutdown to avoid unwinding these
  things while the rendering thread may still reference them.
2020-06-11 07:00:54 -07:00
Peter Schorn
2c19dccb6e AltairZ80: Updated documentation for North Star MDS-A from Mike Douglas 2020-06-11 12:05:07 +02:00
Mark Pizzolato
9331d14e30 VIDEO: Avoid queuing draw events for identical unprocessed regions 2020-06-10 23:05:54 -07:00
Peter Coghlan
2f79d796cf DISK: Initialize return values to 0 for unimplemented OS and VHD functions 2020-06-10 07:46:26 -07:00
Mark Pizzolato
6c6f66914d VIDEO: Explicitly initialize and cleanup SDL Audio subsystem
As mentioned in #873, there didn't appear to be a problem at runtime,
but the formal definition suggests SDL_InitSubSystem and its cleanup
should be called.  It is likely that, as a vestige of SDL 1.2,
SDL_OpenAudio is doing this under the covers.  No harm adding it.
2020-06-10 07:30:36 -07:00
Mark Pizzolato
0912a927f4 Win32-Development-Binaries: Update BuildAll
- Avoid building a published version with uncommitted files in the
  working directory
- Confirm existence of remote named origin and fetch master branch
- Add automatic force to push remote Win32-Development-Binaries
  repo when resetting the binary directory
2020-06-09 20:07:41 -07:00
Mark Pizzolato
3e5bd84523 makefile, Visual Studio build: Report uncommitted changes in commit-id 2020-06-08 14:16:49 -07:00
Peter Schorn
f91d56c60f AltairZ80: Fixed breakpoint detection after PC wrap around 2020-06-08 09:25:13 +02:00
Peter Schorn
d92805f258 AltairZ80: Removed tabs from sources 2020-06-07 13:37:45 +02:00
Peter Schorn
d3426c3d6d AltairZ80: Removed obsolete platform dependency 2020-06-07 11:49:18 +02:00
Mark Pizzolato
b5a325f467 VAX: Correct ROM device help text to describe built-in ROM as default 2020-06-06 10:03:32 -07:00
Mark Pizzolato
65778c7664 REMOTE_CONSOLE: Make STEP behavior consistent in master mode
As discussed in #866
2020-06-06 08:40:49 -07:00
Peter Schorn
706b376f9a AltairZ80: Updated documentation with input from Patrick Linstruth (JADE Double D Disk Controller) 2020-06-05 10:54:56 +02:00
Mark Pizzolato
550993a757 VAX: Disable Boot KA655 ROM Interval timer test
Restoring original patch in the ROM.  Too much Heisenberg effects to
capture debug data to isolate the issue.
2020-06-02 20:24:11 -07:00
Mark Pizzolato
e1a6a997eb REMOTE_CONSOLE: Avoid rate limiting output to remote console sessions
As discussed in #865
2020-06-02 12:06:18 -07:00
Mark Pizzolato
52c1b5416f TMXR: Change output rate limit to 1 ms when cpu is stopped
As reported in #865

When instruction execution is stopped, forced mux output rate limiting
can't leverage instruction execution rate to time inter-character delays.
A direct sleep is used but that has a minimal granularity measured in
milliseconds.  The prior default for a non speed controlled line was 10ms
sleep between character output.  This has been changed to 1ms which
is reasonable for most situations.  Meanwhile, since the remote console
facility uses TMXR, and it has the reasonable ability to generate output
when instructions are not being executed, this is better but not perfect.
2020-06-02 11:42:51 -07:00
Mark Pizzolato
798389428c PDP8: Report unimplemented DUMP command and give suggestion
As discussed in #852
2020-06-02 10:31:20 -07:00
Mark Pizzolato
2f43f2cfa2 PDP11, VAX: Correct spelling in auto config disabled message 2020-05-31 12:57:40 -07:00
Mark Pizzolato
412e4db1b3 PDP11, VAX: Warn when deliberately or inadvertently disabling auto config 2020-05-31 12:18:33 -07:00
Mark Pizzolato
eaa3df5812 ETHER: Remove stray tab character 2020-05-31 12:13:38 -07:00
Bob Supnik
de6db5847c ALTAIR: Allow PTP device to be readonly at attach time 2020-05-29 09:15:18 -07:00
Bob Supnik
0e95c3e666 PDP8: Correct comments attributing Bernhard Baehr's description of the TSC8-75 2020-05-29 09:14:49 -07:00
Bob Supnik
b85112a400 PDP1: Generalized PTR EOL and EOF handling 2020-05-29 09:14:16 -07:00
Larry Baker
3d40da5539 makefile: Add option to explicitly build without SDL2 video: NOVIDEO=1 2020-05-28 17:02:40 -07:00
Mark Pizzolato
0f992e1db7 VIDEO: Remove support for libSDL (prior to libSDL2)
All interesting simh host platforms have long supported libSDL2
functionality which wasn't the case when sim_video was initially
implemented.  The mixed API set significantly complicates maintaining
and extending sim_video, hence this explicit effort to remove
the vestiges  of the old libSDL API.
2020-05-28 11:40:35 -07:00
Peter Schorn
f8a1e56637 AltairZ80: Improved resource mapping diagnostics. 2020-05-27 10:30:47 +02:00
Mark Pizzolato
b9297e185f TAPE: Fix ANSI EOF1 to correctly indicate the block count
- when the file ends on a block boundary, the block count was
  off by one.
- always use the max_record_size in ANSI labels independent of
  the ansi-type.
2020-05-26 09:47:10 -07:00
Mark Pizzolato
f519513f50 SCP, HP2100, HP3000, I650: Move one time initialization activities to cpu_reset
The paradigm of using a "weak" linker reference to find what was
previously the vm_init_routine() doesn't work reliably on all compile
environments supported by the simulators.  This has been reported
in #794 and it came up again in #862.  This change assures that
it will not come up again AND it reliably solves the problem with
Visual Studio compilers (and linker) that randomly chooses whether
to have the desired effect or not.

Of the 82 simulators which are currently part of simh, only these
three used the sim_vm_init() interface, so removing it had relatively
minor impact.
2020-05-26 06:25:01 -07:00
Mark Pizzolato
6b5d3d0c7e GITHUB: Revise issue template to specifically request the make output 2020-05-25 10:27:08 -07:00
Mark Pizzolato
03a6d69c8d SCP: Assure that STEP is only allowed in MASTER mode remote console connections
The STEP command was inadvertently allowed to be parsed in non-master
mode connections, but it didn't actually work.  It has now been removed
from the generic remote console command table.

This was illuminated as of the discussion in #854
2020-05-25 09:55:24 -07:00
Mark Pizzolato
5b793198c6 SCP: Flush stdout after writing command prompt
Possibly address problem discussed in #861
2020-05-24 16:11:01 -07:00
Peter Schorn
6a816001ef AltairZ80: Minor cleanup 2020-05-24 09:36:10 +02:00
Peter Schorn
cb23bca33a AltairZ80: Update m68kasm.y.txt 2020-05-23 19:06:21 +02:00
Peter Schorn
cf1e609275 AltairZ80: Using Bison 3.6.2 to generate m68kasm.c 2020-05-23 19:04:26 +02:00
Patrick Linstruth
5dc8898e0c ALTAIRZ80: Add JADEDD Jade Double D disk controller device 2020-05-23 07:30:43 -07:00
Mark Pizzolato
50ad9fbb82 SCP: Fix the allowed_remote_cmds to also list STEP before SAMPLEOUT
As discussed in #854
2020-05-22 15:54:38 -07:00
Mark Pizzolato
5ec4b3f2f4 SCP: Fix remote console command table ordering to have STEP near the beginning
This allowed user entered S to match the SAMPLEOUT command instead
of STEP.  That then identified a bug in the intended socket output
processing to attempt to be written to the undefined debug file.

As discussed in #854
2020-05-22 10:12:11 -07:00
Mark Pizzolato
ca51776ec7 SCP: Enable global message suppression by library code
The global variable sim_show_message as 0 will suppress message
output which may be needed from time to time by library code.
2020-05-22 10:11:40 -07:00
Mark Pizzolato
a4228438b5 SCSI: Properly reference bits in UNIT->flags for disk and tape 2020-05-22 10:11:11 -07:00
Mark Pizzolato
6fdd917ee8 SCP: Properly handle MTAB entries with MTAB_QUOTE values 2020-05-18 16:41:21 -07:00
Mark Pizzolato
09f18ec2ba VAX: Add idle support for VMS V5.0 and V5.1
As discussed in #853
2020-05-18 06:26:10 -07:00
Mark Pizzolato
d24fa1e5d2 PDP11, VAX: Properly autosize RQ disks based on drive type 2020-05-18 06:25:48 -07:00
Mark Pizzolato
4757632f9e SCP: Enable line wrapping at EOL on Windows console (Peter Schorn)
Simulators running directly in a Windows console session, that don't
have the console traffic redirected to a telnet session via
   SET CONSOLE TELNET=nnn
now behave similarly to the default behavior experienced on
non-windows hosts where the terminal session usually defaults to
wrapping at EOL.  Users who want more specific control of this behavior
can run their console via a telnet session with a terminal emulator that
lets them explicitly set these features in the emulator.

This change reintroduces this behavior which got lost when windows
support for ANSI (VT100) escape sequences were added to the console
sessions.
2020-05-16 03:57:36 -07:00