/[cebix]/Frodo4/Src/1541fs.h
ViewVC logotype

Diff of /Frodo4/Src/1541fs.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by cebix, Tue Jul 1 17:51:17 2003 UTC revision 1.3 by cebix, Sun Jan 11 00:09:51 2004 UTC
# Line 28  class FSDrive : public Drive { Line 28  class FSDrive : public Drive {
28  public:  public:
29          FSDrive(IEC *iec, char *path);          FSDrive(IEC *iec, char *path);
30          virtual ~FSDrive();          virtual ~FSDrive();
31          virtual uint8 Open(int channel, char *filename);          virtual uint8 Open(int channel, const uint8 *name, int name_len);
32          virtual uint8 Close(int channel);          virtual uint8 Close(int channel);
33          virtual uint8 Read(int channel, uint8 *byte);          virtual uint8 Read(int channel, uint8 *byte);
34          virtual uint8 Write(int channel, uint8 byte, bool eoi);          virtual uint8 Write(int channel, uint8 byte, bool eoi);
# Line 36  public: Line 36  public:
36    
37  private:  private:
38          bool change_dir(char *dirpath);          bool change_dir(char *dirpath);
39          uint8 open_file(int channel, char *filename);  
40          uint8 open_directory(int channel, char *filename);          uint8 open_file(int channel, const uint8 *name, int name_len);
41          void convert_filename(char *srcname, char *destname, int *filemode, int *filetype, bool *wildflag);          uint8 open_directory(int channel, const uint8 *pattern, int pattern_len);
42          void find_first_file(char *name);          void find_first_file(char *pattern);
43          void close_all_channels(void);          void close_all_channels(void);
44          void execute_command(char *command);  
45          void chdir_cmd(char *dirpath);          virtual void initialize_cmd(void);
46          uint8 conv_from_64(uint8 c, bool map_slash);          virtual void validate_cmd(void);
         uint8 conv_to_64(uint8 c, bool map_slash);  
47    
48          char dir_path[256];             // Path to directory          char dir_path[256];             // Path to directory
49          char orig_dir_path[256]; // Original directory path          char orig_dir_path[256]; // Original directory path
50          char dir_title[16];             // Directory title          char dir_title[16];             // Directory title
51          FILE *file[16];                 // File pointers for each of the 16 channels          FILE *file[16];                 // File pointers for each of the 16 channels
52    
         char cmd_buffer[44];    // Buffer for incoming command strings  
         int cmd_len;                    // Length of received command  
   
53          uint8 read_char[16];    // Buffers for one-byte read-ahead          uint8 read_char[16];    // Buffers for one-byte read-ahead
54  };  };
55    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

Christian Bauer">Christian Bauer
ViewVC Help
Powered by ViewVC 1.1.17