|
|
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, procedure Test_Ll_8, seg_05c155, seg_05c2ab
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Low_Level_Io_8;
with Duart_2661;
procedure Test_Ll_8 is
task type Terminal is
entry Go (Nb : in Low_Level_Io_8.Port_Nb);
end Terminal;
Terms : array (Low_Level_Io_8.Port_Nb) of Terminal;
task body Terminal is
Port : Low_Level_Io_8.Object;
C : Duart_2661.Byte;
use Duart_2661;
begin
accept Go (Nb : in Low_Level_Io_8.Port_Nb) do
Port := Low_Level_Io_8.Open (Nb => Nb);
end Go;
loop
C := Low_Level_Io_8.Receive (Port => Port);
if C = Character'Pos ('f') then
exit;
end if;
Low_Level_Io_8.Send (Port => Port, Car => C);
end loop;
loop
if Low_Level_Io_8.Byte_Available (Port => Port) then
C := Low_Level_Io_8.Receive (Port => Port);
if C = Character'Pos ('f') then
exit;
end if;
Low_Level_Io_8.Send (Port => Port, Car => C);
else
delay 1.0;
end if;
end loop;
for I in 1 .. 10 loop
Low_Level_Io_8.Send (Port => Port, Car => C);
end loop;
end Terminal;
begin
Terms (2).Go (2);
Terms (5).Go (5);
end Test_Ll_8;
pragma Main;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=1e rec1=00 rec2=01 rec3=034
[0x01] rec0=0e rec1=00 rec2=02 rec3=001
tail 0x2176b8010895a6a088858 0x42a00088462060003