DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦33c641183⟧ Ada Source

    Length: 4096 (0x1000)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Connect_Endpoint, seg_0046f1, separate Graphic_Lines

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



separate (Graphic_Lines)
procedure Connect_Endpoint (Line          : Line_Number;
                            Col           : Col_Number;
                            Going         : Directions;
                            Output_Window : Window_Id) is
    Out_Char : Character := Character'First;

begin
    Window_Io.Position_Cursor
       (File => Output_Window, Line => Line, Column => Col, Offset => 0);
    case Window_Io.Char_At (Output_Window) is
        --when Gc.H_Line =>
        --if Going = Up then
        --Out_Char := Gc.T_Up;
        --elsif Going = Down then
        --Out_Char := Gc.T_Down;
        --end if;

        --when Gc.V_Line =>
        --if Going = Left then
        --Out_Char := Gc.T_Left;
        --elsif Going = Right then
        --Out_Char := Gc.T_Right;
        --end if;

        --when Gc.U_L_Corner =>
        --if Going = Up then
        --Out_Char := Gc.T_Right;
        --elsif Going = Left then
        --Out_Char := Gc.T_Down;
        --end if;

        --when Gc.U_R_Corner =>
        --if Going = Up then
        --Out_Char := Gc.T_Left;
        --elsif Going = Right then
        --Out_Char := Gc.T_Down;
        --end if;

        --when Gc.L_L_Corner =>
        --if Going = Down then
        --Out_Char := Gc.T_Right;
        --elsif Going = Left then
        --Out_Char := Gc.T_Up;
        --end if;

        --when Gc.L_R_Corner =>
        --if Going = Down then
        --Out_Char := Gc.T_Left;
        --elsif Going = Right then
        --Out_Char := Gc.T_Up;
        --end if;

        --when Gc.T_Up =>
        --if Going = Down then
        --Out_Char := Gc.Intersect;
        --end if;

        --when Gc.T_Down =>
        --if Going = Up then
        --Out_Char := Gc.Intersect;
        --end if;

        --when Gc.T_Left =>
        --if Going = Right then
        --Out_Char := Gc.Intersect;
        --end if;

        --when Gc.T_Right =>
        --if Going = Left then
        --Out_Char := Gc.Intersect;
        --end if;

        when Gc.Intersect =>
            null;

        when others =>
            Out_Char := Endpoint_Union (Output_Window => Output_Window,
                                        Include_Left  => Going = Left,
                                        Include_Right => Going = Right,
                                        Include_Up    => Going = Up,
                                        Include_Down  => Going = Down);

    end case;
    if Out_Char /= Character'First then
        Window_Io.Overwrite (File  => Output_Window,
                             Item  => Out_Char,
                             Image => Gc.Graphics_Font,
                             Kind  => Window_Io.Text);
    end if;
end Connect_Endpoint;

E3 Meta Data

    nblk1=3
    nid=0
    hdr6=6
        [0x00] rec0=1f rec1=00 rec2=01 rec3=026
        [0x01] rec0=27 rec1=00 rec2=02 rec3=030
        [0x02] rec0=17 rec1=00 rec2=03 rec3=000
    tail 0x215004e14815c67640b4a 0x42a00088462061e03