DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 DFS Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 DFS Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦5c29553a2⟧ EM, TextFile

    Length: 293 (0x125)
    Types: EM, TextFile
    Names: »CHECK_ECC.EM«

Derivation

└─⟦24d56d853⟧ Bits:30000744 8mm tape, Rational 1000, DFS, D_12_6_5 SEQ293
    └─ ⟦this⟧ »CHECK_ECC.EM« 
└─⟦9031b0687⟧ Bits:30000407 8mm tape, Rational 1000, DFS, D_12_7_3
    └─ ⟦this⟧ »CHECK_ECC.EM« 

TextFile

! CHECK_ECC (%1% = TYPE, %2% = VAL, %3% = CHECKBITS)
! Returns null if ECC is OK, bad bit if not

[set bad_bit [syndrome [xor [ecc_of %1% %2%] %3%]]]
[eq,,[var bad_bit]]
  ECC OK
[else]
  [eq,MULT,[var bad_bit]]
    MULTIPLE BAD BITS
  [else]
    [var bad_bit] BAD
  [end]
[end]
[kill bad_bit]