|
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 - download
Length: 5120 (0x1400) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Ds1267, seg_05bb9d
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
with Byte_Tools; with Carte_Es; with Utils; package body Ds1267 is Tch : constant Duration := 0.1; --50 * Utils.Nano_Sec; Tcc : constant Duration := 0.1; --50 * Utils.Nano_Sec; Thlt : constant Duration := 0.1; --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 Byte_Tools; Valeur : Byte_Tools.Byte_As_Nuber := (Byte_Tools.Byte_As_Number (Max_Valeur) / Byte_Tools.Byte_As_Number (Utils.Pourcent'Last)) * Byte_Tools.Byte_As_Number (Vers); Actions : Byte_Tools.Byte_As_Array := Byte_Tools.To_Array (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;
nblk1=4 nid=0 hdr6=8 [0x00] rec0=1f rec1=00 rec2=01 rec3=04c [0x01] rec0=00 rec1=00 rec2=03 rec3=002 [0x02] rec0=17 rec1=00 rec2=02 rec3=016 [0x03] rec0=08 rec1=00 rec2=04 rec3=000 tail 0x2176b2eaa894e72c1a2eb 0x42a00088462060003