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

⟦e5f673afd⟧ Ada Source

    Length: 6144 (0x1800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Bbs_Facts, seg_011f27

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



with Slot, New_Ball, New_Box, New_Sticker, Constant_Colours;  
with Ball_Features, Box_Features, Sticker_Features;
package body Bbs_Facts is

    procedure Create is
        use Ball_Features, Box_Features, Sticker_Features;
    begin
        New_Ball.Add (With_Values => (Size   => Slot.Value (10),
                                      Colour => Constant_Colours.Red,
                                      Place  => In_The_Heap,
                                      Weight => Slot.Value (10)));
        New_Ball.Add (With_Values => (Size   => Slot.Value (20),
                                      Colour => Constant_Colours.Green,
                                      Place  => In_The_Heap,
                                      Weight => Slot.Value (10)));
        New_Ball.Add (With_Values => (Size   => Slot.Value (34),
                                      Colour => Constant_Colours.Green,
                                      Place  => In_The_Heap,
                                      Weight => Slot.Value (10)));
        New_Ball.Add (With_Values => (Size   => Slot.Value (45),
                                      Colour => Constant_Colours.Blue,
                                      Place  => In_The_Heap,
                                      Weight => Slot.Value (10)));
        New_Ball.Add (With_Values => (Size   => Slot.Value (45),
                                      Colour => Constant_Colours.Blue,
                                      Place  => In_The_Heap,
                                      Weight => Slot.Value (10)));
        New_Ball.Add (With_Values => (Size   => Slot.Value (45),
                                      Colour => Constant_Colours.White,
                                      Place  => In_The_Heap,
                                      Weight => Slot.Value (10)));
        New_Ball.Add (With_Values => (Size   => Slot.Value (600),
                                      Colour => Constant_Colours.Yellow,
                                      Place  => In_The_Heap,
                                      Weight => Slot.Value (10)));
        New_Box.Add (With_Values => (Size  => Slot.Value (21),
                                     State => State_Slot_Box.Value (Is_Empty)));
        New_Box.Add (With_Values => (Size  => Slot.Value (15),
                                     State => State_Slot_Box.Value (Is_Empty)));
        New_Box.Add (With_Values => (Size  => Slot.Value (35),
                                     State => State_Slot_Box.Value (Is_Empty)));
        New_Box.Add (With_Values => (Size  => Slot.Value (48),
                                     State => State_Slot_Box.Value (Is_Empty)));
        New_Sticker.Add (With_Values =>
                            (Colour => Constant_Colours.Red,
                             State  => State_Slot_Sticker.Value (Is_Unused)));
        New_Sticker.Add (With_Values =>
                            (Colour => Constant_Colours.Green,
                             State  => State_Slot_Sticker.Value (Is_Unused)));
        New_Sticker.Add (With_Values =>
                            (Colour => Constant_Colours.Blue,
                             State  => State_Slot_Sticker.Value (Is_Unused)));
    end Create;


    procedure Delete is
        use Ball_Features, Box_Features, Sticker_Features;
    begin
        New_Ball.Clear;
        New_Box.Clear;
        New_Sticker.Clear;
    end Delete;


end Bbs_Facts;

E3 Meta Data

    nblk1=5
    nid=2
    hdr6=8
        [0x00] rec0=14 rec1=00 rec2=01 rec3=01e
        [0x01] rec0=0f rec1=00 rec2=05 rec3=006
        [0x02] rec0=0f rec1=00 rec2=03 rec3=006
        [0x03] rec0=11 rec1=00 rec2=04 rec3=000
        [0x04] rec0=01 rec1=ea rec2=08 rec3=3af
    tail 0x2150d3b9482467352587a 0x42a00088462063c03
Free Block Chain:
  0x2: 0000  00 00 00 0c 80 09 61 6c 75 65 20 28 34 35 29 09  ┆      alue (45) ┆