home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   CBM      Commodore Computer Conference      4,328 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,134 of 4,328   
   Andreas Kohlbach to Harry Potter   
   Re: 31,syntax error,00,00 reading file o   
   22 Jan 17 17:17:21   
   
   On Sat, 21 Jan 2017 15:36:18 -0800 (PST), Harry Potter wrote:   
   >   
   > Hi!  I am working on a special program for the C64 using cc65 and the   
   > WinVice 3.0 x64 emulator, and, sometimes, when I try to read some   
   > files, I get the error message above from the drive.  When the program   
   > reads the file, the emulated drive head moves to track 18, then 17,   
   > and then, the error is given.  What could be causing the error?  The   
   > erroneous code is as follows:   
   > ---------------------------   
   > extern char* filetypes[];   
   >   
   > static char qfilename[]="0:%s,%c,%c";   
   >   
   > static char fi[32];   
   >   
   > static unsigned char __fastcall__ openfile (char* s, unsigned char mode,   
   unsigned char ftype)   
   > {   
   > 	sprintf (fi, qfilename, s, (char)filetypes[ftype][0], mode==C   
   M_READ?'r':'w');   
   > 	gotoxy (0, 0); cputs (fi); putchar ('-'); cgetc();   
   > 	return cbm_open (filenum, 8, 4, fi);   
   > }   
   > ------------------------   
      
   That looks like C source code to me, not an error message.   
      
   Anyway, I seem to recall that some copy protection mechanisms were using a   
   modified track 18 (different number of sectors than it's supposed to   
   have). May that causes it.   
   --   
   Andreas   
   You know you are a redneck if   
   you've ever climbed a water tower with a bucket of paint to defend your   
   sister's honor.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca