mirror of
https://github.com/Michaelangel007/apple2_gumball.git
synced 2024-12-05 21:50:49 +00:00
Sync up dump_list dump_sym and README
This commit is contained in:
parent
058d1fabd6
commit
20af4ce3c7
10
README.md
10
README.md
@ -424,12 +424,10 @@ Here's a C program, [dump_list.c](dump_list.c), to dump the fragment:
|
||||
const char *name = "gumball.fragment.1.1800";
|
||||
|
||||
if( nArg > 1 )
|
||||
{
|
||||
name = aArg[1];
|
||||
printf( "Filename: %s\n", name );
|
||||
}
|
||||
|
||||
FILE *in = fopen( name, "rb" );
|
||||
printf( "Filename: %s\n", name );
|
||||
|
||||
if( in )
|
||||
{
|
||||
@ -668,10 +666,12 @@ We can modify our `dump_list` converting it to
|
||||
int main( const int nArg, const char *aArg[] )
|
||||
{
|
||||
const char *name = "gumball.fragment.2.849a";
|
||||
FILE *in = fopen( name, "rb" );
|
||||
|
||||
if( nArg > 1 )
|
||||
name = aArg[1];
|
||||
name = aArg[1];
|
||||
|
||||
FILE *in = fopen( name, "rb" );
|
||||
printf( "Filename: %s\n", name );
|
||||
|
||||
if( in )
|
||||
{
|
||||
|
@ -26,12 +26,10 @@
|
||||
const char *name = "gumball.fragment.1.1800";
|
||||
|
||||
if( nArg > 1 )
|
||||
{
|
||||
name = aArg[1];
|
||||
printf( "Filename: %s\n", name );
|
||||
}
|
||||
|
||||
FILE *in = fopen( name, "rb" );
|
||||
printf( "Filename: %s\n", name );
|
||||
|
||||
if( in )
|
||||
{
|
||||
|
@ -24,10 +24,12 @@
|
||||
int main( const int nArg, const char *aArg[] )
|
||||
{
|
||||
const char *name = "gumball.fragment.2.849a";
|
||||
FILE *in = fopen( name, "rb" );
|
||||
|
||||
if( nArg > 1 )
|
||||
name = aArg[1];
|
||||
name = aArg[1];
|
||||
|
||||
FILE *in = fopen( name, "rb" );
|
||||
printf( "Filename: %s\n", name );
|
||||
|
||||
if( in )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user