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

⟦5a54cc16c⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_Interface, seg_01c8b6

Derivation

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

E3 Source Code



with Logger_Interface;
with Xt_Interface;
procedure Test_Interface is

    I : Integer := 0;

    task Adder is
        --  pragma Os_Task (0);
        entry Start;
    end Adder;

    -- task Main_Loop is
    --     pragma Os_Task (0);
    --     entry Start;
    -- end Main_Loop;

    -- task body Main_Loop is
    -- begin
    --     accept Start;
    --     loop
    --         Xt_Interface.Next_Event;
    --         Xt_Interface.Dispatch_Event;
    --     end loop;
    -- end Main_Loop;
    --
    --
    task body Adder is
    begin
        accept Start;
        loop
            Logger_Interface.Put (Message => Integer'Image (I));
            I := I + 1;
            delay 1.0;  
        end loop;
    end Adder;

begin
    Logger_Interface.Init;  
    Logger_Interface.Put (Message => "c'est parti");  
    Adder.Start;
    loop
        Xt_Interface.Next_Event;
        Xt_Interface.Dispatch_Event;
    end loop;nd Test_Interface;
pragma Main;

E3 Meta Data

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