DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

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 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦0ad4468ee⟧ TextFile

    Length: 977 (0x3d1)
    Types: TextFile
    Names: »B«

Derivation

└─⟦85b835f43⟧ Bits:30000549 8mm tape, Rational 1000, Xlib rev 6.00
    └─ ⟦0c20f784e⟧ »DATA« 
        └─⟦1abbe589f⟧ 
            └─⟦49e7f20b9⟧ 
                └─⟦this⟧ 

TextFile

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;