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

⟦44bdedb54⟧ Ada Source

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

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 Com_Cl35;  
with Conversion;
with Config_Cl35;
with Lecteur_68;
with Parametre_68;
with Site_68;
with General_Defs;
with Text_Io;

procedure Test_Com is

    Parametre : Parametre_68.Object;
    Site : Site_68.Object;
    Lecteur3, Lecteur4 : Lecteur_68.Object;

begin

    Parametre_68.Create (O => Parametre,
                         Tempo => 10,
                         Apb => Parametre_68.Inactif,
                         Veille => Parametre_68.En_Service,
                         Entree_Tor => Parametre_68.Contact,
                         Evenement => Parametre_68.Tous);

    Site_68.Create (O => Site, N => 60);

    Lecteur_68.Create
       (O => Lecteur3, Numero => 3, Site => Site, Parametre => Parametre);
    Lecteur_68.Create
       (O => Lecteur4, Numero => 4, Site => Site, Parametre => Parametre);

    declare
        Beep3 : constant General_Defs.Byte_String :=
           Config_Cl35.Cl35_Beep (Lecteur3);
        Beep4 : constant General_Defs.Byte_String :=
           Config_Cl35.Cl35_Beep (Lecteur4);
    begin
        Com_Cl35.Ecriture (Beep3);
        declare
            Bs : constant General_Defs.Byte_String := Com_Cl35.Lecture;
        begin
            Text_Io.Put_Line (Conversion.Image_Hex (Bs));
        end;
        Com_Cl35.Ecriture (Beep4);
        declare
            Bs : constant General_Defs.Byte_String := Com_Cl35.Lecture;
        begin
            Text_Io.Put_Line (Conversion.Image_Hex (Bs));
        end;
    end;
end Test_Com;

pragma Main;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=24 rec1=00 rec2=01 rec3=016
        [0x01] rec0=13 rec1=00 rec2=02 rec3=001
    tail 0x2154a93848778494c9d7e 0x42a00088462060003