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

⟦2b5b0448d⟧ Ada Source

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

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 Carte_Es;
with Utils;
package body X9312 is
    Tci : constant Duration := 0.1; --200 * Utils.Nano_Sec;
    Ti_L : constant Duration := 0.1; --2 * Utils.Micro_Sec;
    Ti_H : constant Duration := 0.1; --2 * Utils.Micro_Sec;
    Tic : constant Duration := 0.1; --2 * Utils.Micro_Sec;
    T_Instruction : constant Duration := 0.1;

    function Creer (Front : in Carte_Es.Numero_Sortie;
                    Variation : in Carte_Es.Numero_Sortie;
                    Selection : in Carte_Es.Numero_Sortie) return Objet is
    begin
        return Objet'(Front => Front,
                      Variation => Variation,
                      Selection => Selection);
    end Creer;


    procedure Fixer (Un_Objet : in Objet;
                     Depuis : in out Utils.Pourcent;
                     Vers : in Utils.Pourcent) is  
        Nb_Impulsions : Utils.Pourcent;  
        use Utils;
    begin
        if Depuis < Vers then
            Carte_Es.Desactiver (Sortie_Numero => Un_Objet.Variation);
            Nb_Impulsions := Vers - Depuis;
        else
            Carte_Es.Activer (Sortie_Numero => Un_Objet.Variation);
            Nb_Impulsions := Depuis - Vers;
        end if;
        Carte_Es.Activer (Sortie_Numero => Un_Objet.Selection);
        delay Tci;
        for I in 1 .. Nb_Impulsions loop
            Carte_Es.Desactiver (Sortie_Numero => Un_Objet.Front);
            delay Ti_L;
            Carte_Es.Activer (Sortie_Numero => Un_Objet.Front);
            delay Ti_H;
        end loop;
        delay Tic;
        Carte_Es.Desactiver (Sortie_Numero => Un_Objet.Variation);
        delay T_Instruction;
        Carte_Es.Desactiver (Sortie_Numero => Un_Objet.Front);
        delay T_Instruction;
        Carte_Es.Desactiver (Sortie_Numero => Un_Objet.Selection);
        delay T_Instruction;
        Depuis := Vers;
    end Fixer;
end X9312;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1c rec1=00 rec2=01 rec3=040
        [0x01] rec0=18 rec1=00 rec2=02 rec3=001
    tail 0x2176b7cd6895a5f1d4ba4 0x42a00088462060003