Commit graph

4068 commits

Author SHA1 Message Date
Mark Pizzolato
8dbffbc00a SCP: Add debug support to capture details of SAVE and RESTORE commands 2021-04-06 00:28:22 -07:00
Mark Pizzolato
e9025a189f makefile: Explicitly add /lib and /usr/lib to the library search path
Some compiler & linkers on some platforms don't dynamically provide
a way to determine the library search path, so if /lib and /usr/lib exist
as directories they are added to the end of the library search path.

As reported in #1026
2021-04-05 15:15:33 -07:00
Mark Pizzolato
be4e3c4e33 PDP11, Qbus & Unibus VAX: Fix TDC device REGisters definitions
- The REG definitions support having a REGister be pointing at an
  element in an array of structures (or UNITs) as long as the element
  is a scalar.  Something that is not supported is when the element is
  already an array (or buffer).  The approach used in the TDC device
  creates n additional registers each of which points at the individual
  array element in each of the structure in the structure array.
- Fix simple REG declarations which didn't fully describe the size of the
  underlying storage holding the REG contents in the TDC and VH
  DEVICEs.

As reported in #1025
2021-04-05 15:14:15 -07:00
Mark Pizzolato
e62070ad8f SCP: Clean up formatting of EXAMINE/DEPOST help text 2021-03-29 17:10:52 -07:00
Lars Brinkhoff
3c1c92dc30 TT2500: Call display library directly; use new display_line API. 2021-03-29 20:37:00 +02:00
Lars Brinkhoff
e9b083508b IMLAC: Call display library directly; use new display_line API. 2021-03-29 20:36:59 +02:00
Lars Brinkhoff
fe27bbedc5 display: Add display_line API for vector strokes. 2021-03-29 12:43:10 +02:00
Mark Pizzolato
f424080742 makefile: Remove explicit references to X11 includes and libraries
Any graphics done within any simulator is done via explicit SDL APIs.
If a host has SDL available, the natural mechanisms used to reference
SDL pieces will automatically create the proper references to the
available SDL components.
2021-03-22 21:33:19 -07:00
Mark Pizzolato
e51d918adb SCP: Assure consistent PC state while preparing RUN command execution
Some simulator reset routines may reference the RUN target PC value
while others may change the PC, so we set the PC value both before
and after any reset is performed.

As reported in #1020
2021-03-13 12:38:39 -08:00
Mark Pizzolato
6323acd5ea Visual Studio Projects: Produce proper commit id with uncommitted changes 2021-03-08 16:25:14 -08:00
Mark Pizzolato
73be1953ee makefile: Properly detect building with uncommitted changes 2021-03-08 16:03:11 -08:00
Mark Pizzolato
076c1ef094 SCP: Add support for ~/ references to user home directory when opening files 2021-03-06 14:04:54 -08:00
Mark Pizzolato
06cedc7cbe SCP: Explicitly use sim_fopen rather than the CRTL fopen directly 2021-03-06 05:24:49 -08:00
Lars Brinkhoff
1d613f1f50 VIDEO: Fix use of uninitialized variable. 2021-03-06 09:59:50 +01:00
Mark Pizzolato
c496d53844 PDP8: Extend LOAD logic to advise about additional loadable binary content
- As discussed in #1017
- Additionally, fix binary read of rubout characters to ignore diagnostic
  messages
2021-03-05 08:11:07 -08:00
Mark Pizzolato
a1785ac1d0 SCP: Add optional VM routine that is invoked on specific REGister updates
The new REG_DEPOSIT register flag bit indicates that updates to a
REGister with this flag specified will invoke the sim_vm_reg_update
routine after the data has been updated.
2021-03-02 05:35:04 -08:00
Mark Pizzolato
1a54a2515d SCP: Add HELP SET/SHOW for unit specific commands for DEVICEs with single units 2021-02-28 15:35:50 -08:00
Peter Schorn
65542cd46d AltairZ80: Fix showdata in MDS-AD device 2021-02-28 08:20:45 +01:00
Lars Brinkhoff
ed4b204584 VIDEO: Allow setting alpha blending mode. 2021-02-27 14:43:18 +01:00
Mark Emmer
10f3a9dea3 VIDEO: Initialize event structure to 0 before waiting for events
No clear reason to do this, given the SDL code path in the call to
SDL_WaitEvent, but initializing at startup adds no overhead and
was reported to help some debugging activities.
2021-02-25 13:30:34 -08:00
Mark Pizzolato
885277e14f VAX: Fix typo in help for SET CPU IDLE command. 2021-02-23 12:50:22 -08:00
Howard M. Harte
6c72231177 AltairZ80: Add MDS-AD support for single-density
The North Star MDS-AD disk controller supports both single- and
double-density operation.  While mixed-density is supported by the
controller, it is not supported by AltairZ80 due to a limitation of the
.nsi image file format.  The .nsi image file format requires all sectors
to be of the same density.
2021-02-15 13:48:47 -08:00
Howard M. Harte
f0dd8184d8 AltairZ80: Fix North Star MDS-AD for NSDOS
The "Window" bit was getting cleared too late, causing the "next" sector
to be written under North Star DOS.  Due to differences between CP/M and
North Star disk access routines, this was not an issue under CP/M.

Test: Verify that North Star DOS and CP/M can format, copy and verify an
entire disk.

