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

⟦598a1c0fb⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Disasmlookup, seg_021fbc

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



--      Copyright (c) 1990 Meridian Software Systems, Inc.      --
with Mac_Types;
use Mac_Types;
package Disasmlookup is

    type Lookupregs is (A0, A1, A2, A3, A4, A5, A6, A7, Pc, Macabs, Trap);

    type Disasmstr80 is array (0 .. 80) of Character;

    procedure Disassembler (Dstadjust : Longint;
                            Bytesused : in out Mac_Types.Integer;
                            Firstbyte : Ptr;
                            Opcode : in out Disasmstr80;
                            Operand : in out Disasmstr80;
                            Comment : in out Disasmstr80;
                            Lookupproc : Ptr);
    pragma Interface (Mpwpascal, Disassembler, "DISASSEMBLER");

    procedure Initlookup (Pcrelproc : Ptr;
                          Jtoffproc : Ptr;
                          Trapproc : Ptr;
                          Absaddrproc : Ptr;
                          Idproc : Ptr);
    pragma Interface (Mpwpascal, Initlookup, "INITLOOKUP");

    procedure Pcrelproc (Address : Longint; S : in out Disasmstr80);
    pragma Interface (Mpwpascal, Pcrelproc, "PCRELPROC");

    procedure Jtoffproc (A5jtoffset : Mac_Types.Integer;
                         S : in out Disasmstr80);
    pragma Interface (Mpwpascal, Jtoffproc, "JTOFFPROC");

    procedure Trapnameproc (Trapword : Mac_Types.Integer;
                            S : in out Disasmstr80);
    pragma Interface (Mpwpascal, Trapnameproc, "TRAPNAMEPROC");

    procedure Absaddrproc (Absaddr : Longint; S : in out Disasmstr80);
    pragma Interface (Mpwpascal, Absaddrproc, "ABSADDRPROC");

    procedure Idproc (Basereg : Lookupregs;
                      Offset : Longint;
                      S : in out Disasmstr80);
    pragma Interface (Mpwpascal, Idproc, "IDPROC");

    procedure Lookup (Pc : Ptr;
                      Basereg : Lookupregs;
                      Opnd : Longint;
                      S : in out Disasmstr80);
    pragma Interface (Mpwpascal, Lookup, "LOOKUP");

    procedure Lookuptrapname
                 (Trapword : Mac_Types.Integer; S : in out Disasmstr80);
    pragma Interface (Mpwpascal, Lookuptrapname, "LOOKUPTRAPNAME");

    procedure Modifyoperand (Operand : in out Disasmstr80);
    pragma Interface (Mpwpascal, Modifyoperand, "MODIFYOPERAND");

    function Validmacsbugsymbol
                (Symstart : Ptr; Limit : Ptr; Symbol : Stringptr)
                return Stringptr;
    pragma Interface (C, Validmacsbugsymbol, "VALIDMACSBUGSYMBOL");

    function Endofmodule (Address : Ptr;
                          Limit : Ptr;
                          Symbol : Stringptr;
                          Nextmodule : Varptr) return Stringptr;
    pragma Interface (C, Endofmodule, "ENDOFMODULE");

    function Showmacsbugsymbol (Symstart : Ptr;
                                Limit : Ptr;
                                Operand : Stringptr;
                                Bytesused : Varinteger) return Stringptr;
    pragma Interface (C, Showmacsbugsymbol, "SHOWMACSBUGSYMBOL");

end Disasmlookup;

E3 Meta Data

    nblk1=4
    nid=0
    hdr6=8
        [0x00] rec0=19 rec1=00 rec2=01 rec3=06e
        [0x01] rec0=19 rec1=00 rec2=02 rec3=018
        [0x02] rec0=17 rec1=00 rec2=03 rec3=04e
        [0x03] rec0=04 rec1=00 rec2=04 rec3=000
    tail 0x2171dcac483906ddca7cb 0x42a00088462060003