From 6f8c3d4fafc8e301e89137d80ad85e4e1314bd56 Mon Sep 17 00:00:00 2001 From: Ian C Date: Sun, 5 Nov 2006 00:47:07 +0000 Subject: Changed so that the default is to build FAT support --- BUILDING | 5 +++-- README | 7 ++++++- arm9/BUILDING | 5 +++-- arm9/README | 7 ++++++- arm9/mkrelease.sh | 6 ++---- arm9/source/main.c | 2 +- mkrelease.sh | 6 ++---- source/main.c | 2 +- 8 files changed, 24 insertions(+), 16 deletions(-) diff --git a/BUILDING b/BUILDING index 553f2e5..263b160 100644 --- a/BUILDING +++ b/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/README b/README index 17a4e2b..c9ac525 100644 --- a/README +++ b/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/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 -- cgit v1.2.3