/[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 780 by dbug, Sat Jan 23 15:55:45 2010 UTC revision 781 by dbug, Sat Jan 21 22:33:21 2012 UTC
# Line 201  void Bas2Tap(const char *pSourceFile,con Line 201  void Bas2Tap(const char *pSourceFile,con
201          //It should follow this rule of computation : End_Address=Start_Address+File_Size-1          //It should follow this rule of computation : End_Address=Start_Address+File_Size-1
202          //Let's assume a 1 byte program, it starts at address #501 and ends at address #501 (Address=Address+1-1) !          //Let's assume a 1 byte program, it starts at address #501 and ends at address #501 (Address=Address+1-1) !
203          //It was a blocking issue for various utilities (tap2wav for instance)          //It was a blocking issue for various utilities (tap2wav for instance)
204          end=0x501+i-1;          //end=0x501+i;          //end=0x501+i-1;                //end=0x501+i;
205            end=0x501+i;
206    
207          if (bAutoRun)   head[7]=0x80;   // Autorun for basic :)          if (bAutoRun)   head[7]=0x80;   // Autorun for basic :)
208          else                    head[7]=0;          else                    head[7]=0;

Legend:
Removed from v.780  
changed lines
  Added in v.781

  ViewVC Help
Powered by ViewVC 1.1.26