2007-12-23 20:51:19 +00:00
==========================
Developer Information File
==========================
2007-11-14 12:28:27 +00:00
2007-12-05 23:28:53 +00:00
2007-12-23 20:51:19 +00:00
Known preprocessor switches:
- SDL: Defined for the SDL version
2007-12-25 16:22:30 +00:00
- GBA_LOGGING: Enables logging for the GBA core
- FINAL_VERSION: Defined for release versions, disables additional GBA logging and completely disables GB logging. Increases the amount of CPU cycles being emulated in one go.
2007-12-23 20:51:19 +00:00
- BKPT_SUPPORT
- MMX: Enable MMX instruction set
2007-12-30 20:09:14 +00:00
- NO_ASM: Use C++ version of hq3x/4x filters
2007-12-30 21:11:40 +00:00
- RGB555: Use 16bit colors with 5bit green instead of 6bit green in hq3x/4x filters (C++ version)
2007-12-23 20:51:19 +00:00
- NO_OGL: Exclude OpenGL code
- NO_D3D: Exclude Direct3D code
- NO_OAL: Exclude OpenAL code
2008-08-13 10:01:39 +00:00
- NO_XAUDIO2: Exclude XAudio2 code (the XAudio2 interface is DirectSound's successor)
2009-08-28 16:57:04 +00:00
- WIN64: This macro is only defined for 64 bit builds
2007-12-05 23:28:53 +00:00
Download locations:
2009-08-16 14:54:35 +00:00
NASM: http://nasm.us/
DirectX SDK: http://msdn.microsoft.com/en-us/xna/aa937788.aspx
2008-08-13 10:01:39 +00:00
OpenAL SDK: http://connect.creativelabs.com/openal/default.aspx
2008-03-08 13:59:23 +00:00
OpenGL files: http://www.opengl.org/registry/
zlib: http://zlib.net/
libpng: http://libpng.org/pub/png/libpng.html
2008-07-26 11:43:28 +00:00
You can find pre-built versions of zlib & libpng at:
2009-08-16 14:54:35 +00:00
http://spacy51.sp.funpic.de/VBA-M/libs/
2008-07-26 11:43:28 +00:00
Just extract them somewhere and point Visual C++ 2008 to the include & lib folders.
2009-08-16 14:54:35 +00:00
They are built with the static C runtime (this is what the release builds use).
2008-07-26 11:43:28 +00:00
2008-03-08 13:59:23 +00:00
#################################
# Visual C++ 2008 project files #
#################################
2008-10-16 08:49:15 +00:00
Using Microsoft Visual C++ 2008, you can build the Windows/MFC version.
2008-08-14 16:36:51 +00:00
Refer to the instructions below for further assistance:
2008-03-08 13:59:23 +00:00
2008-05-19 11:25:30 +00:00
===Win32/MFC===
2008-08-14 16:36:51 +00:00
This is the full-featured Windows build using the MFC GUI.
The project files are located in trunk/project/vc2008_mfc (VBA2008.sln).
2009-08-16 14:54:35 +00:00
You also have to install Microsoft's DirectX SDK for Direct3D, DirectInput & XAudio2.
2008-03-08 13:59:23 +00:00
If you want to enable OpenAL sound output, install the OpenAL SDK. If you do not want it, #define NO_OAL.
2009-08-16 14:54:35 +00:00
Some pixel filters come with assembler code, which is compatible to the NASM syntax.
Install NASM somewhere and add it to your compiler's executable file paths.
2008-08-14 16:36:51 +00:00
All .asm files will be handled with the "nasm.rules" build rules file which comes with this project file.