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

⟦c20809c34⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Duart_68681, seg_05c0c7, seg_05c29c

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



with V_Bits;
package body Duart_68681 is
    It_Tx : array (Port_Name) of Boolean := (others => False);
    It_Rx : array (Port_Name) of Boolean := (others => True);

    Cste_It_Rx_A : constant Integer := 2#0000_0010#;
    Cste_It_Tx_A : constant Integer := 2#0000_0001#;
    Cste_It_Rx_B : constant Integer := 2#0010_0000#;
    Cste_It_Tx_B : constant Integer := 2#0001_0000#;

    Cste_No_It : constant Integer := 2#0000_0000#;

    It_Rx_A : constant array (Boolean) of Integer :=
       (False => Cste_No_It, True => Cste_It_Rx_A);
    It_Tx_A : constant array (Boolean) of Integer :=
       (False => Cste_No_It, True => Cste_It_Tx_A);
    It_Rx_B : constant array (Boolean) of Integer :=
       (False => Cste_No_It, True => Cste_It_Rx_B);
    It_Tx_B : constant array (Boolean) of Integer :=
       (False => Cste_No_It, True => Cste_It_Tx_B);

    function Get_Int (Name : in Port_Name; Tx : in Boolean; Rx : in Boolean)
                     return Byte is
        B : Integer := 0;
    begin  
        It_Tx (Name) := Tx;
        It_Rx (Name) := Rx;
        B := V_Bits.Bit_Or (It_Rx_A (It_Rx (Port_A)), It_Tx_A (It_Tx (Port_A)));
        B := V_Bits.Bit_Or (B, It_Rx_B (It_Rx (Port_B)));
        B := V_Bits.Bit_Or (B, It_Tx_B (It_Tx (Port_B)));
        return Byte (B);
    end Get_Int;
end Duart_68681;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=19 rec1=00 rec2=01 rec3=004
        [0x01] rec0=0a rec1=00 rec2=02 rec3=001
    tail 0x2176b791e895a4d9cf378 0x42a00088462060003