/[projet1]/public/pc/tools/osdk/main/Osdk/_final_/sample/floppybuilder/code/main_second.c
Defence Force logotype

Diff of /public/pc/tools/osdk/main/Osdk/_final_/sample/floppybuilder/code/main_second.c

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

revision 1342 by dbug, Sun Aug 9 09:23:01 2015 UTC revision 1343 by dbug, Thu Jan 7 18:57:50 2016 UTC
# Line 6  Line 6 
6    
7  #include <lib.h>  #include <lib.h>
8    
9  #include "floppy_description.h"  #include "file_loader.h"
   
 // loader_api.s  
 extern unsigned char LoaderApiEntryIndex;  
 extern unsigned char LoaderApiAddressLow;  
 extern unsigned char LoaderApiAddressHigh;  
 extern char* LoaderApiAddress;  
   
 extern void SetLoadAddress();  
 extern void LoadFile();  
10    
11  void main()  void main()
12  {  {
13          // Load the second picture at the default address specified in the script          // Load the second picture at the default address specified in the script
14          LoaderApiEntryIndex=LOADER_PICTURE_SECONDPROGRAM;          LoadFile(LOADER_PICTURE_SECONDPROGRAM);
         LoadFile();  
15    
16          // Quit and return to the loader          // Quit and return to the loader
17  }  }

Legend:
Removed from v.1342  
changed lines
  Added in v.1343

  ViewVC Help
Powered by ViewVC 1.1.26