mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-10-16 15:23:58 +00:00
92db4693f1
Fix: Cmd-line switches for inserting disks
26 lines
630 B
C
26 lines
630 B
C
#pragma once
|
|
|
|
#define IMAGETYPES 7
|
|
#define NIBBLES 6656
|
|
#define TRACK_DENIBBLIZED_SIZE 4096
|
|
|
|
BOOL ImageBoot (HIMAGE);
|
|
void ImageClose (HIMAGE);
|
|
void ImageDestroy ();
|
|
void ImageInitialize ();
|
|
|
|
enum ImageError_e
|
|
{
|
|
IMAGE_ERROR_BAD_POINTER =-1,
|
|
IMAGE_ERROR_NONE = 0,
|
|
IMAGE_ERROR_UNABLE_TO_OPEN = 1,
|
|
IMAGE_ERROR_BAD_SIZE = 2
|
|
};
|
|
|
|
int ImageOpen (LPCTSTR imagefilename, HIMAGE *hDiskImage_, BOOL *pWriteProtected_, BOOL bCreateIfNecessary );
|
|
|
|
void ImageReadTrack (HIMAGE,int,int,LPBYTE,int *);
|
|
void ImageWriteTrack (HIMAGE,int,int,LPBYTE,int);
|
|
|
|
int ImageGetNumTracks(HIMAGE imagehandle);
|