|
|
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 Rotateur, seg_05babc
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Carte_Es;
package body Rotateur is
Attente : Duration := 0.2;
function Creer (Le_Sens : in Carte_Es.Numero_Sortie;
Le_Front : in Carte_Es.Numero_Sortie) return Objet is
begin
return Objet'(Sens => Le_Sens, Front => Le_Front);
end Creer;
procedure Augmenter (Un_Objet : in out Objet; De : in Natural := 1) is
begin
Carte_Es.Desactiver (Sortie_Numero => Un_Objet.Sens);
delay (Attente);
for I in 1 .. De loop
Carte_Es.Activer (Sortie_Numero => Un_Objet.Front);
delay (Attente);
Carte_Es.Desactiver (Sortie_Numero => Un_Objet.Front);
delay (Attente);
end loop;
end Augmenter;
procedure Diminuer (Un_Objet : in out Objet; De : in Natural := 1) is
begin
Carte_Es.Activer (Sortie_Numero => Un_Objet.Sens);
delay (Attente);
for I in 1 .. De loop
Carte_Es.Activer (Sortie_Numero => Un_Objet.Front);
delay (Attente);
Carte_Es.Desactiver (Sortie_Numero => Un_Objet.Front);
delay (Attente);
end loop;
Carte_Es.Desactiver (Sortie_Numero => Un_Objet.Sens);
end Diminuer;
end Rotateur;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=20 rec1=00 rec2=01 rec3=048
[0x01] rec0=08 rec1=00 rec2=02 rec3=001
tail 0x2176b212c894d7d270b93 0x42a00088462060003