URL
https://opencores.org/ocsvn/System09/System09/trunk
Subversion Repositories System09
Compare Revisions
- This comparison shows the changes necessary to convert path
/System09/trunk/Tools
- from Rev 78 to Rev 77
- ↔ Reverse comparison
Rev 78 → Rev 77
/s19tovhd/Makefile
File deleted
/s19tovhd/S19toVHD.exe
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/s19tovhd/S19toVHD.cpp
193,7 → 193,7
* load motorola formatted file |
*/ |
|
bool load_mot( char *fname_in ) |
void load_mot( char *fname_in ) |
{ |
FILE *fp_in; |
int byte, addr, i; |
202,7 → 202,7
if( !fp_in ) |
{ |
printf( "\nCan't open %s", fname_in ); |
return false; |
return; |
} |
|
byte = 0; |
242,7 → 242,6
} |
} |
fclose( fp_in ); |
return true; |
} |
|
|
366,9 → 365,7
printf("Reading Motorola S19 from file '%s'\n", argv[1]); |
printf("VHDL file name '%s'\n", argv[2]); |
printf("Base RAM/ROM entity name is '%s'\n", argv[3]); |
if (!load_mot( argv[1] )) { |
return(-1); |
} |
load_mot( argv[1] ); |
if( (fp_out = fopen( argv[2], "w" )) == NULL ) { |
printf( "\nCan't open '%s' for write ", argv[2] ); |
return(-1); |