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

« back to all changes in this revision

Viewing changes to src/serial/serial-iec-bus.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:
55
55
        fsdrive_close(device, secondary, st_func);
56
56
}
57
57
 
58
 
void serial_iec_bus_listentalk(unsigned int device, BYTE secondary,
59
 
                               void(*st_func)(BYTE))
60
 
{
61
 
#ifdef HAVE_OPENCBM
62
 
    if (serial_device_type_get(device & 0x0f) == SERIAL_DEVICE_REAL)
63
 
        realdevice_listentalk(device, secondary, st_func);
 
58
void serial_iec_bus_listen(unsigned int device, BYTE secondary,
 
59
                           void(*st_func)(BYTE))
 
60
{
 
61
#ifdef HAVE_OPENCBM
 
62
    if (serial_device_type_get(device & 0x0f) == SERIAL_DEVICE_REAL)
 
63
        realdevice_listen(device, secondary, st_func);
 
64
    else
 
65
#endif
 
66
        fsdrive_listentalk(device, secondary, st_func);
 
67
}
 
68
 
 
69
void serial_iec_bus_talk(unsigned int device, BYTE secondary,
 
70
                         void(*st_func)(BYTE))
 
71
{
 
72
#ifdef HAVE_OPENCBM
 
73
    if (serial_device_type_get(device & 0x0f) == SERIAL_DEVICE_REAL)
 
74
        realdevice_talk(device, secondary, st_func);
64
75
    else
65
76
#endif
66
77
        fsdrive_listentalk(device, secondary, st_func);