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

⟦96a214cc2⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Ds1267, seg_05ac6f

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 Bit_Utilitaires;
with Carte_Es;
with Defined_Type;
with Utils;  
package body Ds1267 is

    Tch : constant Duration := 50 * Utils.Nano_Sec;
    Tcc : constant Duration := 50 * Utils.Nano_Sec;
    Thlt : constant Duration := 50 * Utils.Nano_Sec;

    function Creer (Horloge : in Carte_Es.Numero_Sortie;
                    Donnee : in Carte_Es.Numero_Sortie;
                    Reset : in Carte_Es.Numero_Sortie) return Objet is
    begin
        return Objet'(Horloge => Horloge, Donnee => Donnee, Reset => Reset);
    end Creer;


    procedure Top (Un_Objet : in Objet) is
    begin
        Carte_Es.Activer (Sortie_Numero => Un_Objet.Horloge);
        delay Tch;
        Carte_Es.Desactiver (Sortie_Numero => Un_Objet.Horloge);
    end Top;


    procedure Fixer (Un_Objet : in Objet;
                     Depuis : in out Utils.Pourcent;
                     Vers : in Utils.Pourcent) is
        use Defined_Type;
        Valeur : Defined_Type.Octet :=
           (Defined_Type.Octet (Max_Valeur) /
            Defined_Type.Octet (Utils.Pourcent'Last)) *
           Defined_Type.Octet (Vers);
        Actions : Bit_Utilitaires.Octet :=
           Bit_Utilitaires.Nombre_Vers_Tableau (Valeur);
    begin
        Carte_Es.Activer (Sortie_Numero => Un_Objet.Reset);
        delay Tcc;
        Carte_Es.Activer (Sortie_Numero => Un_Objet.Donnee);
        Top (Un_Objet => Un_Objet);
        for I in Actions'Range loop
            if Actions (I) then
                Carte_Es.Activer (Sortie_Numero => Un_Objet.Donnee);
            else
                Carte_Es.Desactiver (Sortie_Numero => Un_Objet.Donnee);
            end if;
            Top (Un_Objet => Un_Objet);
        end loop;
        for I in Actions'Range loop
            if Actions (I) then
                Carte_Es.Activer (Sortie_Numero => Un_Objet.Donnee);
            else
                Carte_Es.Desactiver (Sortie_Numero => Un_Objet.Donnee);
            end if;
            Top (Un_Objet => Un_Objet);
        end loop;
        delay Thlt;
        Carte_Es.Desactiver (Sortie_Numero => Un_Objet.Reset);
        Depuis := Vers;
    end Fixer;
end Ds1267;

E3 Meta Data

    nblk1=4
    nid=2
    hdr6=6
        [0x00] rec0=20 rec1=00 rec2=01 rec3=03a
        [0x01] rec0=18 rec1=00 rec2=04 rec3=006
        [0x02] rec0=08 rec1=00 rec2=03 rec3=000
        [0x03] rec0=06 rec1=a3 rec2=c4 rec3=342
    tail 0x2176a499c893a4b7ae8ef 0x42a00088462060003
Free Block Chain:
  0x2: 0000  00 00 00 d5 80 01 3b 01 00 27 20 20 20 20 20 20  ┆      ;  '      ┆