mirror of
https://github.com/rcornwell/sims.git
synced 2026-01-18 09:03:11 +00:00
KA10: Fixed parity error in 7 track TM10
This commit is contained in:
parent
9fff308935
commit
5cc548d83f
@ -616,7 +616,7 @@ t_stat mt_srv(UNIT * uptr)
|
||||
cc = 6 * (5 - uptr->CPOS);
|
||||
ch = mt_buffer[uptr->BPOS];
|
||||
if ((((uptr->CNTRL & ODD_PARITY) ? 0x40 : 0) ^
|
||||
parity_table[ch & 0x3f]) != 0) {
|
||||
parity_table[ch & 0x3f]) == 0) {
|
||||
mt_status |= PARITY_ERR;
|
||||
}
|
||||
mt_df10.buf |= (uint64)(ch & 0x3f) << cc;
|
||||
@ -695,7 +695,7 @@ t_stat mt_srv(UNIT * uptr)
|
||||
if (uptr->flags & MTUF_7TRK) {
|
||||
ch = mt_buffer[uptr->BPOS];
|
||||
if ((((uptr->CNTRL & ODD_PARITY) ? 0x40 : 0) ^
|
||||
parity_table[ch & 0x3f]) != (ch & 0x40)) {
|
||||
parity_table[ch & 0x3f]) == 0) {
|
||||
mt_status |= PARITY_ERR;
|
||||
}
|
||||
mt_buffer[uptr->BPOS] &= 0x3f;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user