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

⟦45f17fee4⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Bbr_Frames, seg_02d0be, seg_02d100, seg_0399c5, seg_03b8e4, seg_03c030, seg_03c461, seg_03c608, seg_03c93d, seg_04a904, seg_04b374

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 
└─⟦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 Bbr_Kbs;
with Output_Stream;
with Slot;

use Bbr_Kbs;
package Bbr_Frames is
    use Kbs;

    type Colours is (Blue, Green, Red);
    type States  is (Busy, Free);
    type Places  is (On_Heap, In_Box);

    package Colours_Facilities is new Slot.Enumeration_Facilities (Colours);
    package States_Facilities  is new Slot.Enumeration_Facilities (States);
    package Places_Facilities  is new Slot.Enumeration_Facilities (Places);

    Blue_Colour  : constant Slot.Object := Colours_Facilities.Value (Blue);
    Green_Colour : constant Slot.Object := Colours_Facilities.Value (Green);
    Red_Colour   : constant Slot.Object := Colours_Facilities.Value (Red);

    Busy_State : constant Slot.Object := States_Facilities.Value (Busy);
    Free_State : constant Slot.Object := States_Facilities.Value (Free);

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

    type Robot_Slots is (Colour, State, Identity);
    type Box_Slots   is (Colour, Size, State);
    type Ball_Slots  is (Colour, Size, Place);

    package Boxes is new Fact_Base.Generic_Class (Class_Name => Box,
                                                  Class_Size => 10,
                                                  Slot_Names => Box_Slots);



    package Balls is new Fact_Base.Generic_Class (Class_Name => Ball,
                                                  Class_Size => 10,
                                                  Slot_Names => Ball_Slots);


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

    procedure Put (The_Fact : Fact_Name; Where : Output_Stream.Object);
end Bbr_Frames;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1a rec1=00 rec2=01 rec3=090
        [0x01] rec0=17 rec1=00 rec2=02 rec3=001
    tail 0x21526103484154987e810 0x42a00088462063c03