|
|
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: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Magic_Strategy, seg_02fa58
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
procedure Magic_Strategy (Mysize : Magic.Max_Size) is
Mysquare : Magic.Square (Size => Mysize);
Counter : Magic.Token := 1;
begin
Magic.Go_To_Center (Mysquare);
Magic.Move (Mysquare, Magic.North);
Magic.Deposit (Mysquare, Counter);
while Integer (Counter) < Integer (Mysize) ** 2 loop
Counter := Magic.Token'Succ (Counter);
loop
Magic.Move (Mysquare, Magic.North);
Magic.Move (Mysquare, Magic.East);
if Magic.Cell_Busy (Mysquare) then
Magic.Move (Mysquare, Magic.North);
Magic.Move (Mysquare, Magic.West);
end if;
exit when not Magic.Cell_Busy (Mysquare);
end loop;
Magic.Deposit (Mysquare, Counter);
end loop;
Magic.Display (Mysquare);
end Magic_Strategy;
nblk1=2
nid=2
hdr6=2
[0x00] rec0=1b rec1=00 rec2=01 rec3=000
[0x01] rec0=04 rec1=00 rec2=02 rec3=001
tail 0x21528d1a48491857116b4 0x42a00088462060003
Free Block Chain:
0x2: 0000 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 2e ┆ .┆