|
|
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, package body Erreur, seg_020eed
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
package body Erreur is
-- CONSTANTES -----------------------------------------------------------
type T_Pt_String is access String;
type T_Messages_Erreurs is array (Numero_Erreur range <>) of T_Pt_String;
Messages_Erreurs : constant T_Messages_Erreurs (0 .. 6) :=
(0 => new String'("NO ERROR !"),
1 => new String'("MEMORY ERROR : Write in ROM !!!"),
2 => new String'("MEMORY ERROR : Write at non defined address !!!"),
3 => new String'("MEMORY ERROR : Read at non defined address !!!"),
4 => new String'("OPEN ERROR : Unknow File !!!"),
5 => new String'("OPEN ERROR : Unknow Hexa File !!!"),
6 => new String'("OPEN ERROR : In reading Hexa File !!!")
);
-- VARIABLES ------------------------------------------------------------
Erreur_Detectee : Natural := 0;
-- PROCEDURES -----------------------------------------------------------
procedure Detectee (Num : Numero_Erreur) is
begin
Erreur_Detectee := Num;
end Detectee;
function Presente return Boolean is
begin
return (Erreur_Detectee /= 0);
end Presente;
function Enregistree return String is
Err : Numero_Erreur := Erreur_Detectee;
begin
Erreur_Detectee := 0;
return Messages_Erreurs (Err).all;
end Enregistree;
end Erreur;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=20 rec1=00 rec2=01 rec3=01e
[0x01] rec0=15 rec1=00 rec2=02 rec3=000
tail 0x2150cfaba823a6c147b95 0x42a00088462060003