|
|
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: 5120 (0x1400)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Pilote, seg_050baa
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Com_Ihm;
with Choix_Trt;
with Trame_Ihm_68;
with Configurateur;
with Chargeur_Bdd;
with Gest_Buffer;
procedure Pilote is
type T_Action_En_Cours is (Debut, Phase_De_Config, Fonctionnement_Normal);
Action_En_Cours : T_Action_En_Cours := Debut;
procedure Aiguillage_Error is
Trame : Trame_Ihm_68.Object;
begin
Trame_Ihm_68.Create (O => Trame, Action => Trame_Ihm_68.Nack);
Com_Ihm.Ecriture (Trame_Ihm_68.Image (Trame));
end Aiguillage_Error;
procedure Aiguillage (S : String) is
use Trame_Ihm_68;
Trame : Trame_Ihm_68.Object;
begin
Trame := Trame_Ihm_68.Value (S);
case Action_En_Cours is
when Debut =>
if Get_Action (Trame) = Config then
Action_En_Cours := Phase_De_Config;
else
Aiguillage_Error;
end if;
when Phase_De_Config =>
case Get_Action (Trame) is
when Creation =>
Chargeur_Bdd.Creation_Bdd (Trame);
when Suppression =>
Chargeur_Bdd.Suppression_Bdd (Trame);
when Modification =>
Chargeur_Bdd.Modification_Bdd (Trame);
when Fin_Config =>
Configurateur.Programmation_Config;
Action_En_Cours := Fonctionnement_Normal;
when others =>
Aiguillage_Error;
end case;
when Fonctionnement_Normal =>
case Get_Action (Trame) is
when Config =>
Action_En_Cours := Phase_De_Config;
when Rapport =>
Gest_Buffer.Rapport_Cl35;
when others =>
Aiguillage_Error;
end case;
end case;
end Aiguillage;
begin
Com_Ihm.Initialisation;
loop
declare
S : constant String := Com_Ihm.Lecture;
begin
if S'Length = 0 then
exit;
else
Aiguillage (S);
end if;
end;
end loop;
end Pilote;
pragma Main;
nblk1=4
nid=4
hdr6=6
[0x00] rec0=23 rec1=00 rec2=01 rec3=01a
[0x01] rec0=15 rec1=00 rec2=03 rec3=030
[0x02] rec0=17 rec1=00 rec2=02 rec3=000
[0x03] rec0=04 rec1=a7 rec2=11 rec3=042
tail 0x2154afd42878f800b05f8 0x42a00088462060003
Free Block Chain:
0x4: 0000 00 00 01 85 80 0d 20 20 20 20 65 6e 64 20 63 61 ┆ end ca┆