|
|
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 Essai, seg_041dfe
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Lecteur;
with Io;
with System;
with Terminal_Specific;
with Text_Io;
with Device_Independent_Io;
with Unchecked_Conversions;
with Constantes;
procedure Essai (No_Lect : System.Byte;
No_Cart : Natural;
No_Plage : System.Byte;
Cod : Natural) is
package Dio renames Device_Independent_Io;
package Ts renames Terminal_Specific;
package Tio renames Text_Io;
subtype Bs is System.Byte_String;
F_In : Ts.File_Type;
F_Out : Ts.File_Type;
Valid_Carte : Bs (1 .. 10);
Rapport_Valid : Bs (1 .. 11);
B : System.Byte;
Carte_1, Carte_2 : System.Byte;
begin
Lecteur.Valide_Carte (Numero_Lecteur => No_Lect,
Numero_Carte => No_Cart,
Numero_Plage => No_Plage,
Code_Site => Cod);
-- Lecteur.Convert (No_Cart);
Rapport_Valid := (16#01#, 16#04#, 16#00#, 16#05#, 16#1F#,
01, 99, 01, 99, 16#F1#, 16#F2#);
Lecteur.Ouvre_Fichier_Out;
Dio.Write (File => F_Out, Item => Valid_Carte);
delay 1.0;
Dio.Write (File => F_Out, Item => Rapport_Valid);
delay 1.0;
Lecteur.Ferme_Fichier_Out;
delay 0.5;
Lecteur.Ouvre_Fichier_In;
Ts.Input.Set_Editing (File => F_In, Mode => "None");
Ts.Input.Set_Echo (File => F_In, Echo => False);
for I in 1 .. 100 loop
Dio.Read (F_In, B);
Text_Io.Put_Line ("cnt =>" & Natural'Image (Natural (B)));
end loop;
Dio.Close (File => F_In);
end Essai;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=22 rec1=00 rec2=01 rec3=018
[0x01] rec0=1c rec1=00 rec2=02 rec3=001
tail 0x21742a1e086285cc7dcc5 0x42a00088462060003