|
|
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 Test_Com_Fifo_Recep, seg_054ea7
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Com_Storage_Recep, Com_Defs, Text_Io, Bounded_String;
procedure Test_Com_Fifo_Recep is
My_Appli_1 : Com_Defs.Com_Number;
My_Appli_2 : Com_Defs.Com_Number;
My_Chaine : Com_Defs.V_String;
Chaine_Out : Com_Defs.V_String;
Chaine_In : String (1 .. 11) := "greg norman";
Etat : Boolean := False;
begin
Com_Storage_Recep.Manager_Storage.New_Appli (My_Appli_1, Etat);
Text_Io.Put_Line (Integer'Image (My_Appli_1));
Com_Storage_Recep.Manager_Storage.New_Appli (My_Appli_2, Etat);
Text_Io.Put_Line (Integer'Image (My_Appli_2));
Bounded_String.Copy
(Bounded_String.Variable_String (Chaine_Out), Chaine_In);
Com_Storage_Recep.Manager_Storage.Write (My_Appli_1, Chaine_Out);
Chaine_In := "nick faldo ";
Bounded_String.Copy
(Bounded_String.Variable_String (Chaine_Out), Chaine_In);
Com_Storage_Recep.Manager_Storage.Write (My_Appli_2, Chaine_Out);
Chaine_In := "Steph baume";
Bounded_String.Copy (Bounded_String.Variable_String (Chaine_Out), Chaine_In);
Com_Storage_Recep.Manager_Storage.Write (My_Appli_2, Chaine_Out);
Chaine_In := "Vandevelve ";
Bounded_String.Copy
(Bounded_String.Variable_String (Chaine_Out), Chaine_In);
Com_Storage_Recep.Manager_Storage.Write (My_Appli_1, Chaine_Out);
Com_Storage_Recep.Manager_Storage.Read (My_Appli_1, My_Chaine, Etat);
Text_Io.Put_Line (Bounded_String.Image
(Bounded_String.Variable_String (My_Chaine)));
Com_Storage_Recep.Manager_Storage.Write (My_Appli_1, My_Chaine);
Com_Storage_Recep.Manager_Storage.Read (My_Appli_1, My_Chaine, Etat);
Text_Io.Put_Line (Bounded_String.Image
(Bounded_String.Variable_String (My_Chaine)));
Com_Storage_Recep.Manager_Storage.Read (My_Appli_2, My_Chaine, Etat);
Text_Io.Put_Line (Bounded_String.Image
(Bounded_String.Variable_String (My_Chaine)));
Com_Storage_Recep.Manager_Storage.Read (My_Appli_2, My_Chaine, Etat);
Text_Io.Put_Line (Bounded_String.Image
(Bounded_String.Variable_String (My_Chaine)));
Com_Storage_Recep.Manager_Storage.Read (My_Appli_1, My_Chaine, Etat);
Text_Io.Put_Line (Bounded_String.Image
(Bounded_String.Variable_String (My_Chaine)));
Com_Storage_Recep.Manager_Storage.Remove_Appli (My_Appli_1);
Com_Storage_Recep.Manager_Storage.Remove_Appli (My_Appli_2);
Com_Storage_Recep.Manager_Storage.New_Appli (My_Appli_2, Etat);
Text_Io.Put_Line (Integer'Image (My_Appli_2));
Com_Storage_Recep.Manager_Storage.Finish;
end Test_Com_Fifo_Recep;
nblk1=4
nid=4
hdr6=6
[0x00] rec0=18 rec1=00 rec2=01 rec3=002
[0x01] rec0=10 rec1=00 rec2=02 rec3=030
[0x02] rec0=0c rec1=00 rec2=03 rec3=000
[0x03] rec0=05 rec1=e1 rec2=bd rec3=142
tail 0x2175e358487b96c2c81c0 0x42a00088462060003
Free Block Chain:
0x4: 0000 00 00 02 43 80 2f 20 28 42 6f 75 6e 64 65 64 5f ┆ C / (Bounded_┆