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

⟦f3504d14b⟧ Ada Source

    Length: 7168 (0x1c00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Mb_Frames, seg_03c411, seg_03c4c8, seg_03c66f, seg_03c9a4, seg_04a972, seg_04b3e0

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



package body Mb_Frames is

    function Phys_Object_Image (Of_Slot : Slot.Object) return String is
        use Slot;
    begin  
        if Of_Slot = Bananas then
            return "bananas";
        elsif Of_Slot = Floor then
            return "floor";
        elsif Of_Slot = Blanket then
            return "blanket";
        elsif Of_Slot = Ladder then
            return "ladder";
        elsif Of_Slot = Couch then
            return "couch";
        elsif Of_Slot = Ceiling then
            return "ceiling";
        elsif Of_Slot = No_Object then
            return "no object";
        else
            return "";
        end if;
    end Phys_Object_Image;


    function Phys_Object_Weight_Image (Of_Slot : Slot.Object) return String is
        use Slot;
    begin
        if Of_Slot = Heavy then
            return "heavy";
        elsif Of_Slot = Light then
            return "light";
        else
            return "";
        end if;


    end Phys_Object_Weight_Image;


    function Goal_Types_Image (Of_Slot : Slot.Object) return String is
        use Slot;
    begin
        if Of_Slot = Goal_On then
            return "on";
        elsif Of_Slot = Goal_Holds then
            return "holds";
        elsif Of_Slot = Goal_At then
            return "at";
        else
            return "";
        end if;
    end Goal_Types_Image;


    function Goal_Status_Image (Of_Slot : Slot.Object) return String is
        use Slot;
    begin
        if Of_Slot = Satisfied then
            return "satisfied";
        elsif Of_Slot = Active then
            return "active";
        else
            return "";
        end if;
    end Goal_Status_Image;

end Mb_Frames;

E3 Meta Data

    nblk1=6
    nid=6
    hdr6=4
        [0x00] rec0=24 rec1=00 rec2=01 rec3=014
        [0x01] rec0=22 rec1=00 rec2=03 rec3=000
        [0x02] rec0=1a rec1=00 rec2=06 rec3=01e
        [0x03] rec0=15 rec1=00 rec2=04 rec3=000
        [0x04] rec0=10 rec1=00 rec2=02 rec3=000
        [0x05] rec0=10 rec1=00 rec2=02 rec3=001
    tail 0x2173a8f4285af681ba421 0x42a00088462063c03
Free Block Chain:
  0x6: 0000  00 04 00 1e 80 07 20 49 6d 61 67 65 3b 07 00 0e  ┆       Image;   ┆
  0x4: 0000  00 02 03 fc 80 0c 72 6e 20 53 74 72 69 6e 67 20  ┆      rn String ┆
  0x2: 0000  00 05 02 6e 80 15 20 4d 62 5f 4b 62 73 2e 4d 6f  ┆   n   Mb_Kbs.Mo┆
  0x5: 0000  00 00 00 05 80 02 73 2e 02 2d 2d 2d 2d 2d 2d 09  ┆      s. ------ ┆