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

⟦d9206603b⟧ Ada Source

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

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



package body Construction_Messages_Cl35 is
    function Construire_Message (Numero_Lecteur : Octet; Code : Tableau_Octets)
                                return Tableau_Octets is
        Mess : Message;
        Lg : Octet;
    begin
        Ajouter_Element_Dans_Message (Mess, Debut_Trame);
        Ajouter_Element_Dans_Message (Mess, Numero_Lecteur);
        Lg := Longueur_Code_Message (Code);
        Ajouter_Element_Dans_Message (Mess, (Lg / 100));
        Ajouter_Element_Dans_Message (Mess, (Lg mod 100));
        Ajouter_Element_Dans_Message (Mess, Code);
        Ajouter_Element_Dans_Message (Mess, Fin_Trame);


        return Convertir_Message_Tableau (Mess);
    end Construire_Message;


    function Construire_Message
                (Numero_Lecteur : Octet; Code : Octet) return Tableau_Octets is

        Mess : Message;
        Lg : Octet;
    begin  
        Ajouter_Element_Dans_Message (Mess, Debut_Trame);
        Ajouter_Element_Dans_Message (Mess, Numero_Lecteur);
        Lg := Longueur_Code_Message (Code);
        Ajouter_Element_Dans_Message (Mess, (Lg / 100));
        Ajouter_Element_Dans_Message (Mess, (Lg mod 100));
        Ajouter_Element_Dans_Message (Mess, Code);
        Ajouter_Element_Dans_Message (Mess, Fin_Trame);

        return Convertir_Message_Tableau (Mess);
    end Construire_Message;
end Construction_Messages_Cl35;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1c rec1=00 rec2=01 rec3=044
        [0x01] rec0=0a rec1=00 rec2=02 rec3=001
    tail 0x2153c92f2862676534c8e 0x42a00088462060003