|
|
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: 2048 (0x800)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package Magic, seg_02fa53
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
package Magic is
type Max_Size is range 1 .. 999;
type Square (Size : Max_Size) is limited private;
type Direction is (North, South, East, West);
type Token is range 0 .. Max_Size'Last ** 2;
procedure Go_To_Center (S : in Square);
procedure Move (S : in Square; D : in Direction);
procedure Deposit (S : in out Square; T : in Token);
function Cell_Busy (S : in Square) return Boolean;
procedure Display (S : in Square);
private
type Table is array (Max_Size range <>, Max_Size range <>) of Token;
type Square (Size : Max_Size) is
record
T : Table (1 .. Size, 1 .. Size) := (1 .. Size => (1 .. Size => 0));
end record;
end Magic;
nblk1=1
nid=0
hdr6=2
[0x00] rec0=16 rec1=00 rec2=01 rec3=000
tail 0x21528d0f28491852d0e37 0x42a00088462060003