|
DataMuseum.dkPresents historical artifacts from the history of: RC4000/8000/9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC4000/8000/9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 1536 (0x600) Types: TextFile Names: »geninebcdic«
└─⟦621cfb9a2⟧ Bits:30002817 RC8000 Dump tape fra HCØ. Detaljer om "HC8000" projekt. └─⟦0364f57e3⟧ └─⟦this⟧ »geninebcdic« └─⟦00964e8f7⟧ Bits:30007478 RC8000 Dump tape fra HCØ. └─⟦b2ec5d50f⟧ └─⟦this⟧ »geninebcdic«
begin integer array a(0:255),b(0:127); integer i,j; isotable(b); for i:= 0 step 1 until 255 do a(i):= 26; for i:= 33,94,0 step 1 until 127 do begin if i mod 8=0 then begin write(out,i,<:<10>:>); setposition(out,0,0); end; read(in,j); a(j):= i; end; stackcuro; connectcuro(<:tinebcdic:>); write(out,<: external procedure ebcdictable(table); integer array table; begin integer i; for i:= 0 step 1 until 255 do table(i):= (case i + 1 of (:>); for i:= 0 step 1 until 255 do begin if i mod 16=0 then write(out,<:<10> :>); write(out,<<ddd>,b(a(i))shift(-12), if i=255 then <:)):> else <:,:>) end; write(out,<: shift 12 + (case i + 1 of (:>); for i:= 0 step 1 until 255 do begin if i mod 16=0 then write(out,<:<10> :>); write(out,<<ddd>,b(a(i))extract 12, if i=255 then <:)):> else <:,:>) end; write(out,<: end; end:>); closeout; unstackcuro; end ▶EOF◀