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

⟦907457f63⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, function Swap_U_Char, seg_00563d

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 Xlbt_Arithmetic;  
use Xlbt_Arithmetic;

------------------------------------------------------------------------------
-- Data - Specifies the data to be byte-swapped.
--
-- If necessary, swap bytes in a U_Char_Array to match the internal
-- representation used on this machine.  The raw data array passed
-- should represent a single primitive item (E.g. a S_Long or U_Short).
------------------------------------------------------------------------------

--/ if Byte0_Sign_Byte then

function Swap_U_Char (Data : U_Char_Array) return U_Char_Array is  
begin  
    return Data;  
end Swap_U_Char;

--/ else
--//
--// function Swap_U_Char (Data : U_Char_Array) return U_Char_Array is
--//     Bias   : constant S_Natural := Data'Length + 1;
--//     Result : U_Char_Array (Data'Range);
--// begin
--//     for Index in Data'Range loop
--//         Result (Index) := Data (Bias - Index);
--//     end loop;
--//     return Result;
--// end Swap_Raw_Data;
--//
--/ end if;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1e rec1=00 rec2=01 rec3=02a
        [0x01] rec0=03 rec1=00 rec2=02 rec3=000
    tail 0x21500a39a81978d532d3d 0x42a00088462063203