DataMuseum.dk

Presents historical artifacts from the history of:

RC4000/8000/9000

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

See our Wiki for more about RC4000/8000/9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦3dbcd9a99⟧ TextFile

    Length: 768 (0x300)
    Types: TextFile
    Names: »pwrbinary«

Derivation

└─⟦621cfb9a2⟧ Bits:30002817 RC8000 Dump tape fra HCØ.  Detaljer om "HC8000" projekt.
    └─⟦0364f57e3⟧ 
        └─⟦c9a650afb⟧ »hcøplib« 
└─⟦667bb35d6⟧ Bits:30007480 RC8000 Dump tape fra HCØ.
    └─⟦4334b4c0b⟧ 
        └─⟦c9a650afb⟧ »hcøplib« 
            └─⟦this⟧ 

TextFile

(
o allist
testwrb=set 25
scope day testwrb
testwrb=pascal list.yes
o c
finisb)
program wrb(input,output);
type
  charfile= file of char;
var j: integer;
procedure writebinary(var f: text; pattern: integer);
var i: integer;
    b: array Æ1..24Å of boolean;
begin
  for i:=1 to 24 do
    begin
    bÆ25-iÅ:=odd(pattern);
    pattern:=pattern div 2;
  end;
  for i:= 1 to 24 do if bÆiÅ then write(f,'1') else write(f,'.');
end;
begin
readln(j);
writebinary(output,j);
end.
▶EOF◀