|
|
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: 6144 (0x1800)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Info, seg_03f4a6
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Device_Independent_Io;
with Io;
with System;
with Io_Exceptions;
with Terminal_Specific;
with Text_Io;
with Sequential_Io;
with Unchecked_Conversion;
with Window_Io;
with Draw_Box;
use Io;
use Text_Io;
use Window_Io;
use Io_Exceptions;
procedure Info is
package Dio renames Device_Independent_Io;
package Ts renames Terminal_Specific;
package Tio renames Text_Io;
subtype Bs is System.Byte_String;
F_Out : Ts.File_Type;
F_In : Ts.File_Type;
W_Out : Window_Io.File_Type;
W_Access : Window_Io.File_Mode;
Buf : Bs (1 .. 20);
B : System.Byte;
Buf1 : String (1 .. 256);
Cnt : Natural;
Beep_4 : constant Bs := (16#01#, 16#04#, 16#00#, 16#01#,
16#2C#, 16#F1#, 16#F2#);
Beep_3 : constant Bs := (16#01#, 16#03#, 16#00#, 16#01#,
16#2C#, 16#F1#, 16#F2#);
Site_00 : constant Bs := (16#01#, 16#03#, 16#00#, 16#04#, 16#27#,
16#00#, 16#00#, 16#00#, 16#F1#, 16#F2#);
Horloge_00 : constant Bs := (16#01#, 16#04#, 16#00#, 16#04#, 16#23#,
16#02#, 16#04#, 16#08#, 16#F1#, 16#F2#);
Rapport_Site : constant Bs :=
(16#01#, 16#03#, 16#00#, 16#01#, 16#28#, 16#F1#, 16#F2#);
Rapport_Evenement : constant Bs :=
(16#01#, 16#03#, 16#00#, 16#01#, 16#1D#, 16#F1#, 16#F2#);
Rapport_Horloge : constant Bs :=
(16#01#, 16#04#, 16#00#, 16#01#, 16#24#, 16#F1#, 16#F2#);
-- subtype Positive_Count is Positive range 1 .. Positive'Last;
Compteur : Natural;
begin
-- Window_Io.Create
-- (W_Out, Mode => Window_Io.File_Mode'Last, Name => "ToTo", Form => "");
-- Window_Io.Open (File => W_Out,
-- Mode => Window_Io.File_Mode'Last,
-- Name => "ToTo",
-- Form => "");
Dio.Open (File => F_Out,
Mode => Dio.Out_File,
Name => "!machine.devices.terminal_16",
Form => "");
Dio.Write (F_Out, Rapport_Evenement);
Dio.Close (File => F_Out);
Dio.Open (File => F_In,
Mode => Dio.In_File,
Name => "!machine.devices.terminal_16",
Form => "");
Ts.Input.Set_Editing (File => F_In, Mode => "None");
Ts.Input.Set_Echo (File => F_In, Echo => False);
-- Draw_Box (W_Out, 2, 40, 10, 10);
for I in 1 .. 4 loop
Dio.Read (F_In, B);
Text_Io.Put (Natural'Image (Natural (B)));
end loop;
Text_Io.Put_Line (" Boucle 1 terminee ");
for I in 1 .. 20 loop
Dio.Read (F_In, B);
-- Window_Io.Overwrite (File => W_Out,
-- Item => Natural'Image (Natural (B)));
Text_Io.Put_Line (Natural'Image (Natural (B)));
end loop;
Dio.Close (File => F_In);
-- Window_Io.Close (File => W_Out);
end Info;
nblk1=5
nid=2
hdr6=8
[0x00] rec0=28 rec1=00 rec2=01 rec3=07c
[0x01] rec0=1a rec1=00 rec2=03 rec3=030
[0x02] rec0=23 rec1=00 rec2=05 rec3=04e
[0x03] rec0=02 rec1=00 rec2=04 rec3=000
[0x04] rec0=04 rec1=00 rec2=02 rec3=000
tail 0x215390cdc86078212e1ed 0x42a00088462060003
Free Block Chain:
0x2: 0000 00 00 00 0f 00 09 65 6e 64 20 49 6e 66 6f 3b 09 ┆ end Info; ┆