|
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: 8192 (0x2000) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Expunge_F, package body Expunge_R, seg_02506f
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
with Communications; with Errors; with Files; with Interchange; with Mac_Files; with Mac_Path; with Mac_Types; with Mac_Text; with Osutils; with Rational_Error; with System; with Talk_Utils; with Text_Io; use Text_Io; with Unchecked_Conversion; package body Expunge_R is package Expunge_F is procedure Object_In (Name : Mac_Text.Text); procedure Options_In (Options : Mac_Text.Text); procedure End_Expunge; end Expunge_F; package body Expunge_F is procedure Object_In (Name : Mac_Text.Text) is begin null; end Object_In; procedure Options_In (Options : Mac_Text.Text) is begin null; end Options_In; procedure End_Expunge is begin null; end End_Expunge; end Expunge_F; procedure Read (A_Connection : in out Communications.Connection) is I : Mac_Types.Longint; B : Boolean; T : Mac_Text.Text (256); begin Put_Line ("expunge_r:read begin"); Interchange.Get_Int (A_Connection, I); if I /= Talk_Utils.F_Object then Rational_Error.Raise_Error (Rational_Error.Internal_Error); end if; Interchange.Get_Text (A_Connection, T); Expunge_F.Object_In (T); Put ("expunge_r:to file '"); for I in 1 .. Mac_Text.Length (T) loop Put (Character'Val (Mac_Types.Char'Pos (Mac_Text.Value (I, T)))); end loop; Put_Line ("'"); Interchange.Get_Int (A_Connection, I); if I /= Talk_Utils.F_Options then Rational_Error.Raise_Error (Rational_Error.Internal_Error); end if; Interchange.Get_Text (A_Connection, T); Expunge_F.Options_In (T); Interchange.Get_Int (A_Connection, I); if I /= Talk_Utils.F_Delimitor then Rational_Error.Raise_Error (Rational_Error.Internal_Error); end if; Interchange.Get_Int (A_Connection, I); if I /= Talk_Utils.R_Expunge then Rational_Error.Raise_Error (Rational_Error.Internal_Error); end if; Put_Line ("expunge_r:read end"); end Read; procedure Write (A_Connection : in out Communications.Connection) is begin Put_Line ("expunge_r:write begin"); begin Expunge_F.End_Expunge; exception when others => Rational_Error.Report (A_Connection, Talk_Utils.R_Expunge, Rational_Error.Get); end; Interchange.Put_Int (A_Connection, Talk_Utils.F_Delimitor); Interchange.Put_Int (A_Connection, Talk_Utils.R_Expunge); Put_Line ("expunge_r:write end"); end Write; end Expunge_R;
nblk1=7 nid=6 hdr6=6 [0x00] rec0=2e rec1=00 rec2=01 rec3=030 [0x01] rec0=18 rec1=00 rec2=07 rec3=054 [0x02] rec0=19 rec1=00 rec2=04 rec3=000 [0x03] rec0=0a rec1=00 rec2=06 rec3=000 [0x04] rec0=0a rec1=00 rec2=06 rec3=000 [0x05] rec0=19 rec1=00 rec2=06 rec3=000 [0x06] rec0=04 rec1=00 rec2=02 rec3=000 tail 0x217200506839f4a9cdec1 0x42a00088462060003 Free Block Chain: 0x6: 0000 00 05 01 90 80 0b 20 20 65 78 63 65 70 74 69 6f ┆ exceptio┆ 0x5: 0000 00 03 00 07 80 04 3d 20 4d 61 04 20 20 20 20 20 ┆ = Ma ┆ 0x3: 0000 00 02 02 ca 80 0b 2e 4e 6f 65 72 72 20 74 68 65 ┆ .Noerr the┆ 0x2: 0000 00 00 00 2b 80 1d 74 20 69 73 20 6e 65 77 20 55 ┆ + t is new U┆