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

« back to all changes in this revision

Viewing changes to src/fsdevice/fsdevicetypes.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:
27
27
#ifndef _FSDEVICETYPES_H
28
28
#define _FSDEVICETYPES_H
29
29
 
 
30
#ifdef HAVE_LIMITS_H
 
31
#include <limits.h>
 
32
#endif
 
33
 
30
34
#include "tape.h"
31
35
#include "types.h"
32
36
 
42
46
    struct ioutil_dir_s *ioutil_dir;
43
47
    tape_image_t tape;
44
48
    enum fsmode mode;
45
 
    char dir[MAXPATHLEN];
46
 
    BYTE name[MAXPATHLEN + 5];
 
49
    char dir[PATH_MAX];
 
50
    BYTE name[PATH_MAX];
47
51
    int buflen;
48
52
    BYTE *bufp;
49
53
    int eof;
50
54
    int reclen;
51
55
    int type;
 
56
    BYTE buffered;  /* Buffered Byte: Added to buffer reads to remove buffering from iec code */
 
57
    int isbuffered; /* TRUE is a byte exists in the buffer above */
 
58
    int iseof;      /* TRUE if an EOF is detected on a buffered read */
 
59
    char fs_dirmask[PATH_MAX];
52
60
};
53
61
typedef struct fs_buffer_info_s fs_buffer_info_t;
54
62
 
61
69
extern int fsdevice_error_get_byte(struct vdrive_s *vdrive, BYTE *data);
62
70
extern int fsdevice_flush_write_byte(struct vdrive_s *vdrive, BYTE data);
63
71
 
64
 
extern char fs_dirmask[];
65
 
 
66
72
#endif
67
73