|
|
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, package body Link, seg_044f7c
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Text_Io, Complement_Identifier_Array;
package body Link is
procedure Put (Item : in out Object;
Name, Start_Place, Start_Direction,
Next_Place, Next_Direction : in Positive) is
begin
Item.Name := Name;
Escape.Put (Item.Start_Escape, Start_Place, Start_Direction);
Escape.Put (Item.Next_Escape, Next_Place, Next_Direction);
end Put;
-- procedure Put_enumerate (Item : in out Object;enumeration,literal : in positive) is
-- begin
-- item.enumeration := enumeration;
-- item.literal := literal;
-- end;
-- procedure Put_Start_Escape (Item : in out Object;
-- Place, Direction : in Positive) is
--
-- begin
-- Escape.Put_Place (Item.Start_Escape, Place, Direction);
-- end Put_Start_Escape;
--
-- procedure Put_Next_Escape (Item : in out Object;
-- Place, Direction : in Positive) is
--
-- begin
-- Escape.Put (Item.Next_Escape, Place, Direction);
-- end Put_Next_Escape;
procedure Show (Item : in Object) is
begin
Text_Io.Put_Line ("Link : Name : " &
Complement_Identifier_Array.Image (Name (Item)));
Text_Io.Put_Line ("Start :");
Escape.Show (Item.Start_Escape);
Text_Io.Put_Line ("Destination :");
Escape.Show (Item.Next_Escape);
end Show;
function Key (Item : in Object) return String is
begin
return Complement_Identifier_Array.Image (Start_Direction (Item));
end Key;
function Name (Item : in Object) return Natural is
begin
return Item.Name;
end Name;
-- function Enumeration (Item : in Object) return Natural is
-- begin
-- return item.enumeration;
-- end;
-- function Literal (Item : in Object) return Natural is
-- begin
-- return item.literal;
-- end;
function Start_Direction (Item : in Object) return Natural is
begin
return Escape.Direction (Item.Start_Escape);
end Start_Direction;
function Next_Direction (Item : in Object) return Natural is
begin
return Escape.Direction (Item.Next_Escape);
end Next_Direction;
function Start_Place (Item : in Object) return Natural is
begin
return Escape.Place (Item.Start_Escape);
end Start_Place;
function Next_Place (Item : in Object) return Natural is
begin
return Escape.Place (Item.Next_Escape);
end Next_Place;
end Link;
nblk1=4
nid=4
hdr6=6
[0x00] rec0=1e rec1=00 rec2=01 rec3=05e
[0x01] rec0=26 rec1=00 rec2=02 rec3=008
[0x02] rec0=1c rec1=00 rec2=03 rec3=000
[0x03] rec0=04 rec1=0a rec2=a2 rec3=642
tail 0x21746514286493a0cbe25 0x42a00088462060003
Free Block Chain:
0x4: 0000 00 00 02 38 80 2a 74 75 72 6e 20 45 73 63 61 70 ┆ 8 *turn Escap┆