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

⟦899e9abe0⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Desktop, seg_0201e1

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 Counter;
with Logger_Interface;
with Text_Io;
with Xt_Interface;
package body Desktop is

    -- task Display is
    --     entry Put (M : String);
    -- end Display;
    --
    -- task Counter is
    --     entry Start;
    --     pragma Os_Task (0);
    -- end Counter;
    --
    -- task Main_Loop is
    --     entry Start;
    --     pragma Os_Task (0);
    -- end Main_Loop;

    -- task body Counter is
    --     I : Integer := 0;
    -- begin
    --     accept Start;
    --     loop
    --         Logger_Interface.Put (Integer'Image (I));
    --         delay 1.0;
    --     end loop;
    -- end Counter;
    --
    --
    -- task body Main_Loop is
    -- begin
    --     accept Start;
    --     loop
    --         Xt_Interface.Next_Event;
    --         Xt_Interface.Dispatch_Event;
    --     end loop;
    -- end Main_Loop;

    -- task body Display is
    -- begin
    --     accept Put (M : String) do
    --         Text_Io.Put_Line (M);
    --     end Put;
    -- end Display;

    procedure Image (I : Integer) is
    begin
        Logger_Interface.Put (Integer'Image (I));
    end Image;

    package C is new Counter (Image);

    procedure Start is
    begin
        Logger_Interface.Init;  
        Logger_Interface.Put ("c'est_parti");
        C.Create;
        C.Start;
        -- Main_Loop.Start;
        -- delay Duration'Last;

        loop

            declare
                S : constant String := Logger_Interface.Get_Message;
            begin
                Text_Io.Put_Line ("main loop: s = " & S);
            end;
            Xt_Interface.Next_Event;
            Xt_Interface.Dispatch_Event;
        end loop;
    end Start;

end Desktop;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=2c rec1=00 rec2=01 rec3=04a
        [0x01] rec0=22 rec1=00 rec2=02 rec3=001
    tail 0x2151c2aec83896fe1a499 0x42a00088462060003