|
|
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 C_Test, seg_0573a5
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Machine_Code;
with System;
--with Defined_Type;
package body C_Test is
-- Outil
Cache : constant := 2#00011010#;
Bit_Stop0 : constant := 2#00010011#;
Bit_Stop1 : constant := 2#00000111#;
Vitesse : constant := 2#10111011#;
Decache : constant := 2#01000101#;
Carac : constant := 65;
-- Adresse DUART
Duart_Base : constant := 16#03001000#;
Mra : constant := Duart_Base;
Cra : constant := Duart_Base + 2;
Csra : constant := Duart_Base + 1;
Ivr : constant := Duart_Base + 12;
Duart_It_Vec : constant := 16#64#;
Port_A : constant := Duart_Base + 3;
-- Adresse PICU
Pic_Base : constant := 16#03010020#;
Pic_R0 : constant := Pic_Base;
Pic_R1 : constant := Pic_Base + 2;
Pic_R5 : constant := Pic_Base + 10;
Pic_Cr1 : constant := 1;
Config_Lrq1 : constant := 0;
Mask_Bus_It : constant := 0;
procedure Init is
use Machine_Code;
begin
Code_2'(Move_L, +Cra, A1);
Code_2'(Move_L, +Cache, A2);
Code_2'(Move_L, A2, Absol (Cra, L));
-- Code_2'(Move_L, +Mra, A1);
-- Code_2'(Move_L, +Bit_Stop0, A2);
-- Code_2'(Move_L, A2, (A1));
--
--
-- Code_2'(Move_L, +Bit_Stop1, A2);
-- Code_2'(Move_L, A2, (A1));
--
-- Code_2'(Move_L, +Csra, A1);
-- Code_2'(Move_L, +Vitesse, A2);
-- Code_2'(Move_L, A2, (A1));
--
-- Code_2'(Move_L, +Ivr, A1);
-- Code_2'(Move_L, +Duart_It_Vec, A2);
-- Code_2'(Move_L, A2, (A1));
--
-- Code_2'(Move_L, +Cra, A1);
-- Code_2'(Move_L, +Decache, A2);
-- Code_2'(Move_L, A2, (A1));
--
-- Code_2'(Move_L, +Pic_R0, A1);
-- Code_2'(Move_L, +Pic_Cr1, A2);
-- Code_2'(Move_L, A2, (A1));
--
-- Code_2'(Move_L, +Pic_R1, A1);
-- Code_2'(Move_L, +Config_Lrq1, A2);
-- Code_2'(Move_L, A2, (A1));
--
-- Code_2'(Move_L, +Pic_R5, A1);
-- Code_2'(Move_L, +Mask_Bus_It, A2);
-- Code_2'(Move_L, A2, (A1));
end Init;
procedure Get is
use Machine_Code;
begin
-- Code_2'(Move_L, +Port_A, A1);
-- Code_2'(Move_L, +Carac, D1);
-- Code_2'(Move_L, D1, (A1));
null;
end Get;
procedure Put is
begin
null;
end Put;
end C_Test;
nblk1=4
nid=0
hdr6=8
[0x00] rec0=24 rec1=00 rec2=01 rec3=00c
[0x01] rec0=00 rec1=00 rec2=02 rec3=032
[0x02] rec0=1e rec1=00 rec2=04 rec3=02e
[0x03] rec0=1a rec1=00 rec2=03 rec3=000
tail 0x2176420f887c7445d0107 0x42a00088462060003