North Star Disk Operating System, Version 2.1.1, at  100
+GO DT 2
SINGLE(S) OR DOUBLE(D) DENSITY TEST? D
BOTH SIDES (Y OR N)? Y
LOAD DISKETTE THEN PRESS RETURN TO BEGIN TEST
PASS COMPLETE
PASS COMPLETE
PASS COMPLETE
PASS COMPLETE
PASS COMPLETE
CONTROL-C STOP
+GO CD 1 2
COPY BOTH SIDES (Y OR N)? Y
LOAD DISKETTES AND PRESS RETURN WHEN READY.
COPY COMPLETED.
+GO CK 1
DISKETTE CHECK, VERSION 1
CHECK CODE: 46513
+GO CK 2
DISKETTE CHECK, VERSION 1
CHECK CODE: 46513
+
2021-02-15 11:01:07 -08:00
Peter Schorn
ddea510008 AltairZ80: Updated ICOM device 2021-02-09 13:34:53 +01:00
Lars Brinkhoff
2f66e74c50 PDP11: Use MATCH_CMD to match comand strings. 2021-02-03 16:09:26 +01:00
Lars Brinkhoff
39ab11cbb7 PDP11: New VT11 setting to enable/disable switches. 2021-02-01 18:44:24 +01:00
Lars Brinkhoff
cea5fc136d PDP11: Toggle NG display fullscreen with F11. 2021-02-01 07:07:32 +01:00
Mark Pizzolato
e82910570f ETHER: Add support to determine host NIC address without ifconfig
- Recent Linux versions don't install ifconfig by default and now use
  the new ip command for network details.
- Avoid writing command results to a temp file and use popen instead.
2021-01-31 12:56:05 -08:00
Mark Pizzolato
11b5c1f1dd FRONTPANEL: Avoid theoretical potential buffer overrun 2021-01-30 22:46:17 -08:00
Mark Pizzolato
a5b7ebe44b DISK: Assure that all reads past EOF read as 0 data, even partial sector reads 2021-01-27 12:47:36 -08:00
John Forecast
18d6247cb7 DISK: Add file system detection on interleaved device file system images
- DEC filesystems on RX01 and RX02 devices interleave data
- Add additional RT11 file system detection for images created by exchange
  on VMS.
2021-01-23 21:02:52 -08:00
Mark Pizzolato
d5cc3406b6 PDP10: Avoid console port input overrun - wait until prior input is processed
This will allow cut-and-paste into KS10 simulator console session.

As discussed in #999
2021-01-21 07:56:59 -08:00
Mark Pizzolato
0507aa15fc makefile: precisely determine submodule name to avoid similar name matches
As discussed in #1000
2021-01-20 09:14:21 -08:00
Peter Schorn
9f064db561 AltairZ80: Updated Morrow Disk Jockey disk controller and minor code cleanup 2021-01-18 20:43:56 +01:00
Mark Pizzolato
b2a63a5678 IMD: Remove need for -DUSE_SIM_IMD in preparation for wider use of sim_imd 2021-01-18 10:44:33 -08:00
Howard M. Harte
dc0236bc77 AltairZ80: vfdhd: Fix unit detach. 2021-01-17 12:20:33 -08:00
Howard M. Harte
cc464d4acb AltairZ80: mdfc: Fix unit detach. 2021-01-16 14:20:03 -08:00
Mark Pizzolato
e9d774908e SCP: Fix compile errors in recent commits 2021-01-13 05:12:30 -08:00
Mark Pizzolato
f1b7dc9d21 FRONTPANEL: Properly order include files to avoid winsock conflicts 2021-01-12 12:04:48 -08:00
Mark Pizzolato
749dd7d333 SCP: Move utility functions to sim_fio 2021-01-12 07:58:56 -08:00
Mark Pizzolato
597178fc26 SCP: Specify detail in detach messages for buffered files 2021-01-12 05:26:23 -08:00
Mark Pizzolato
6cfd55180f SCP: Assure proper goto and call behavior with spaces in path names 2021-01-07 17:12:06 -08:00
Mark Pizzolato
186fa30f37 SCP: Assure that remote console sessions continue after multiple reboots 2021-01-07 17:11:03 -08:00
Mark Pizzolato
4f215963f8 FIO: Fix name matching when glob isn't available and using fnmatch 2021-01-06 07:15:22 -08:00
Anders
21117a2cb1 makefile: allow .git to be a file or directory to handle submodules
Change test for -e (exists) instead of -d (directory) so that the .git
entry is detected correctly and git version stamp logic runs as in any
other git repo. The .git entry is a file when the repo is a submodules
and possibly other obscure cases like multiple worktrees.

fixes #988
2021-01-05 09:47:25 -08:00
Peter Schorn
2911b3a440 AltairZ80: Added Morrow Disk Jockey disk controller 2021-01-03 14:24:30 +01:00
Leo Broukhis
5e539dc0b2 BESM6: Implemented punched card input and punched tape output 2021-01-02 02:50:08 -08:00
Mark Pizzolato
8c42a3436c VAXen with SCSI: Allow some cross controller read only drive access 2020-12-29 11:14:34 -08:00
Mark Pizzolato
613625e878 SCP: Correct unit level debug logic to avoid potential segfault 2020-12-28 10:26:45 -08:00
Mark Pizzolato
beaa1e7387 ETHER: Properly support builds when pcap isn't available 2020-12-24 21:38:22 -08:00