1
0
mirror of https://github.com/simh/simh.git synced 2026-04-25 19:51:25 +00:00

TAPE: Make sure that all tape record lengths are properly typed.

- Add Tape Format help options that include recently added format types to
  MTAB entries.
This commit is contained in:
Mark Pizzolato
2019-04-10 14:26:20 -07:00
parent f12bc70470
commit 9dbc800e58
9 changed files with 23 additions and 25 deletions

View File

@@ -57,7 +57,7 @@ typedef uint32 t_mtrlnt; /* magtape rec lnt */
#define MTR_MAXLEN 0x00FFFFFF /* max len is 24b */
#define MTR_ERF 0x80000000 /* error flag */
#define MTR_F(x) ((x) & MTR_ERF) /* record error flg */
#define MTR_L(x) ((x) & ~MTR_ERF) /* record length */
#define MTR_L(x) ((t_mtrlnt)((x) & ~MTR_ERF)) /* record length */
/* TPC tape format */