|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, function Swap_Raw_Data, seg_00563b
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Xlbmt_Network_Types; use Xlbmt_Network_Types; ------------------------------------------------------------------------------ -- Data - Specifies the data to be byte-swapped. -- -- If necessary, swap bytes in a Raw_Data_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_Raw_Data (Data : X_Raw_Data_Array) return X_Raw_Data_Array is begin return Data; end Swap_Raw_Data; --/ else --// --// function Swap_Raw_Data (Data : X_Raw_Data_Array) return X_Raw_Data_Array is --// Bias : constant X_Raw_Data_Index := Data'Length + 1; --// Result : X_Raw_Data_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;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=1d rec1=00 rec2=01 rec3=008 [0x01] rec0=04 rec1=00 rec2=02 rec3=000 tail 0x21500a39681978d50e58c 0x42a00088462063203