DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

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

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦c78065648⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_Vect_60, seg_05c240, seg_05c2b0

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



with Ll_Vect_60;  
with Duart_2661;
procedure Test_Vect_60 is
    task type Terminal is
        entry Go (Nb : in Ll_Vect_60.Port_Nb);
    end Terminal;
    Terms : array (Ll_Vect_60.Port_Nb) of Terminal;
    task body Terminal is
        Port : Ll_Vect_60.Object;
        C : Duart_2661.Byte;
        use Duart_2661;
    begin  
        accept Go (Nb : in Ll_Vect_60.Port_Nb) do
            Port := Ll_Vect_60.Open (Nb => Nb);
        end Go;
        loop
            C := Ll_Vect_60.Receive (Port => Port);
            if C = Character'Pos ('f') then
                exit;
            end if;
            Ll_Vect_60.Send (Port => Port, Car => C);
        end loop;
        loop
            if Ll_Vect_60.Byte_Available (Port => Port) then
                C := Ll_Vect_60.Receive (Port => Port);
                if C = Character'Pos ('f') then
                    exit;
                end if;
                Ll_Vect_60.Send (Port => Port, Car => C);
            else
                delay 1.0;
            end if;
        end loop;  
        for I in 1 .. 10 loop
            Ll_Vect_60.Send (Port => Port, Car => C);
        end loop;
    end Terminal;  
begin
    Terms (2).Go (2);
    --Terms (5).Go (5);
end Test_Vect_60;
pragma Main;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1f rec1=00 rec2=01 rec3=006
        [0x01] rec0=0d rec1=00 rec2=02 rec3=001
    tail 0x2176b901e895a8ee03432 0x42a00088462060003