Commit graph

344 commits

Author SHA1 Message Date
Max Horn
7444a06c61 DS: cleanup
svn-id: r54334
2010-11-18 17:42:28 +00:00
Max Horn
316ba2e6a9 DS: Replace GBAMPSaveFile by DSFileStream + wrapBufferedWriteStream
svn-id: r54332
2010-11-18 17:31:12 +00:00
Max Horn
b8f0026739 DS: Port changes from 1.2.0 branch to trunk
svn-id: r54325
2010-11-18 17:01:30 +00:00
Max Horn
51a954c1dd DS: Add some FIXME/TODO comments on changes that need to be applied to the DS backend
svn-id: r54318
2010-11-18 13:17:25 +00:00
Max Horn
16d9e0f14a DS: Fix compilation despite use of 'forbidden' symbols
svn-id: r54317
2010-11-18 13:13:48 +00:00
Max Horn
668adaa461 GUI: Rename gui/GuiManager.* to gui/gui-manager.*
svn-id: r54265
2010-11-16 10:19:01 +00:00
Max Horn
427dc1ae93 GUI: Move major widgets to new directory gui/widgets
Also renamed the source/header files, now they are more closely
aligned to how we rename most other source files

svn-id: r54264
2010-11-16 10:11:57 +00:00
Yotam Barnoy
50d2f7a6be DS: moved build-ds.sh to DS directory. It's currently unused but has a good way of reducing dynamic size
svn-id: r54059
2010-11-04 06:22:24 +00:00
Yotam Barnoy
13b904d282 Merge from gsoc2010-plugins
This merge was extremely difficult to carry out. It wasn't entirely SVN's fault -- there were several merges to the branch that were done by hand. Please check for any issues and regressions. Also note that the DS makefile was not copied over since the "one at a time" plugin mode currently has too much fragmentation ie. it doesn't work.

svn-id: r54051
2010-11-03 22:01:01 +00:00
Yotam Barnoy
94c8d0a14d Updated with latest from trunk
svn-id: r53976
2010-10-31 11:08:43 +00:00
Jordi Vilalta Prat
8388e0dfea JANITORAL: Clean trailing whitespaces.
svn-id: r53160
2010-10-12 02:18:11 +00:00
Andre Heider
41834499ed PLUGINS: Cleanup.
- Unify ELF loader handling in configure
- Rename ELF_LOADER_TARGET to USE_ELF_LOADER

svn-id: r52728
2010-09-15 07:43:16 +00:00
Andre Heider
86f4dbd956 PLUGINS: Move all ELF loader related files to its own directory.
svn-id: r52555
2010-09-05 12:51:25 +00:00
Andre Heider
4ac6c6a1dd DS: Enable debug level 2 when DISABLE_TEXT_CONSOLE is not set.
svn-id: r52545
2010-09-05 12:36:46 +00:00
Andre Heider
9c495a23b2 DS: Merge r52533 from trunk.
svn-id: r52534
2010-09-04 22:26:12 +00:00
Andre Heider
7248efb178 DS: Enable stdout/err via nocash when DISABLE_COMMAND_LINE in not set.
svn-id: r52533
2010-09-04 22:19:20 +00:00
Tony Puccinelli
2cd99b449f refactored NEW_PLUGIN_DESIGN_FIRST_REFINEMENT define into ONE_PLUGIN_AT_A_TIME
svn-id: r52058
2010-08-13 05:58:11 +00:00
Tony Puccinelli
139a96182d modified DS makefile to use new plugin design where only one plugin is loaded at a time and tested successfully on the DS. Added code to prevent a crash in the case where there are no engine plugins present. Removed code for R_ARM_TARGET1 in arm-loader, as it is no longer used and was never used successfully
svn-id: r52052
2010-08-12 23:55:12 +00:00
Tony Puccinelli
2f3ab6bdab manually merged trunk/backends into branch and removed some now redundant elf32.h files
svn-id: r51966
2010-08-11 02:44:11 +00:00
Tony Puccinelli
682807f0e9 merged trunk into branch, reverted Cruise Singleton changes
svn-id: r51961
2010-08-10 23:21:08 +00:00
Tony Puccinelli
0712d41870 modified psp to use mips-loader.cpp (and added things to backends/module.mk)
svn-id: r51826
2010-08-07 05:01:43 +00:00
Tony Puccinelli
026c9ba656 got rid of unneccessary 'extern C' section in elf-loader header and refactored arm-relocs.cpp to arm-loader.cpp
svn-id: r51793
2010-08-06 17:33:44 +00:00
Tony Puccinelli
d4a4176123 added DSPlugin and DS Plugin Provider (steps towards using subtypes of DLObject)
svn-id: r51777
2010-08-06 06:03:34 +00:00
Tony Puccinelli
520c0a4009 added checks for ELF_LOADER_TARGET before including the elf plugin provider
svn-id: r51716
2010-08-03 22:08:32 +00:00
Max Horn
2f4d2b58de DS: Allow disabling assert via NDEBUG; cleanup
svn-id: r51640
2010-08-02 17:12:52 +00:00
Max Horn
8d1890d931 DS: Disable debug mode in setup-builddirs.sh
svn-id: r51638
2010-08-02 17:12:20 +00:00
Max Horn
8a3a41bc2b DS: More closely immitate CXXFLAGS of custom DS build system
svn-id: r51637
2010-08-02 17:12:03 +00:00
Max Horn
2682721aac DS: Reorder & complete list of OPT_SPEED files; some tweaks
Add -mno-thumb to OPT_SPEED to override the -mthumb from OPT_SIZE.

