ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/Frodo4/Src/1541fs.h
(Generate patch)

Comparing Frodo4/Src/1541fs.h (file contents):
Revision 1.2 by cebix, 2003-07-01T17:51:17Z vs.
Revision 1.3 by cebix, 2004-01-11T00:09:51Z

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines