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

⟦2acc02f03⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Outils, seg_03f390, seg_03f394

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 Text_Io;  
with Conversion;
package body Outils is

    procedure Affiche (Tab : System.Byte_String; Taille : Integer) is


    begin
        for I in Tab'Range loop  
            Text_Io.Put_Line
               (Conversion.Conversion_Integer_String_Hexa (Tab (I)));
        end loop;
    end Affiche;





    function Decompose (Tab : System.Byte_String; Min, Max : Integer)
                       return System.Byte_String is

        Result : System.Byte_String (0 .. Max - Min - 1);

    begin
        for I in 0 .. Max - Min - 1 loop
            Result (I) := Tab (I + Min);
        end loop;
        return (Result);
    end Decompose;




    procedure Compose (Tab : in out System.Byte_String;
                       Sous_Tab : in System.Byte_String;
                       Position : Integer) is
    begin
        for I in Sous_Tab'Range loop
            Tab (Position + I) := Sous_Tab (I);
        end loop;
    end Compose;


end Outils;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=2a rec1=00 rec2=01 rec3=014
        [0x01] rec0=04 rec1=00 rec2=02 rec3=001
    tail 0x21538e8d686076898bb88 0x42a00088462060003