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

⟦6609952ed⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Br_Frames, seg_04a0b6, seg_04a912, seg_04b382

Derivation

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

E3 Source Code



with Br_Kbs;
with Output_Stream;
with Slot;

package Br_Frames is


    type Places  is (On_Heap, In_Box, In_Pliers);
    type Actions is (Taking, Dropping);

    package Places_Facilities  is new Slot.Enumeration_Facilities (Places);
    package Actions_Facilities is new Slot.Enumeration_Facilities (Actions);


    On_Heap_Place   : constant Slot.Object := Places_Facilities.Value (On_Heap);
    In_Box_Place    : constant Slot.Object := Places_Facilities.Value (In_Box);
    In_Pliers_Place : constant Slot.Object :=
       Places_Facilities.Value (In_Pliers);

    Taking_Action   : constant Slot.Object := Actions_Facilities.Value (Taking);
    Dropping_Action : constant Slot.Object :=
       Actions_Facilities.Value (Dropping);


    type Brick_Slots is (Name, Size, Place);
    type Robot_Slots is (Action, Box);


    package Bricks is
       new Br_Kbs.Kbs.Fact_Base.Generic_Class (Class_Name => Br_Kbs.Brick,
                                               Class_Size => 30,
                                               Slot_Names => Brick_Slots);

    package Robots is
       new Br_Kbs.Kbs.Fact_Base.Generic_Class (Class_Name => Br_Kbs.Robot,
                                               Class_Size => 1,
                                               Slot_Names => Robot_Slots);


    procedure Put (The_Fact : Br_Kbs.Kbs.Fact_Name;
                   Where    : Output_Stream.Object);

end Br_Frames;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=20 rec1=00 rec2=01 rec3=040
        [0x01] rec0=0d rec1=00 rec2=02 rec3=001
    tail 0x2174e8980866c4f89b880 0x42a00088462063c03