~ubuntu-branches/ubuntu/intrepid/simh/intrepid

« back to all changes in this revision

Viewing changes to PDP11/pdp11_io.c

  • Committer: Bazaar Package Importer
  • Author(s): Vince Mulhollon
  • Date: 2005-05-30 19:25:10 UTC
  • mfrom: (1.1.3 upstream) (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050530192510-npcvtltga170kziw
Tags: 3.4.0-1
New upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
idx = (pa & IOPAGEMASK) >> 1;
93
93
if (iodispR[idx]) {
94
94
        stat = iodispR[idx] (data, pa, access);
95
 
        if (sim_log &&
96
 
           (((pa >= IOBA_RQ) && (pa < IOBA_SUP)) ||
97
 
            ((pa >= IOBA_TU) && (pa < IOBA_SR))))
98
 
            fprintf (sim_log, ">>IORD: addr=%o, data=%o\n", pa, *data);
99
95
        trap_req = calc_ints (ipl, trap_req);
100
96
        return stat;  }
101
97
return SCPE_NXM;
108
104
 
109
105
idx = (pa & IOPAGEMASK) >> 1;
110
106
if (iodispW[idx]) {
111
 
        if (sim_log &&
112
 
           (((pa >= IOBA_RQ) && (pa < IOBA_SUP)) ||
113
 
            ((pa >= IOBA_TU) && (pa < IOBA_SR))))
114
 
            fprintf (sim_log, ">>IOWR: addr=%o, data=%o\n", pa, data);
115
107
        stat = iodispW[idx] (data, pa, access);
116
108
        trap_req = calc_ints (ipl, trap_req);
117
109
        return stat;  }