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

⟦f4d4d6e99⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Xlbt_String16, seg_004ff2

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 Unchecked_Deallocation;

with Xlbt_Arithmetic;  
use Xlbt_Arithmetic;

with Xlbmt_Parameters;  
use Xlbmt_Parameters;

package Xlbt_String16 is
------------------------------------------------------------------------------
-- X Library 16-bit character types
--
-- Xlbt_String16 - Extended 16-bit character types
------------------------------------------------------------------------------
-- Copyright 1989 - 1991 by Rational, Santa Clara, California.
-- Copyright 1985 - 1989 by the Massachusetts Institute of Technology
--
--                  All Rights Reserved.
--
-- Permission to use, copy, modify, and distribute this software and its
-- documentation for any purpose and without fee is hereby granted,
-- provided that the above copyright notice(s) appear in all copies and that
-- both that copyright notice(s) and this permission notice appear in
-- supporting documentation, and that the names of MIT or Rational not be
-- used in advertising or publicity pertaining to distribution of the software
-- without specific, written prior permission.
--
-- MIT and Rational disclaim all warranties with regard to this software,
-- including all implied warranties of merchantability and fitness, in no
-- event shall MIT or Rational be liable for any special, indirect or
-- consequential damages or any damages whatsoever resulting from loss of use,
-- data or profits, whether in an action of contract, negligence or other
-- tortious action, arising out of or in connection with the use or performance
-- of this software.
------------------------------------------------------------------------------

--\x0c
    ------------------------------------------------------------------------------
-- X_Character16
------------------------------------------------------------------------------

    type X_Character16 is  
        record        -- normal 16 bit characters are two bytes
            Char1 : U_Char;  
            Char2 : U_Char;  
        end record;

--/ if Length_Clauses then
    for X_Character16'Size use 16;
--/ end if;

--/ if Record_Rep_Clauses then
--//
--//     for X_Character16 use
--//         record
--//             Char1 at 0 * X_Word range X_Byte0a .. X_Byte0b;
--//             Char2 at 0 * X_Word range X_Byte1a .. X_Byte1b;
--//         end record;
--//
--/ end if;

------------------------------------------------------------------------------
-- X_String16
-- 16-bit character string types
------------------------------------------------------------------------------

    type X_String16 is array (S_Natural range <>) of X_Character16;

    type X_String16_Pointer is access X_String16;

--/ if Pack then
--//     pragma Pack (X_String16);
--/ end if;
--/ if Enable_Deallocation then
    pragma Enable_Deallocation (X_String16_Pointer);
--/ end if;

    procedure Free_X_String16_Pointer is  
       new Unchecked_Deallocation (X_String16,  
                                   X_String16_Pointer);

end Xlbt_String16;  

E3 Meta Data

    nblk1=4
    nid=0
    hdr6=8
        [0x00] rec0=1a rec1=00 rec2=01 rec3=036
        [0x01] rec0=14 rec1=00 rec2=02 rec3=022
        [0x02] rec0=22 rec1=00 rec2=03 rec3=060
        [0x03] rec0=04 rec1=00 rec2=04 rec3=000
    tail 0x2150097188197852bc25b 0x42a00088462063203