DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦7ce566ea2⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Magic, seg_0318ab

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



package Magic is
    Borne_Sup : constant Natural := 999;
    subtype Size is Natural range 1 .. Borne_Sup;
    type Square (Dimension : Size) is private;
    procedure Display (Tab : in out Square);

private

    subtype Token is Natural range 0 .. Size'Last * Size'Last;


    type Matrix is array (Size range <>, Size range <>) of Token;

    type Direction is (North, East, West);
    subtype Line is Size;
    subtype Row is Size;
    type Square (Dimension : Size) is
        record  
            A : Matrix (Line range 1 .. Dimension, Row range 1 .. Dimension) :=
               (others => (others => 0));
            Current_Line : Line := Dimension / 2;
            Current_Row : Line := Dimension / 2 + 1;

        end record;

    procedure Walking (Tab : in out Square);


end Magic;

E3 Meta Data

    nblk1=2
    nid=2
    hdr6=2
        [0x00] rec0=1f rec1=00 rec2=01 rec3=000
        [0x01] rec0=01 rec1=00 rec2=02 rec3=001
    tail 0x2152a1b7e84be75f5db9c 0x42a00088462060003
Free Block Chain:
  0x2: 0000  00 00 00 03 00 00 00 01 00 00 00 00 00 00 00 67  ┆               g┆