Commit graph

3955 commits

Author SHA1 Message Date
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
Ken Rector
268827d75c SDS: Add Card Reader and Card Punch devices 2020-12-18 23:47:36 -08:00
Mark Pizzolato
746f806bb3 SCP: Merge minor changes from Supnik-Current branch 2020-12-18 10:02:18 -08:00
Bob Supnik
c1ccc54da9 PDP11: Updated document for CPU BEVENT option 2020-12-18 03:40:00 -08:00
Peter Schorn
5f2470904b AltairZ80: Updated M2SIO device 2020-12-17 09:31:53 +01:00
Mark Pizzolato
1f6d0822bd SCP: Clarify description of -A attach switch in the help text
As discussed in #982
2020-12-16 20:07:25 -08:00
Mark Pizzolato
852c0bc1bc SCP: Avoid seeking on attached sequential devices on non seekable files
As reported on #982
2020-12-14 18:48:14 -08:00
Howard M. Harte
c32b3ab054 AltairZ80: HDC-1001: Complete the implementation.
The ADC HDC-1001 in SIMH was incomplete and non-functional.

Finish the simulation to be functional under CP/M 2.2, CP/M 3.0,
and OASIS 5.6.
2020-12-13 16:18:50 -08:00
Howard M. Harte
0eb14db0a7 AltairZ80: wd179x: Improve accuracy of the simulation.
* Properly handle the case when a disk is not attached.
    * Add register access for debugging.
    * Assert DRQ as well as IRQ for software that checks DRQ.
    * Add API to get the number of heads for the currently-selected
      disk.
    * Follow SIMH conventions for debug logging.
    * Add ability to debug IMD from the wd179x debug settings.

Tests:
    * Format and disk access on Cromemco CP/M 2.2, CDOS, 86-DOS,
      MS-DOS 1.25, OASIS 5.6.
2020-12-13 15:41:08 -08:00
Howard M. Harte
313d71b73e sim_imd: Properly calculate IMD sectsize.
The ImageDisk sectsize field was incorrectly set to the number of
bytes in the sector, when it should be an index as follows:

00 =  128 bytes/sector
01 =  256 bytes/sector
02 =  512 bytes/sector
03 = 1024 bytes/sector
04 = 2048 bytes/sector
05 = 4096 bytes/sector
06 = 8192 bytes/sector

Tested disk formatting on MS-DOS 1.25, Cromemco CP/M 2.2,
Cromemco CDOS, OASIS 5.6.
2020-12-13 15:26:04 -08:00
Howard M. Harte
898d7cbdbb AltairZ80: Add Z80 Interrupt Mode register (IM.) 2020-12-12 20:43:21 -08:00
Howard M. Harte
d0c009504b AltairZ80: Add support for the AB Digital B810.
The AB Digital Design B810 RAM card is a 256K Dynamic RAM card
with onboard refresh logic.  AltairZ80 support emulates four of
these cards for a total of 16 banks.

As used for the OASIS operating system, the B810 is configured
with common memory at the low addresses (0000h-3FFFh) with 16
banks of 48K from 4000h-FFFFh.

In order to have the common memory appear from 0000-3FFFh, set
the COMMONLOW register to 1:

D COMMONLOW 1
2020-12-12 20:43:07 -08:00
Mark Pizzolato
bcaf577d21 ETHER: Reorg for warning free build with and without Ethernet support 2020-12-11 07:18:59 -08:00
Mark Pizzolato
2f38b5f779 ETHER: Proper cleanup while getting Linux system id 2020-12-11 07:18:43 -08:00