~ubuntu-branches/ubuntu/maverick/vice/maverick

« back to all changes in this revision

Viewing changes to src/drive/iec/cia1581d.c

  • Committer: Bazaar Package Importer
  • Author(s): Zed Pobre
  • Date: 2005-02-01 11:30:26 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050201113026-3eyakzsmmheclvjg
Tags: 1.16-1
* New upstream version
* Fixes crash on 64-bit architectures (closes: #287640)
* x128 working again (closes: #286767)
* Works fine with /dev/dsp in use (not in the main changelog, but tested
  on my local machine as working).  Presumably, this also takes care of
  the issue with dsp being held.  I'm not sure if this is because I'm
  testing it on a 2.6 kernel now -- if you are still having problems
  with /dev/dsp, please reopen the bugs. (closes: #152952, #207942)
* Don't kill Makefile.in on clean

Show diffs side-by-side

added added

removed removed

Lines of Context:
160
160
                | (cia1581p->iecbus->cpu_port >> 7)
161
161
                | ((cia1581p->iecbus->cpu_bus << 3) & 0x80));
162
162
        } else {
163
 
            drive_context->func->iec_write((BYTE)(~byte));
 
163
            iec_drive_write((BYTE)(~byte), cia1581p->number);
164
164
        }
165
165
 
166
166
        iec_fast_drive_direction(byte & 0x20, cia1581p->number);
202
202
            | (cia1581p->drive->read_only ? 0 : 0x40);
203
203
    } else {
204
204
        return (((cia_context->c_cia[CIA_PRB] & 0x1a)
205
 
            | drive_context->func->iec_read()) ^ 0x85)
 
205
            | iec_drive_read(cia1581p->number)) ^ 0x85)
206
206
            | (cia1581p->drive->read_only ? 0 : 0x40);
207
207
    }
208
208
}