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

« back to all changes in this revision

Viewing changes to src/serial.h

  • 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:
51
51
    char *name; /* name of the device */
52
52
    int (*getf)(struct vdrive_s *, BYTE *, unsigned int);
53
53
    int (*putf)(struct vdrive_s *, BYTE, unsigned int);
54
 
    int (*openf)(struct vdrive_s *, const char *, int, unsigned int);
 
54
    int (*openf)(struct vdrive_s *, const BYTE *, unsigned int, unsigned int);
55
55
    int (*closef)(struct vdrive_s *, unsigned int);
56
56
    void (*flushf)(struct vdrive_s *, unsigned int);
 
57
    void (*listenf)(struct vdrive_s *, unsigned int);
57
58
    BYTE nextbyte[16]; /* next byte to send, per sec. addr. */
58
59
    char nextok[16]; /* flag if nextbyte is valid */
59
60
 
66
67
    BYTE lastbyte[16];
67
68
    char lastok[16];
68
69
    int lastst[16];
69
 
 
70
70
} serial_t;
71
71
 
72
72
extern int serial_init(const struct trap_s *trap_list);
105
105
extern void serial_iec_device_set_machine_parameter(long cycles_per_sec);
106
106
extern void serial_iec_device_exec(CLOCK clk_value);
107
107
 
 
108
extern void serial_iec_bus_init(void);
 
109
 
108
110
#endif
109
111