1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 04:01:38 +00:00

TAPE: Fix edge cases for AWS format tapes and default TAR block size

- Add more AWS test cases
- Add better position validation when scanning a tape image
- Properly clear SIGINT flag for interrupt during a tape attach
This commit is contained in:
Mark Pizzolato
2019-06-29 07:39:23 -07:00
parent 1e214afec3
commit 47bac1f665
2 changed files with 178 additions and 106 deletions

View File

@@ -654,7 +654,7 @@ struct UNIT {
#define UNIT_NO_FIO 0000004 /* fileref is NOT a FILE * */
#define UNIT_DISK_CHK 0000010 /* disk data debug checking (sim_disk) */
#define UNIT_TMR_UNIT 0000200 /* Unit registered as a calibrated timer */
#define UNIT_TAPE_MRK 0000400 /* Tape Unit AWS Tapemark */
#define UNIT_TAPE_MRK 0000400 /* Tape Unit Tapemark */
#define UNIT_TAPE_PNU 0001000 /* Tape Unit Position Not Updated */
#define UNIT_V_DF_TAPE 10 /* Bit offset for Tape Density reservation */
#define UNIT_S_DF_TAPE 3 /* Bits Reserved for Tape Density */