|
|
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: 5120 (0x1400)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Template, seg_01b2bb
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Log;
with Operational_Characteristics;
with Profile;
with Program;
with Rci_Customization;
with Rci_Customization_Interface;
with Semantic_Characteristics;
with Simple_Status;
with Telnet_Characteristics;
with Universal;
package body Template is
package Op renames Operational_Characteristics;
package Tc renames Telnet_Characteristics;
package Sc renames Semantic_Characteristics;
package Predefined renames Sc.Predefined_Environment_Characteristics;
package Pragmas renames Sc.Pragma_Characteristics;
package Attributes renames Sc.Attribute_Characteristics;
package Rep_Specs renames Sc.Rep_Spec_Characteristics;
package Rci renames Rci_Customization_Interface;
package Ss renames Simple_Status;
package Checking renames Sc.Checking;
package Text renames Sc.Text;
T_Name : constant String := ""; --[Your target key goes here]
The_Operation_Mode : Op.Operation_Mode := Op.Interactive;
-- The default operation mode is the interactive mode
function Get_Transfer_Type return Op.Transfer_Type is separate;
function Get_Pragma_Info return Pragmas.Object is separate;
function Get_Rep_Spec_Info return Rep_Specs.Object is separate;
function Get_Predefined_Info return Predefined.Object is separate;
function Get_Attribute_Info return Attributes.Object is separate;
function Get_Operational_Info return Op.Object is separate;
function Get_Telnet_Info return Tc.Object is separate;
procedure Register (Batch_Mode : Boolean := False;
Allow_Standard_Rebuild : Boolean := False) is
Status : Simple_Status.Condition;
function Operation_Mode return String is
begin
if Batch_Mode then
return "_batch";
end if;
return "";
end Operation_Mode;
begin
Rci.Initialize (T_Name, Status);
if Ss.">" (Ss.Severity (Status), Ss.Normal) then
Log.Put_Line (Ss.Name (Status), Profile.Warning_Msg);
if Ss.">" (Ss.Severity (Status), Ss.Warning) then
return;
end if;
end if;
if Batch_Mode then
The_Operation_Mode := Op.Batch;
end if;
-- Override the default operation mode
Rci_Customization.Register
(Target => T_Name,
The_Operational_Characteristics => Get_Operational_Info,
The_Predefined_Environment_Characteristics => Get_Predefined_Info,
The_Pragma_Characteristics => Get_Pragma_Info,
The_Attribute_Characteristics => Get_Attribute_Info,
The_Rep_Spec_Characteristics => Get_Rep_Spec_Info,
The_Telnet_Characteristics => Get_Telnet_Info,
Allow_Standard_Rebuild => Allow_Standard_Rebuild);
--[Replace >>your_subsystem<< with subsystem name]
Program.Run_Job
("""!targets.implementation.rci_customization.>>your_subsystem<<'view.units""" &
".register_all_extensions(""" & T_Name & """);",
Context =>
"!targets.implementation.rci_customization.>>your_subsystem<<'view",
Options =>
"Name => (" & T_Name & "_Extensions_" &
Op.Transfer_Type'Image (Get_Transfer_Type) &
Operation_Mode & "), " &
"output => !machine.temporary.rci_library_register_log");
end Register;
procedure Unregister is
begin
Rci_Customization.Unregister (T_Name);
end Unregister;
end Template;
nblk1=4
nid=0
hdr6=8
[0x00] rec0=1e rec1=00 rec2=01 rec3=00c
[0x01] rec0=1a rec1=00 rec2=02 rec3=032
[0x02] rec0=18 rec1=00 rec2=03 rec3=008
[0x03] rec0=13 rec1=00 rec2=04 rec3=001
tail 0x21718a7c083637e4f5721 0x42a00088462060003