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

⟦bc1ce5dfc⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Fenetre, seg_03f523

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



with Window_Io;
use Window_Io;

package body Fenetre is

    procedure Show (Screen : in out File_Type) is
    begin
        Open (File => Screen, Name => "mine");
    end Show;

    procedure Draw_Box (Window : File_Type;
                        On_Line : Line_Number;
                        On_Column : Column_Number;
                        Height : Natural;
                        Width : Natural) is

        Upper_Left_Corner : constant Character := 'l';
        Upper_Right_Corner : constant Character := 'k';
        Lower_Left_Corner : constant Character := 'm';
        Lower_Right_Corner : constant Character := 'j';
        Vertical_Line : constant Character := 'x';
        Horizontal_Line : constant Character := 'q';

    begin
        Position_Cursor (Window, On_Line, On_Column);
        Overwrite (Window, Upper_Left_Corner, Modechar);
        for I in 1 .. Width loop
            Overwrite (Window, Horizontal_Line, Modechar);
        end loop;
        Position_Cursor (Window, On_Line + 1, On_Column);
        Overwrite (Window, Upper_Right_Corner, Modechar);
        for I in 1 .. Height loop
            Overwrite (Window, Vertical_Line, Modechar);
            Move_Cursor (Window, 1, -1);
        end loop;  
        Position_Cursor (Window, On_Line + 1, On_Column + Width + 1);
        for I in 1 .. Height loop
            Overwrite (Window, Vertical_Line, Modechar);
            Move_Cursor (Window, 1, -1);
        end loop;
        Position_Cursor (Window, On_Line + Height + 1, On_Column);
        Overwrite (Window, Lower_Left_Corner, Modechar);
        for I in 1 .. Width loop
            Overwrite (Window, Horizontal_Line, Modechar);
        end loop;  
        Overwrite (Window, Lower_Right_Corner, Modechar);
    end Draw_Box;
end Fenetre;


E3 Meta Data

    nblk1=4
    nid=2
    hdr6=4
        [0x00] rec0=1e rec1=00 rec2=01 rec3=014
        [0x01] rec0=16 rec1=00 rec2=03 rec3=000
        [0x02] rec0=05 rec1=00 rec2=03 rec3=000
        [0x03] rec0=05 rec1=00 rec2=03 rec3=000
    tail 0x2173f03ec860a3548273d 0x42a00088462060003
Free Block Chain:
  0x2: 0000  00 04 03 fc 80 2d 50 6f 73 69 74 69 6f 6e 5f 43  ┆     -Position_C┆
  0x4: 0000  00 00 00 04 80 01 20 01 67 69 6e 05 00 08 20 20  ┆        gin     ┆