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

⟦4fe6038a1⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Trace, seg_038c54, seg_03941a, seg_039568

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 Bounded_String;
with Text_Io;

package body Trace is

    procedure On is
    begin
        Active := True;
    end On;

    procedure Off is
    begin
        Active := False;
    end Off;

    procedure Display (What : Scanner.Lexeme) is
    begin  
        if Active then
            Text_Io.Put ("lexeme : ");
            Text_Io.Put_Line (Bounded_String.Image (What));
        end if;
    end Display;

    procedure Display (What : Scanner.Token) is
    begin
        if Active then
            Text_Io.Put ("token  : ");
            Text_Io.Put_Line (Scanner.Token'Image (What));
        end if;
    end Display;

    procedure Display (What : Object.Reference) is
    begin
        if Active then
            Text_Io.Put ("object : ");
            Text_Io.Put (Object.Class'Image (Object.Get_Class (What)));
            case Object.Get_Class (What) is
                when Object.Tortue | Object.Stylo | Object.Vide =>
                    Text_Io.Put_Line ("");
                when others =>
                    Text_Io.Put (" no ");
                    Text_Io.Put_Line (Integer'Image (Object.Get_Id (What)));
            end case;
        end if;
    end Display;

    procedure Display (What : String; Always : Boolean := False) is
    begin
        if Active or Always then
            Text_Io.Put_Line (What);
        end if;
    end Display;

end Trace;


E3 Meta Data

    nblk1=4
    nid=3
    hdr6=4
        [0x00] rec0=28 rec1=00 rec2=01 rec3=00c
        [0x01] rec0=12 rec1=00 rec2=04 rec3=000
        [0x02] rec0=0f rec1=00 rec2=03 rec3=000
        [0x03] rec0=08 rec1=00 rec2=04 rec3=000
    tail 0x21531ca4a84e8462b496b 0x42a00088462060003
Free Block Chain:
  0x3: 0000  00 02 00 5d 80 1c 20 20 20 20 54 65 78 74 5f 49  ┆   ]      Text_I┆
  0x2: 0000  00 00 00 06 80 03 20 28 22 03 74 5f 49 6f 2e 50  ┆       (" t_Io.P┆