/[projet1]/public/pc/tools/osdk/main/bas2tap/sources/bas2tap.cpp
Defence Force logotype

Diff of /public/pc/tools/osdk/main/bas2tap/sources/bas2tap.cpp

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

revision 206 by waskol, Sat Jun 20 13:59:12 2009 UTC revision 207 by dbug, Sat Jan 23 15:40:01 2010 UTC
# Line 196  void Bas2Tap(const char *pSourceFile,con Line 196  void Bas2Tap(const char *pSourceFile,con
196          }          }
197          buf[i++]=0;          buf[i++]=0;
198          buf[i++]=0;          buf[i++]=0;
199          //end=0x501+i;          end=0x501+i;
         //following line modified by Wilfrid AVRILLON (Waskol) 06/20/2009  
         //It should follow this rule of computation : End_Address=Start_Address+File_Size-1  
         //Let's assume a 1 byte program, it starts at address #501 and ends at address #501 (Address=Address+1-1) !  
         //It was a blocking issue for various utilities (tap2wav for instance)  
         end=0x501+i-1;  
200    
201          if (bAutoRun)   head[7]=0x80;   // Autorun for basic :)          if (bAutoRun)   head[7]=0x80;   // Autorun for basic :)
202          else                    head[7]=0;          else                    head[7]=0;

Legend:
Removed from v.206  
changed lines
  Added in v.207

  ViewVC Help
Powered by ViewVC 1.1.26