diff options
author | Ian C <ianc@noddybox.co.uk> | 2006-11-05 00:47:07 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2006-11-05 00:47:07 +0000 |
commit | 6f8c3d4fafc8e301e89137d80ad85e4e1314bd56 (patch) | |
tree | cd175af64c20070d580635249b2c4c852f6a87fe | |
parent | f86b3938a7e5d2b01f0f2e6756d3efdbd2994641 (diff) |
Changed so that the default is to build FAT support
-rw-r--r-- | BUILDING | 5 | ||||
-rw-r--r-- | README | 7 | ||||
-rw-r--r-- | arm9/BUILDING | 5 | ||||
-rw-r--r-- | arm9/README | 7 | ||||
-rw-r--r-- | arm9/mkrelease.sh | 6 | ||||
-rw-r--r-- | arm9/source/main.c | 2 | ||||
-rw-r--r-- | mkrelease.sh | 6 | ||||
-rw-r--r-- | source/main.c | 2 |
8 files changed, 24 insertions, 16 deletions
@@ -7,9 +7,10 @@ a 'make' command in the top level directory: $ make -If you wish to build FAT support you need to supply additional flag settings: +By default FAT support will be initialised. To prevent this you need to supply +additional flag settings: -$ make ADDITIONAL_CFLAGS="-DDS81_USE_FAT" +$ make ADDITIONAL_CFLAGS="-DDS81_DISABLE_FAT" There is a script mkrelease.sh which simply makes a FAT and non-FAT version of @@ -14,4 +14,9 @@ ZX81 BASIC ROM (c) 1981 Nine Tiles Networks LTD 3D Monster Maze (c) 1983 Malcom E. Evans -Mazogs, City Patrol and Sabotage (c) 1982 Don Priestley +Mazogs, City Patrol and Sabotage (c) 1981-1982 Don Priestley + + +See the file INSTRUCTIONS.TXT for instructions on use. +See the file BUILDING for instructions on building the sources. +See the file CHANGES for recent changes. diff --git a/arm9/BUILDING b/arm9/BUILDING index 553f2e5..263b160 100644 --- a/arm9/BUILDING +++ b/arm9/BUILDING @@ -7,9 +7,10 @@ a 'make' command in the top level directory: $ make -If you wish to build FAT support you need to supply additional flag settings: +By default FAT support will be initialised. To prevent this you need to supply +additional flag settings: -$ make ADDITIONAL_CFLAGS="-DDS81_USE_FAT" +$ make ADDITIONAL_CFLAGS="-DDS81_DISABLE_FAT" There is a script mkrelease.sh which simply makes a FAT and non-FAT version of diff --git a/arm9/README b/arm9/README index 17a4e2b..c9ac525 100644 --- a/arm9/README +++ b/arm9/README @@ -14,4 +14,9 @@ ZX81 BASIC ROM (c) 1981 Nine Tiles Networks LTD 3D Monster Maze (c) 1983 Malcom E. Evans -Mazogs, City Patrol and Sabotage (c) 1982 Don Priestley +Mazogs, City Patrol and Sabotage (c) 1981-1982 Don Priestley + + +See the file INSTRUCTIONS.TXT for instructions on use. +See the file BUILDING for instructions on building the sources. +See the file CHANGES for recent changes. diff --git a/arm9/mkrelease.sh b/arm9/mkrelease.sh index ccf7395..14835bb 100644 --- a/arm9/mkrelease.sh +++ b/arm9/mkrelease.sh @@ -3,12 +3,10 @@ rm -f *.nds *.elf *.gba *.arm9 make clean -make +make ADDITIONAL_CFLAGS="-DDS81_DISABLE_FAT" mv ds81.nds ds81-nofat.nds mv ds81.ds.gba ds81-nofat.ds.gba rm -f build/main.* - -make ADDITIONAL_CFLAGS="-DDS81_USE_FAT" - +make diff --git a/arm9/source/main.c b/arm9/source/main.c index 1296f40..162ca2d 100644 --- a/arm9/source/main.c +++ b/arm9/source/main.c @@ -110,7 +110,7 @@ static void Splash(void) y += 8; -#ifdef DS81_USE_FAT +#ifndef DS81_DISABLE_FAT res = fatInitialise(32,true); #endif diff --git a/mkrelease.sh b/mkrelease.sh index ccf7395..14835bb 100644 --- a/mkrelease.sh +++ b/mkrelease.sh @@ -3,12 +3,10 @@ rm -f *.nds *.elf *.gba *.arm9 make clean -make +make ADDITIONAL_CFLAGS="-DDS81_DISABLE_FAT" mv ds81.nds ds81-nofat.nds mv ds81.ds.gba ds81-nofat.ds.gba rm -f build/main.* - -make ADDITIONAL_CFLAGS="-DDS81_USE_FAT" - +make diff --git a/source/main.c b/source/main.c index 1296f40..162ca2d 100644 --- a/source/main.c +++ b/source/main.c @@ -110,7 +110,7 @@ static void Splash(void) y += 8; -#ifdef DS81_USE_FAT +#ifndef DS81_DISABLE_FAT res = fatInitialise(32,true); #endif |