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

⟦73d98298a⟧ Ada Source

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

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 Point_D_Arret is



    -- TYPES ----------------------------------------------------------------

    type T_Element is
        record
            Actif : Boolean := False;
            Position : Adresse.T_Adresse;
        end record;

    type T_Tab_Element is array (T_Taille_Liste) of T_Element;

    -- VARIABLES ------------------------------------------------------------

    Tab_Point_D_Arret : T_Tab_Element :=
       (others => (Actif => False, Position => 0));

    -- PROCEDURES -----------------------------------------------------------


    procedure Creer is
    begin
        for I in T_Taille_Liste loop
            Tab_Point_D_Arret (I).Actif := False;
            Tab_Point_D_Arret (I).Position := 0;
        end loop;
    end Creer;

    ----------------------------------------------

    procedure Mise_A_Jour_Liste
                 (Une_Adresse : Adresse.T_Adresse; Numero : T_Taille_Liste) is
    begin       Tab_Point_D_Arret (Numero).Actif := True;
        Tab_Point_D_Arret (Numero).Position := Une_Adresse;
    end Mise_A_Jour_Liste;


    ----------------------------------------------

    function Present (Une_Adresse : Adresse.T_Adresse) return Boolean is

    begin  
        for I in T_Taille_Liste loop
            if ((Tab_Point_D_Arret (I).Actif) and then
                (Tab_Point_D_Arret (I).Position = Une_Adresse)) then
                return True;
            end if;
        end loop;

        return False;

    end Present;




end Point_D_Arret;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=25 rec1=00 rec2=01 rec3=002
        [0x01] rec0=19 rec1=00 rec2=02 rec3=000
    tail 0x2150c961c823850387d99 0x42a00088462060003