Mark Pizzolato
2e85e74699
SCP: Various cleanups.
...
- Avoid assignments of void * values. Cast all memory allocation return values to appropriate types.
- Add output to sim_log where missing in various places.
- Fixed issue with lost file positions after a restore for devices which leverage the UNIT_SEQ flag.
2013-11-20 09:13:27 -08:00
Mark Pizzolato
c9844951f7
PDP11/VAX: Make sure that semi-unique drive serial numbers have a zero msb to avoid issues in some operating systems.
2013-09-10 16:27:00 -07:00
Mark Pizzolato
786cda7c1b
PDP11/VAX: Use semi-unique drive serial numbers when writing BAD144 bad block info to newly created disk images
...
The 32 bit drive serial number is determined by hashing the newly create filename.
2013-09-09 03:39:00 -07:00
Mark Pizzolato
e18d7e86e4
PDP11/VAX: Use unique drive serial numbers when writing BAD144 bad block info to newly created disk images
2013-09-08 19:42:46 -07:00
Mark Pizzolato
2bfaf46781
AIX Platform support
2013-05-23 11:33:36 -07:00
Mark Pizzolato
2c941c86d2
Fix to allow raw disk access even if Large File support isn't available on the host
2013-04-15 12:19:33 -07:00
Mark Pizzolato
4bd72e666c
Compiler and static analyzer fixes from Peter Schorn.
2013-04-13 16:59:54 -07:00
Mark Pizzolato
8acb3b29e3
Fixed disk creation logic to avoid writing a zero sector to the first and last sector of a newly created disk if the disk's contents were copied from another disk. This solves the last details in issue #35
2013-04-07 12:43:54 -07:00
Mark Pizzolato
5727ad1a27
Added a -V option to a VHD copy operation to cause a verify pass which will confirm all of the expected data has made it to the target virtual disk
2013-03-25 04:32:06 -07:00
Mark Pizzolato
249f40e4bc
Compiler indicated cleanup (FreeBSD on PPC)
2013-03-23 15:55:13 -07:00
Mark Pizzolato
ba2070f1f6
Fix handle leak if a memory allocation error occurred during a VHD create with Copy
2013-03-20 07:06:47 -07:00
Mark Pizzolato
e7c2adbbc4
Fixed bug affecting pdp11_rq disks introduced when adding greater than 2GB disk support to PDP11 simulator
2013-03-19 01:36:09 -07:00
Mark Pizzolato
0605b6dff4
Added support for building on Solaris with the Sun C compiler
2013-03-17 16:50:57 -07:00
Mark Pizzolato
2e5b0d54c6
Generalized the sim_disk layer to support large file disk devices (simh, VHD and RAW formats) with out requiring USE_ADDR64, and enhanced the pdp11_rq device to use this capability.
2013-03-17 12:02:43 -07:00
Mark Pizzolato
3dea6056e6
Remove compiler warnings generated by newer clang compiler
2013-03-13 16:38:30 -07:00
Mark Pizzolato
d5ca542102
Changed use of compile #defines which start with a _ character to not do this since defined symbols starting with _ are reserved to local compiler/runtime implementations in the C language. This addresses issue #32
2013-03-12 11:07:58 -07:00
Mark Pizzolato
bc40f6abde
Removed recently linked dependence of VHD support on Large File support. VHDs can be supported without large file support up to the limits a system without large file support (i.e. 2GB). Fixes issue #35
2013-03-05 12:15:29 -08:00
Mark Pizzolato
4ff56d6c15
Changed all internal #ifdef's which were conditional on __linux to be conditional on either __linux or __linux__. Some platforms (PPC) don't define __linux when gcc is invoked with -std=c99.
2013-02-20 21:57:02 -08:00
Mark Pizzolato
952f29e205
Force include of unistd.h on linux
2013-02-19 09:59:56 -08:00
Mark Pizzolato
3d3f757991
Added display of VHD and RAW disk access capabilities to the output of SHOW VERSION
2013-02-19 09:44:23 -08:00
Mark Pizzolato
119ca2f03a
Fixed display of percentage progress when copying or merging a VHD to avoid overflow
2013-02-15 13:54:55 -08:00
Mark Pizzolato
448ee4ad3c
Fixed open issues on corrupt or inconsistent differencing disks to properly return error status.
...
Fixed error paths to report errors when copying a differencing disk.
Fixed structure alignment issues to produce dynamic VHDs which are compatible with Windows 7's disk management.
Fixed performance optimization which attempted to optimize dynamic disk BAT updates as dynamic disks grew.
Added -O attach option for to override consistency checks for differencing disks which may have unexpected parent GUID or timestamp values.
2013-02-11 09:48:36 -08:00
Mark Pizzolato
c4251bd53b
Fixed GCC compiler identified warning.
2013-01-26 12:14:43 -08:00
Mark Pizzolato
9dcf5dc25e
Added examples to the sim_disk attach help
2013-01-25 00:23:58 -08:00
Mark Pizzolato
e3207c2009
Compiler suggested cleanups
2013-01-23 05:07:44 -08:00
Mark Pizzolato
e6e6262f45
Fix ordering of thread activities while detaching disks and tapes
2013-01-22 20:59:49 -08:00
Mark Pizzolato
4a5b7a78c5
Remove the UNIT_RAW flag and deprecate the UNIT_TEXT flag (made the value 0).
2013-01-19 10:59:40 -08:00
Mark Pizzolato
6eb3804620
Standardized scp command formatting in help output
2013-01-15 06:21:32 -08:00
Mark Pizzolato
784ae24324
- Fixed asynchronous i/o hangs introduced when asynchronous cancel support was added
...
- Added event debug support to scp and the vax simulator
- Moved external declarations into include files related to modules which define them and removed random externs from modules which referenced them
- Fixed typos in sim_ether
- Fixed sim_disk and sim_tape to properly manage asynchronous threads on an i/o flush
2013-01-09 17:02:58 -08:00
Mark Pizzolato
c61e14fcdd
Avoid 8 bit characters in help output
2013-01-09 11:17:58 -08:00
Mark Pizzolato
4f4cbd4157
Avoid asynch thread thrashing on disk and tape detach and enhance the disk and tape help
2013-01-09 11:11:04 -08:00
Mark Pizzolato
7e1840eb5f
Fixed bugs in disk and tape operations when running without asynch disabled - bugs reported by Jordi Guillaumes i Pons
2013-01-07 09:25:57 -08:00
Mark Pizzolato
ba0f331fa5
Added framework to support per device help commands
2012-12-30 13:12:15 -08:00
Mark Pizzolato
3346f4a32c
Fix build on VMS (IA64)
2012-12-19 12:45:03 -08:00
Mark Pizzolato
50cf91d441
Merge branch 'SerialMux' and compiler suggested cleanup
2012-12-18 09:52:14 -08:00
Mark Pizzolato
18b6ab89d0
Fixing compiler complaints with MinGW and adding support for RAW disk access when compiling with MinGW on windows.
2012-12-16 20:18:54 -08:00
Mark Pizzolato
4a3bf9ee17
Compiler warning cleanup
2012-12-16 06:42:51 -08:00
Mark Pizzolato
d955c383e9
Fixed compiler warnings and errors when compiling with MinGW
2012-12-15 09:41:13 -08:00
Mark Pizzolato
0450a9b430
Compiler suggested cleanup
2012-12-15 07:56:42 -08:00
Mark Pizzolato
b466bdc9c6
Compiler warning cleanup
2012-12-13 13:41:57 -08:00
Mark Pizzolato
2b5ceae2be
Added missing sim_cancel support for device simulation code using the sim_disk and sim_tape libraries and doing asynchronous I/O if asynchronous I/O is active
2012-12-12 10:58:19 -08:00
Mark Pizzolato
223e3e0254
sim_disk.c - Added a VHD merge option when attaching a vhd differencing disk
...
- Cross platform VHD differencing disk fixes (dealing with file names).
- Optimization of VHD differencing disk meta data alignment
- General cleanup and casting of pointer function arguments and assignments
2012-11-16 15:35:13 -08:00
Mark Pizzolato
a74c2d22dd
sim_disk.c - Optimized read operations from unallocated VHD blocks
2012-11-12 14:36:35 -08:00
Mark Pizzolato
ed463a94fc
sim_disk.c - Fixed differencing disk expansion and end of drive access bugs
...
- Added an attach option to merge a differencing disk into its parent when an attach is done with an -M flag
2012-11-12 13:46:05 -08:00
Mark Pizzolato
2a9ac8a830
VHD Performance enhancementsDaa:
...
optimize BAT updates when writing to previously unwritten data blocks
data block alignment for optimal behavior on Advance Format host disks (4096 sectors)
2012-07-10 13:18:03 -07:00
Mark Pizzolato
3775c17034
Fixed asynch disk/tape I/O reset behaviors to reliably synchronize with the I/O thread's startup
2012-04-29 05:55:46 -07:00
Mark Pizzolato
c4659a0903
Fixed issue where asynchronous I/O wouldn't be reliable after a device reset.
2012-04-28 08:37:20 -07:00
Mark Pizzolato
f77a38c3c5
Cleaned up a few compile complaints
2012-04-27 12:11:12 -07:00
Mark Pizzolato
5f505ccadf
Fixing many compiler identified nits.
2012-04-18 09:48:04 -07:00
Mark Pizzolato
dfcd818762
Added O_DSYNC semantics to the RAW file open() call for *nix platforms. This makes *nix RAW I/O behavior consistent with windows RAW I/O.
2012-04-16 04:58:28 -07:00