This is c1541.h in view mode; [Download] [Up]
/*
* c1541.h - Stand-alone disk image maintenance program.
*
* Written by
* Teemu Rantanen (tvr@cs.hut.fi)
* Jouko Valta (jopi@zombie.oulu.fi)
* Gerhard Wesp (gwesp@cosy.sbg.ac.at)
*
* Patches by
* Olaf Seibert (rhialto@mbfys.kun.nl)
* Ettore Perazzoli (ettore@comm2000.it)
*
* This file is part of VICE, the Versatile Commodore Emulator.
* See README for copyright notice.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
* 02111-1307 USA.
*
*/
#ifndef _C1541_H
#define _C1541_H
#include "drive.h"
extern int ip_execute ( DRIVE *floppy, BYTE *buf, int length );
extern int do_validate ( DRIVE *floppy );
extern int check_header ( int fd, hdrinfo *hdr );
extern int check_track_sector( int format, int track, int sector );
extern int get_diskformat ( int devtype );
extern int num_blocks ( int format, int tracks );
extern void no_a0_pads ( BYTE *ptr, int l );
extern int compare_filename ( char *name, char *pattern );
extern int attach_fsdevice(int device, char *var, char *name);
extern int serial_attach_device(int device, char *var, char *name,
int (*getf)(void *, BYTE *, int),
int (*putf)(void *, BYTE, int),
int (*openf)(void *, char *, int, int),
int (*closef)(void *, int),
void (*flushf)(void *, int));
#endif /* ndef _C1541_H */
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.