-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[What's New 1.0.1 - September 18, 2008]
* GBA games now run at full speed * Menu improvements, with spiffy new background - thanks brakken! * Fixed L/R buttons - they work now
- Loading branch information
dborth
committed
Oct 16, 2008
1 parent
2f2a1fd
commit dbff9b7
Showing
134 changed files
with
45,479 additions
and
41,872 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,20 +18,18 @@ include $(DEVKITPPC)/gamecube_rules | |
TARGET := vbagx_gc | ||
TARGETDIR := executables | ||
BUILD := build_gc | ||
SOURCES := source/vba source/vba/agb source/vba/dmg source/ngc source/sz | ||
INCLUDES := source/vba source/ngc | ||
SOURCES := source/vba source/vba/gb source/ngc | ||
INCLUDES := source/vba source/vba/gb source/ngc | ||
|
||
#--------------------------------------------------------------------------------- | ||
# options for code generation | ||
#--------------------------------------------------------------------------------- | ||
|
||
CFLAGS = -g -O3 -Wall $(MACHDEP) $(INCLUDE) \ | ||
-DNGC -DUSE_VM -DWORDS_BIGENDIAN \ | ||
-DC_CORE -D__ppc__ -D__POWERPC__ -DFINAL_VERSION \ | ||
-DSDL -DNO_PNG -DHAVE_ZUTIL_H \ | ||
-D_SZ_ONE_DIRECTORY -D_LZMA_IN_CB -D_LZMA_OUT_READ | ||
CXXFLAGS = $(CFLAGS) | ||
LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map | ||
CFLAGS = -g -O2 -Wall $(MACHDEP) $(INCLUDE) -maltivec \ | ||
-DNGC -DWORDS_BIGENDIAN -DC_CORE \ | ||
-DCHANFFS -DSDL -DHAVE_ZUTIL_H | ||
CXXFLAGS = -save-temps -Xassembler [email protected] $(CFLAGS) | ||
LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map -Wl,--cref | ||
|
||
#--------------------------------------------------------------------------------- | ||
# any extra libraries we wish to link with | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,19 +18,17 @@ include $(DEVKITPPC)/wii_rules | |
TARGET := vbagx_wii | ||
TARGETDIR := executables | ||
BUILD := build_wii | ||
SOURCES := source/vba source/vba/agb source/vba/dmg source/ngc source/sz | ||
INCLUDES := source/vba source/ngc | ||
SOURCES := source/vba source/vba/gb source/ngc | ||
INCLUDES := source/vba source/vba/gb source/ngc | ||
|
||
#--------------------------------------------------------------------------------- | ||
# options for code generation | ||
#--------------------------------------------------------------------------------- | ||
|
||
CFLAGS = -g -O3 -Wall $(MACHDEP) $(INCLUDE) \ | ||
-DNGC -DWII_DVD -DWORDS_BIGENDIAN -DVIDEO_THREADING \ | ||
-DC_CORE -D__ppc__ -D__POWERPC__ -DFINAL_VERSION \ | ||
-DSDL -DNO_PNG -DHAVE_ZUTIL_H \ | ||
-D_SZ_ONE_DIRECTORY -D_LZMA_IN_CB -D_LZMA_OUT_READ | ||
CXXFLAGS = $(CFLAGS) | ||
CFLAGS = -g -O2 -Wall $(MACHDEP) $(INCLUDE) -maltivec \ | ||
-DNGC -DWORDS_BIGENDIAN -DC_CORE \ | ||
-DCHANFFS -DSDL -DHAVE_ZUTIL_H | ||
CXXFLAGS = -save-temps -Xassembler [email protected] $(CFLAGS) | ||
LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map -Wl,--cref | ||
|
||
#--------------------------------------------------------------------------------- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
�,���`���,��,���`���,�,���`���,��,���`���,�,���`���,��,���`���,�,���`���,��,�� | ||
|
||
- Visual Boy Advance GX - | ||
(Under GPL License) | ||
|
||
�,���`���,��,���`���,�,���`���,��,���`���,�,���`���,��,���`���,�,���`���,��,�� | ||
|
||
-=[ Compiling ]=- | ||
|
||
This thing is a bugger to compile, at least for now. You can compile | ||
everything using -Os, but gameplay will run slow. Compiling with -O2 | ||
using devkitppc 15 will crash on GBA.cpp. This must be due to some change in | ||
gcc 4.x that sets a compiler flag that the assembly code in thumb.h can't | ||
handle. | ||
|
||
To get around this: | ||
|
||
-use a precompiled GBA.o | ||
|
||
OR | ||
|
||
-compile a GBA.o and GBA.d using devkitpcc 13 (gcc 3.4.6) | ||
-copy these precompiled files to the build dir, and compile everything else | ||
with -O2 on devkitppc 15 (gcc 4.2.3) | ||
|
||
It would be really nice to automate this messy build process, or preferably | ||
to find out how to get gcc 4.x to play nice. | ||
|
||
|
||
-- Tantric, September 2008 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.