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

Comparing Frodo4/Src/IEC.cpp (file contents):
Revision 1.6 by cebix, 2004-01-12T15:13:20Z vs.
Revision 1.7 by cebix, 2004-01-14T16:54:46Z

# Line 70 | Line 70 | IEC::IEC(C64Display *display) : the_disp
70                          else if (ThePrefs.DriveType[i] == DRVTYPE_D64)
71                                  drive[i] = new ImageDrive(this, ThePrefs.DrivePath[i]);
72                          else
73 <                                drive[i] = new T64Drive(this, ThePrefs.DrivePath[i]);
73 >                                drive[i] = new ArchDrive(this, ThePrefs.DrivePath[i]);
74                  }
75  
76          listener_active = talker_active = false;
# Line 122 | Line 122 | void IEC::NewPrefs(Prefs *prefs)
122                                  else if (prefs->DriveType[i] == DRVTYPE_D64)
123                                          drive[i] = new ImageDrive(this, prefs->DrivePath[i]);
124                                  else
125 <                                        drive[i] = new T64Drive(this, prefs->DrivePath[i]);
125 >                                        drive[i] = new ArchDrive(this, prefs->DrivePath[i]);
126                          }
127                  }
128  
# Line 848 | Line 848 | void Drive::unsupp_cmd(void)
848   *  Convert PETSCII<->ASCII
849   */
850  
851 < char ascii2petscii(char c)
851 > uint8 ascii2petscii(char c)
852   {
853          if ((c >= 'A') && (c <= 'Z') || (c >= 'a') && (c <= 'z'))
854                  return c ^ 0x20;
855          return c;
856   }
857  
858 < void ascii2petscii(char *dest, const char *src, int n)
858 > void ascii2petscii(uint8 *dest, const char *src, int n)
859   {
860          while (n-- && (*dest++ = ascii2petscii(*src++))) ;
861   }
# Line 869 | Line 869 | char petscii2ascii(uint8 c)
869          return c;
870   }
871  
872 < void petscii2ascii(char *dest, const char *src, int n)
872 > void petscii2ascii(char *dest, const uint8 *src, int n)
873   {
874          while (n-- && (*dest++ = petscii2ascii(*src++))) ;
875   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines