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

⟦468cf7f62⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Draw_Box, seg_0046f4, separate Graphic_Lines

Derivation

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

E3 Source Code



separate (Graphic_Lines)
procedure Draw_Box (First_Line    : Line_Number;
                    First_Col     : Col_Number;
                    Second_Line   : Line_Number;
                    Second_Col    : Col_Number;
                    Output_Window : Window_Id) is
    Top_Line    : Positive := Smaller (First_Line, Second_Line);
    Bottom_Line : Positive := Larger (First_Line, Second_Line);
    Left_Col    : Positive := Smaller (First_Col, Second_Col);
    Right_Col   : Positive := Larger (First_Col, Second_Col);

begin
    Window_Io.Position_Cursor (File   => Output_Window,
                               Line   => Top_Line,
                               Column => Left_Col,
                               Offset => 0);
    Window_Io.Overwrite (File  => Output_Window,
                         Item  => Gc.U_L_Corner,
                         Image => Gc.Graphics_Font,
                         Kind  => Window_Io.Text);
    Draw_Horizontal (From_Col      => Left_Col + 1,
                     To_Col        => Right_Col - 1,
                     On_Line       => Top_Line,
                     Output_Window => Output_Window);
    Window_Io.Overwrite (File  => Output_Window,
                         Item  => Gc.U_R_Corner,
                         Image => Gc.Graphics_Font,
                         Kind  => Window_Io.Text);
    Window_Io.Position_Cursor (File   => Output_Window,
                               Line   => Bottom_Line,
                               Column => Left_Col,
                               Offset => 0);
    Window_Io.Overwrite (File  => Output_Window,
                         Item  => Gc.L_L_Corner,
                         Image => Gc.Graphics_Font,
                         Kind  => Window_Io.Text);
    Draw_Horizontal (From_Col      => Left_Col + 1,
                     To_Col        => Right_Col - 1,
                     On_Line       => Bottom_Line,
                     Output_Window => Output_Window);
    Window_Io.Overwrite (File  => Output_Window,
                         Item  => Gc.L_R_Corner,
                         Image => Gc.Graphics_Font,
                         Kind  => Window_Io.Text);
    Draw_Vertical (From_Line     => Top_Line + 1,
                   To_Line       => Bottom_Line - 1,
                   In_Column     => Left_Col,
                   Output_Window => Output_Window);
    Draw_Vertical (From_Line     => Top_Line + 1,
                   To_Line       => Bottom_Line - 1,
                   In_Column     => Right_Col,
                   Output_Window => Output_Window);
end Draw_Box;

E3 Meta Data

    nblk1=4
    nid=0
    hdr6=8
        [0x00] rec0=16 rec1=00 rec2=01 rec3=050
        [0x01] rec0=00 rec1=00 rec2=04 rec3=010
        [0x02] rec0=13 rec1=00 rec2=02 rec3=06a
        [0x03] rec0=0e rec1=00 rec2=03 rec3=001
    tail 0x217002a6c815c6767958f 0x42a00088462061e03