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

⟦3f4963b2a⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Pampam, seg_05a2e0

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 General_Defs;
with Port_Serie;  
with Text_Io;
procedure Pampam is  
    package Gd renames General_Defs;

    procedure Lecture (Car : General_Defs.Byte; N_Port : General_Defs.Port);
    procedure Ecriture (Car : out General_Defs.Byte;
                        N_Port : General_Defs.Port);

    package Ps is new Port_Serie (Vecteur_Interruption =>
                                     General_Defs.Valeur_Vecteur_It,
                                  Lecture => Lecture,
                                  Ecriture => Ecriture);

    procedure Lecture (Car : General_Defs.Byte; N_Port : General_Defs.Port) is
    begin
        Text_Io.Put_Line ("dans lecture => " & Natural'Image (Natural (Car)));
    end Lecture;

    procedure Ecriture (Car : out General_Defs.Byte;
                        N_Port : General_Defs.Port) is
    begin
        Text_Io.Put_Line ("dans ecriture");
        Car := 66;
    end Ecriture;


begin  
    Text_Io.Put_Line ("1");

    Ps.Initialiser (N_Port => Gd.Port_A,
                    Vitesse => Gd.Bd9600,
                    Parite => Gd.None,
                    Nb_Bit => 8,
                    Nb_Bit_Stop => 1);
    Text_Io.Put_Line ("2");

    Ps.Emission_Reception (Config => Ps.Eb);
    Text_Io.Put_Line ("3");

    Ps.Validation_It (Sorte => Ps.R_Ab);
    Text_Io.Put_Line ("4");

    --Ps.Envoi_Donnee_Par_It (Type_Port => Gd.Port_A);
    Text_Io.Put_Line ("5");

end Pampam;

pragma Main;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1f rec1=00 rec2=01 rec3=034
        [0x01] rec0=15 rec1=00 rec2=02 rec3=001
    tail 0x21769c08689249178e6c6 0x42a00088462060003