Commit | Line | Data |
---|---|---|
d52f1552 TL |
1 | /* TM02 register definitions */ |
2 | # define TM_cs1 0 /* TM2 control 1 reg */ | |
3 | # define TM_ds 1 /* TM02 status reg */ | |
4 | # define TM_er 2 /* TM02 error reg */ | |
5 | # define TM_mr 3 /* TM02 maint. reg */ | |
6 | # define TM_as 4 /* TM02 attention summary reg */ | |
7 | # define TM_fc 5 /* TM02 frame count reg */ | |
8 | # define TM_dt 6 /* TM02 drive type reg */ | |
9 | # define TM_ck 7 /* TM02 check char. reg. */ | |
10 | # define TM_sn 8 /* TM02 serial no. reg. */ | |
11 | # define TM_tc 9 /* TM02 tape control reg */ | |
12 | /* */ | |
13 | # define TM_GO 1 /* TM2 go bit */ | |
14 | # define TM_RWND 06 /* TM2 Rewind */ | |
15 | # define TM_DCLR 010 /* TM2 drive clear function code */ | |
16 | # define TM_RIP 020 /* TM02 Read-In Preset command */ | |
17 | # define TM_ERAS 024 /* TM02 erase command */ | |
18 | # define TM_WTM 026 /* TM02 write-tape-mark command */ | |
19 | # define TM_SFWD 030 /* space forward function code */ | |
20 | # define TM_SREV 032 /* TM02 space reverse command */ | |
21 | # define TM_WRTF 060 /* write forward function code */ | |
22 | # define TM_REDF 070 /* read forward function code */ | |
23 | # define TM_RREV 076 /* TM02 read reverse command */ | |
24 | /* */ | |
25 | # define TM_DRDY 0x80 /* TM2/drive ready,status reg */ | |
26 | # define TM_ERR 0x4000 /* TM2 composite error, status reg */ | |
27 | # define TM_MOL 0x1000 /* TM02 medium-on-line status bit */ | |
28 | # define TM_TM 0x4 /* tape mark bit in TM02 status reg */ | |
29 | # define TM_EOT 0x400 /* end-of-tape bit in status reg */ | |
30 | # define TM_FCE 0x200 /* TM02 frame count error bit */ | |
31 | /* */ | |
32 | # define TM_EPAR 0x8 /* even parity bit in TM02 control reg */ | |
33 | # define TM_PNOR 0xc0 /* PDP11 normal mode for tape control reg */ | |
34 | # define TM_D800 0x300 /* TM02 800BPI for tc reg */ | |
35 | # define TM_D1600 0x400 /* TM02 1600BPI PE for tc reg */ | |
36 | # define TM_EABO 0x1000 /* TM02 enable abort bit in tc reg */ |