|
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 - download
Length: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Beep, seg_03cca5
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
with Interchange; with Serial_Io; with System; with Text_Io; with Unchecked_Conversion; procedure Beep is type Command is (Nul, Un, Lecteur3, Lecteur4, Pilotage_A_1, F1, F2); for Command'Size use 8 * System.Bit; for Command use (Nul => 16#00#, Un => 16#01#, Lecteur3 => 16#03#, Lecteur4 => 16#04#, Pilotage_A_1 => 16#2C#, F1 => 16#F1#, F2 => 16#F2#); type Sequence is array (Natural range <>) of Command; Beep3 : constant Sequence := (Un, Lecteur3, Nul, Un, Pilotage_A_1, F1, F2); Beep4 : constant Sequence := (Un, Lecteur4, Nul, Un, Pilotage_A_1, F1, F2); Bs3 : System.Byte_String (Beep3'First .. Beep3'Last); Bs4 : System.Byte_String (Beep4'First .. Beep4'Last); function Conv is new Unchecked_Conversion (Command, System.Byte); begin for I in Beep3'Range loop Bs3 (I) := Conv (Beep3 (I)); Bs4 (I) := Conv (Beep4 (I)); end loop; for I in 1 .. 1 loop Serial_Io.Put (Bs3, "/dev/tty0"); delay 1.0; Serial_Io.Put (Bs4, "/dev/tty0"); delay 1.0; end loop; end Beep;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=24 rec1=00 rec2=01 rec3=004 [0x01] rec0=0c rec1=00 rec2=02 rec3=001 tail 0x2173b339c85e25e337d04 0x42a00088462060003