/[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 105 by dbug, Sun May 24 19:53:20 2009 UTC revision 106 by waskol, Sat Jun 20 13:55:24 2009 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;
200            //following line modified by Wilfrid AVRILLON (Waskol) 06/20/2009
201            //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) !
203            end=0x501+i-1;
204    
205          if (bAutoRun)   head[7]=0x80;   // Autorun for basic :)          if (bAutoRun)   head[7]=0x80;   // Autorun for basic :)
206          else                    head[7]=0;          else                    head[7]=0;

Legend:
Removed from v.105  
changed lines
  Added in v.106

  ViewVC Help
Powered by ViewVC 1.1.26