Mark Pizzolato
e333a691d0
DISK: Ignore NULL unit with HELP <dev> ATTACH for disk devices
...
Related to activities in #801
2020-02-10 10:41:33 -08:00
Mark Pizzolato
78f8599024
DISK: Limit HELP output attach commands to at most 4 disks
...
As discussed in #801
2020-02-09 07:17:12 -08:00
John Forecast
d00c1d4540
DISK: Add RSTS file system recognizer
...
Thorough fix to #581
2020-02-07 15:51:12 -08:00
Mark Pizzolato
519ef27def
DISK, TAPE: Remove compiler and Coverity warnings
2019-11-24 10:55:25 -08:00
Mark Pizzolato
4e5780e15e
DISK: Allow file system sizing if device doesn't have DEV_SECTORS set_cmd
...
As it turns out, the RD device in the MicroVAX 2000 systems reasonably
doesn't have DEV_SECTORS set in the DEVICE flags.
Follow on to #768 .
2019-11-16 20:57:58 -08:00
Mark Pizzolato
39fd8d829b
DISK: Avoid disk capacity overflow on hosts with 32bit file offset limitations
...
As discussed in #768
2019-11-16 18:24:37 -08:00
Mark Pizzolato
526e03bbe1
DISK: Remove dangling semicolon compiler warning.
2019-07-07 19:27:28 -07:00
Mark Pizzolato
56ab8260f2
DISK: Fix Coverity warnings
2019-06-08 13:53:35 -07:00
Mark Pizzolato
6b3bff56b3
DISK: Add support to properly autosize fixed sized disk from a set of choices
...
As discussed in #704
2019-05-21 15:38:39 -07:00
John Forecast
4f2dc069ae
DISK: Check all read sector counts during attach.
...
- Problem report #704
- Enable RAW access support on OSX
2019-05-20 23:32:58 -07:00
Mark Pizzolato
05f84879ad
DISK: Cleanup compiler warnings
2019-05-09 16:32:57 -07:00
John Forecast
e47a7e9ef7
DISK: Add RT11 file system disk size detection
2019-05-09 16:16:31 -07:00
Mark Pizzolato
52fab988e3
DISK: Handle Windows RAW disk reads at EOF as success reading 0's
...
This was the root cause of the problem reported in #696
2019-05-01 18:30:34 -07:00
Mark Pizzolato
c7b0928b33
SCP: Avoid potential buffer overruns by using strlcpy() and strlcat()
2019-03-08 12:31:01 -08:00
Mark Pizzolato
75d18d4db0
SCP: Removed redundant SCPE_NOTATT which duplicates SCPE_UNATT
2019-02-01 16:07:12 -08:00
Mark Pizzolato
cb9876ce65
SCP: Cleanup gcc compiler flagged potential issues
...
Compiler warnings about undeclared case fall throughs, and potential
buffer overruns,
2019-01-21 16:43:17 -08:00
Mark Pizzolato
3cca0cf90b
SCP: Cleanup MinGW compile warnings
2019-01-21 02:36:42 -08:00
Mark Pizzolato
0e544b71ff
SCP: Fix various compiler warnings
2018-09-28 18:05:39 -07:00
Mark Pizzolato
928193d463
SCP: Fix EXPECT regular expression match environment variable names
...
- Use sim_messagef for consistency
2018-09-27 06:24:31 -07:00
Mark Pizzolato
0daa80e03d
SCP: Add support for library unit test routines
2018-08-26 18:15:30 -07:00
Mark Pizzolato
6070692581
SCP: Add unit to AIO_VALIDATE context message
2018-08-08 11:51:54 -07:00
Mark Pizzolato
4487646946
DISK: Fix auto sizing and non auto sizing logic checks
...
As reported in #581 and #565
2018-07-19 23:33:09 -07:00
Mark Pizzolato
83234f1e9d
DISK: Add Linux host support for direct CDROM access
2018-05-26 12:33:50 -07:00
Mark Pizzolato
2363300e64
DISK: Fix Coverity identified error path problems
2018-05-15 07:32:24 -07:00
Mark Pizzolato
5ee2944f40
DISK: Properly parenthesize logical expression for clarity avoid clang warning
2018-05-09 13:30:26 -07:00
Mark Pizzolato
e266271612
DISK: Fix auto format detection when attaching VHD disk images
2018-05-07 12:22:33 -07:00
Mark Pizzolato
15e86fb4ed
SCP, DISK: Fix Coverity identified debug path null pointer dereferences
2018-04-17 23:51:39 -07:00
Mark Pizzolato
d6a5268d97
DISK: Properly open in RAW mode on *nix
2018-04-11 04:20:17 -07:00
Mark Pizzolato
8bec55b976
DISK: Properly fail an attempt to access to a non-existent file in raw mode
2018-04-10 11:45:22 -07:00
Mark Pizzolato
6667f651a3
DISK: Add explicit AUTO detect disk format mode
2018-04-10 11:43:43 -07:00
Mark Pizzolato
6263378df4
DISK: Change auto disk format open logic to include RAW
...
Previously auto format detection first attempted a VHD open. If that
failed, it falls back to a SIMH open which uses C RTL fopen, fread, fwrite
and fclose. Now a RAW format open is attempted which will often
succeed, not only on CDROM devices, but most normal files can also
be opened in RAW mode which will to direct OS I/O (open, erad, write
and close or CreateFile, ReadFile, WriteFile, CloseHandle).
As discussed in #533
2018-04-07 22:15:14 -07:00
Mark Pizzolato
28e4311039
SCP: Extended debugging to allow for unit specific debug for disk and tape
2018-04-07 21:38:26 -07:00
Mark Pizzolato
669d07ba3e
SCP: Fix compile WIN32 MinGW warnings
2018-03-07 13:20:14 -08:00
Mark Pizzolato
335b4ef210
DISK: Add support for reporting OS specific error messages when using RAW I/O
2018-02-27 13:32:20 -08:00
Mark Pizzolato
70d8f759c6
DISK: Fix RAW device (CDROM) access behaviors
...
- Only open RAW CDROM devices in read only mode (UNIT_RO) to avoid
potential write attempts.
- Make sure to properly reopen RAW CDROM devices after media is inserted
into the drive after an attach thas with no media present OR after an Eject.
As discussed in #533
2018-02-24 17:38:20 -08:00
Mark Pizzolato
d91d47d1f4
SCP: Silence compiler warnings
2018-02-13 12:27:18 -08:00
Mark Pizzolato
ce8aea13bc
MINGW: Reorder windows include files to avoid future complications
2018-02-12 20:48:39 -08:00
Mark Pizzolato
49911369d0
DISK: Don't auto size to shrink a disk when file system data size is unknown
...
Fix report in #524
2018-02-05 11:23:06 -08:00
Mark Pizzolato
b45b9426c6
makefile: Tolerate changing MinGW include file changes
...
Fix #487
2017-11-11 10:52:29 -08: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
064c8e54a8
SCP: Silence Coverity warnings
2017-03-31 18:54:18 -07:00
Mark Pizzolato
773cc1c319
SCP: Minor Coverity cleanup
2017-03-30 07:55:13 -07:00
Mark Pizzolato
2b0acc301a
DISK: Ignore potential cleanup errors and avoid sign extension byte swapping
2017-03-29 08:19:17 -07:00
Mark Pizzolato
8df467835a
DISK: generalized data debug routine for use by devices that don't use sim_disk
2017-03-11 00:13:34 -08:00
Mark Pizzolato
9f929ae312
DISK: Fix Coverity identified problems
...
Replace memcpy with memmove for overlapping buffer moves.
VHD differencing disk parent filename fix
fix sizing of SIMH format disk drives
Fix memory leak after initializing a disk with a pattern
Fix bad 144 block initialization for RB and CS devices
2017-03-10 15:59:37 -08:00
Mark Pizzolato
760ce434f6
DISK: Add 256 byte sector support to Ultrix file system detection logic
2017-02-08 11:08:46 -08:00
Mark Pizzolato
5a0970fefb
DISK: Support file system type/size checking for disks without 512 byte sectors
2017-02-07 16:28:01 -08:00
Mark Pizzolato
76dda8a01e
PDP11, VAX: Fix SET RPn BADBLOCK behavior and auto sizing.
...
BAD144 info was written correctly if the user answered Y when the disk
image was created, but would not work if SET RPn BADBLOCK was
entered later.
Auto sizing would be potentially wrong if a disk had been created
without writing the BAD144 data. Now, if the disk contains a file system
that information along with the physical container's size is used to
properly auto size the disk.
2017-02-07 13:02:21 -08:00
Mark Pizzolato
7050a1aef5
DISK: Added disk auto size detection for DEC ODS1 structured disks
2017-02-06 00:04:53 -08:00
Mark Pizzolato
f006aaa398
DISK: Added Ultrix disk partition detection to auto size RQ or RP disks.
...
Thanks to Henry Bent for info that made this possible.
2017-02-04 19:56:54 -08:00