2 * Copyright (C) 1996-1998 Szeredi Miklos
3 * Email: mszeredi@inf.bme.hu
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version. See the file COPYING.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
28 #define SEG_END 0 /* ^--- End of tape */
36 #define SEG_DATA_TURBO 11
37 #define SEG_DATA_PURE 12
42 #define SEG_VIRTUAL 30
56 #define INITTAPEOPT(to) \
59 (to).machine=MACHINE_48
61 extern char seg_desc
[];
67 extern int open_tapefile(char *name
, int type
);
68 extern void close_tapefile(void);
69 extern int goto_segment(int at_seg
);
70 extern int next_segment(void);
71 extern int next_byte(void);
72 extern int next_imps(unsigned short *impbuf
, int buflen
, long timelen
);
74 extern void set_tapefile_options(struct tape_options
*to
);
75 extern int get_level(void);
77 extern long get_seglen(void);
78 extern long get_segpos(void);
79 extern unsigned segment_pos(void);
85 #endif /* TAPEFILE_H */