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

⟦0d2811ae2⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_Ll_2, seg_05c1f6, seg_05c2a7

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 Low_Level_Io_2;  
with Duart_68681;
procedure Test_Ll_2 is
    task type Terminal is
        entry Go (Name : in Duart_68681.Port_Name);
    end Terminal;
    Terms : array (Duart_68681.Port_Name) of Terminal;
    task body Terminal is
        Port : Low_Level_Io_2.Object;
        C : Duart_68681.Byte;
        use Duart_68681;
    begin  
        accept Go (Name : in Duart_68681.Port_Name) do
            Port := Low_Level_Io_2.Open (Name => Name);
        end Go;
        loop
            C := Low_Level_Io_2.Receive (Port => Port);
            if C = Character'Pos ('f') then
                exit;
            end if;
            Low_Level_Io_2.Send (Port => Port, Car => C);
        end loop;
        loop
            if Low_Level_Io_2.Byte_Available (Port => Port) then
                C := Low_Level_Io_2.Receive (Port => Port);
                if C = Character'Pos ('f') then
                    exit;
                end if;
                Low_Level_Io_2.Send (Port => Port, Car => C);
            else
                delay 1.0;
            end if;
        end loop;
        for I in 1 .. 10 loop
            Low_Level_Io_2.Send (Port => Port, Car => C);
        end loop;
    end Terminal;  
begin
    Terms (Duart_68681.Port_A).Go (Duart_68681.Port_A);
    Terms (Duart_68681.Port_B).Go (Duart_68681.Port_B);
end Test_Ll_2;
pragma Main;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1e rec1=00 rec2=01 rec3=024
        [0x01] rec0=0e rec1=00 rec2=02 rec3=001
    tail 0x2176b8d0c895a7fc1d67a 0x42a00088462060003