svn-id: r51636
2010-08-02 17:11:43 +00:00
Max Horn
57ad040846 DS: Remove now redundant ds-fs.o from PORT_OBJS
svn-id: r51558
2010-07-31 22:48:49 +00:00
Max Horn
4b9df2203f DS: Add shell script which emulates old DS builds using configure&make
svn-id: r51556
2010-07-31 22:43:09 +00:00
Max Horn
450b82355d DS: Fix custom DS build system
svn-id: r51555
2010-07-31 22:42:42 +00:00
Max Horn
148c830d76 DS: Add WRAP_MALLOC support to ds.mk, update comments
svn-id: r51474
2010-07-29 16:24:25 +00:00
Max Horn
8de57b0b29 DS: Get rid of DS_NON_SCUMM_BUILD and DS_SCUMM_BUILD
svn-id: r51473
2010-07-29 16:24:08 +00:00
Max Horn
d22ebd358d BUILD: Unify how MODULE_DIRS is computed for backends
This should help avoid situations where MODULE_DIRS is not set to a
complete list of build dirs (which causes troubles with the automatic
header dependency detection logic).

On the long run, we should replace the relevant code by a macro or also
use rules.mk for this (with yet another if/else case add to it).

svn-id: r51467
2010-07-29 13:03:21 +00:00
Max Horn
264d17ccc7 BUILD: Compile & link certain files only for specific BACKEND values
svn-id: r51465
2010-07-29 13:02:14 +00:00
Tony Puccinelli
ff78cf6771 abstracted an ELF plugin provider
svn-id: r51400
2010-07-28 02:05:17 +00:00
Tony Puccinelli
e8fc5f2070 various manual tweaks to get ds port compiling from branch again after earlier merge from trunk
svn-id: r51398
2010-07-28 00:08:32 +00:00
Tony Puccinelli
58f3e81f00 Continued abstraction of generic ELF-loader, splitting off MIPS-processor specific things into their own files and testing on the PS2
svn-id: r51345
2010-07-27 06:27:45 +00:00
Tony Puccinelli
4e530debd2 moved flushDataCache function from ds-loader.cpp to elf-loader.cpp and moved arm-relocations from ds-loader.cpp to arm-relocs.cpp; deleted ds-loader.cpp
svn-id: r51289
2010-07-26 00:41:31 +00:00
Tony Puccinelli
95f66e6fb2 changed ds makefile to use abstracted ELF-loader with ds-specific additions added to backends/plugins/ds
svn-id: r51236
2010-07-24 07:14:19 +00:00
Tony Puccinelli
155f45cec1 Added linker flags to ensure R_ARM_TARGET1 is treated as R_ARM_ABS32
svn-id: r51188
2010-07-23 01:05:26 +00:00
Tony Puccinelli
8d946ab847 Added code for relocation R_ARM_TARGET1 (untested)
svn-id: r51130
2010-07-22 01:44:45 +00:00
Tony Puccinelli
da414e62b8 switched out linker script for plugin linking on ds, added in check for RELA type relocations in ARM loader and coded for REL type relocations (DS now runs many games with Dynamic Plugins enabled)
svn-id: r51083
2010-07-21 08:50:30 +00:00
Tony Puccinelli
3d3e4e6c39 coded for more relocations, added check for RELA type relocations, added comments
svn-id: r51048
2010-07-20 04:04:13 +00:00
Tony Puccinelli
d5f442dc6b put in initial relocations for R_ARM_ABS32, R_ARM_THM_CALL and R_ARM_V4BX
svn-id: r50942
2010-07-16 20:44:11 +00:00
Tony Puccinelli
03b188468b various dsloader fixes, including initializing _symtab_sect to -1 in the header
svn-id: r50869
2010-07-14 03:57:36 +00:00
Tony Puccinelli
264cb839da changed Elf32_Rela to Elf32_Rel
svn-id: r50868
2010-07-14 03:55:11 +00:00
Tony Puccinelli
6e5b0def20 formatting fix for dsloader.h
svn-id: r50852
2010-07-13 20:20:29 +00:00
Tony Puccinelli
4d92cefb2f Changed loader to use Common::SeekableReadStream (compiles but doesn't run and needs polishing)
svn-id: r50843
2010-07-13 06:48:43 +00:00
Tony Puccinelli
9d06726b69 Started changing loader to use Common::SeekableReadStream
svn-id: r50839
2010-07-13 03:24:06 +00:00