home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 18 / amigaformatcd18.iso / -in_the_mag- / emulation / emus / fs1541 / packet.h < prev    next >
C/C++ Source or Header  |  1997-07-31  |  680b  |  37 lines

  1. /*
  2.     FS1541
  3.  
  4.     packet.h
  5.  
  6. */
  7.  
  8. void DoPackets(void);
  9.  
  10. extern int inhibited;
  11.  
  12. /* This structure is used both as the one stored in fh_Arg1 of our
  13.    filehandles as well as for passing around data about files internally. */
  14. struct FHArg1 {
  15.     BPTR lock;
  16.     ULONG len, len0;
  17.     ULONG pos;
  18.     UBYTE t,s,p;
  19.     UBYTE t0,s0;
  20.     UBYTE number;
  21.     UWORD numblocks;
  22. };
  23.  
  24. #define FLKEY_SPECIALMASK 0xf0000
  25. #define FLKEY_SPECIALSHIFT 16
  26.  
  27. #define FLKEY_DOLLAR 0x10000
  28. #define VIRTUAL_FILE_DOLLAR "$"
  29. #define FLKEY_D64 0x20000
  30. #define VIRTUAL_FILE_D64 "$d64"
  31. #define FLKEY_OPT 0x30000
  32. #define VIRTUAL_FILE_OPT "$opt"
  33. #define FLKEY_DISKINFO 0x40000
  34. #define VIRTUAL_FILE_DISKINFO "Disk.info"
  35.  
  36. #define NUM_VIRTUAL 255
  37.