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

⟦7fd736bb4⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Low_Level_Io_2, seg_05c0b8, seg_05c2a0

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 Duart_68681;
package Low_Level_Io_2 is

    type Object is private;

    function Open (Name : in Duart_68681.Port_Name;
                   S : in Duart_68681.Stop_Bit := Duart_68681.Stop_Bit_1;
                   P : in Duart_68681.Parity := Duart_68681.Parity_None;
                   C : in Duart_68681.Car_Length :=
                      Duart_68681.Car_Length_8_Bit;
                   B : in Duart_68681.Baud_Rate := Duart_68681.Baud_Rate_9600)
                  return Object;

    function Byte_Available (Port : in Object) return Boolean;

    function Receive (Port : in Object) return Duart_68681.Byte;

    procedure Send (Port : in Object; Car : in Duart_68681.Byte);

    procedure Close (Port : in Object);

private
    Max_Index_Infos : constant := 50;
    type Index_Infos is range 1 .. Max_Index_Infos;
    type Infos is array (Index_Infos) of Duart_68681.Byte;

    type Port_Infos is
        record
            Name : Duart_68681.Port_Name;
            Regs : Duart_68681.Acc_Channel := null;
            Bit_It_Tx, Bit_It_Rx : Duart_68681.Byte_Index;
            Tx_Ready : Boolean := True;
            Rx_Ready : Boolean := False;
            Car : Duart_68681.Byte;
        end record;
    type Object is access Port_Infos;
end Low_Level_Io_2;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1e rec1=00 rec2=01 rec3=044
        [0x01] rec0=09 rec1=00 rec2=02 rec3=001
    tail 0x2176b783c895a4ce00eb0 0x42a00088462060003