|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Point_D_Arret, seg_020ef3
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
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;
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