Yotam Barnoy
6817d4b300
PLUGINS: add ELF memory manager to solve fragmentation
...
Following lordhoto's suggestion, I implemented a simple allocator that grabs the size of the biggest available plugin in memory. This is an elegant solution to the fragmentation problem, with the caveat that memory is wasted. As such, it's not suited for the DS, so I added a #define to disable it there.
svn-id: r55009
2010-12-22 14:48:51 +00:00
Max Horn
7760077cf5
Merging the gsoc2010-opengl branch
...
svn-id: r54518
2010-11-28 14:56:31 +00:00
Johannes Schickel
d93698fc1c
BACKENDS: Add a basic logger implementation.
...
This is the logger I posted at our patch tracker. Item #3115757
"OSYSTEM: Basic logger". It includes the changes proposed by Max.
It is currently not hooked into any backend, since we still need to decide
where to log files, whether to have multiple log files etc.
svn-id: r54451
2010-11-24 00:08:26 +00:00
Max Horn
82e473bc3b
BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes only
...
This commit contains the AudioCDManager changes from the gsoc2010-opengl
branch. The other changes in that branch are restricted to the backends
directory only (plus configure).
The Nintendo DS and Dreamcast ports still need to be ported over to
the new Audio CD system, but that should be fairly easy to do.
svn-id: r54147
2010-11-08 22:53:36 +00:00
Yotam Barnoy
3fedacdb43
DC: remove multi-build of dc-provider that slipped in with plugin merge.
...
svn-id: r54058
2010-11-04 05:51:58 +00:00
Fabio Battaglia
74a53df11b
DINGUX: fix compilation for the opengl branch
...
Moved events related code to backends/events/dinguxsdl/*
and move graphics related code to backends/graphics/dinguxsdl/*
Subclass OSystem_POSIX instead of OSystem_SDL
svn-id: r53730
2010-10-23 09:30:26 +00:00
Andre Heider
2596143e2b
PLUGINS: Additional plugin check for the ELF loader.
...
The ELF loader does not have access to the symbols of the main
executable, it just relocates symbols to it via fixed offsets. We need
to make sure that loaded plugins are from the same link process to
prevent crashes. An embedded build date is used for that.
svn-id: r52730
2010-09-15 07:44:08 +00:00
Andre Heider
c4a88559a5
PLUGINS: Move platform specific code out of the generic ELF loader.
...
Instead overwrite pure virtual functions in a backend specific class.
svn-id: r52556
2010-09-05 12:52:17 +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
13770ce9cd
PLUGINS: Plugin support for the GameCube/Wii backend.
...
svn-id: r52553
2010-09-05 12:49:29 +00:00
Tony Puccinelli
34b5eb3ba3
added a todo to plugins.cpp and a comment to elf32.h; Collapsed plugin providers for a few ports into their .h files, removing the corresponding .cpp files
...
svn-id: r52112
2010-08-16 08:41:04 +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
924c4e0c06
removed gp2x-wiz plugin provider from backends/module.mk
...
svn-id: r51847
2010-08-07 22:42:12 +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
6982aed8a4
made MIPSDLObject and PS2 plugin provider that uses it
...
svn-id: r51818
2010-08-07 00:40:15 +00:00
Alejandro Marzini
234aa49f17
Fix dc build.
...
svn-id: r51814
2010-08-06 23: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
Alejandro Marzini
fb4086cadb
Merged from trunk, from Rev 50841 to HEAD
...
svn-id: r51495
2010-07-30 05:28:09 +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
Max Horn
0b48a71c99
Remove PalmOS port
...
svn-id: r50964
2010-07-17 18:41:38 +00:00
Alejandro Marzini
609e08d5db
Merged from trunk, from Rev 49499 to HEAD
...
svn-id: r50840
2010-07-13 04:31:15 +00:00
Alejandro Marzini
386785e2b8
Added OpenGLSDLGraphicsManager.
...
svn-id: r50768
2010-07-09 19:45:56 +00:00
Tony Puccinelli
0b0bc1050b
added ds plugin provider to module.mk
...
svn-id: r50613
2010-07-03 03:47:39 +00:00
Alejandro Marzini
a35db656d3
Modularized GP2X backend. Renamed GP2XWIZSdlEventManager to GP2XSdlEventManager, and added GP2X code.
...
svn-id: r50542
2010-07-01 06:07:24 +00:00
Alejandro Marzini
c174d5327b
Modularized GP2XWIZ backend.
...
svn-id: r50514
2010-06-30 04:46:55 +00:00
Alejandro Marzini
afd2a2c01d
Renamed Samsung TV SDL Event Manager class and file for constancy, and added initialization for it on Samsung TV backend.
...
svn-id: r50481
2010-06-29 05:00:44 +00:00
Alejandro Marzini
06290230d5
Updated makefile. Fixed compile errors.
...
svn-id: r50475
2010-06-29 01:21:30 +00:00
Alejandro Marzini
62ac3982aa
Modularized Symbian port.
...
svn-id: r50356
2010-06-26 23:05:37 +00:00
Alejandro Marzini
51b23dbfcc
Fixed build error.
...
svn-id: r50342
2010-06-26 20:59:58 +00:00
Alejandro Marzini
16788e5e33
Updated makefile.
...
svn-id: r50306
2010-06-26 05:05:46 +00:00
Tony Puccinelli
231a70ca43
added wiz plugin provider to backends/module.mk
...
svn-id: r50300
2010-06-26 02:42:50 +00:00
Alejandro Marzini
86a502c1de
Renamed MacOSXMixerManager to BufferingSDLMixerManager.
...
svn-id: r50223
2010-06-24 17:13:32 +00:00
Max Horn
3cd521ec30
Update build system
...
svn-id: r49664
2010-06-14 18:19:16 +00:00
Alejandro Marzini
77f114b835
Added SdlTimerManager. Added getMillis, delayMillis and getTimeAndDate to Common::TimerManager, DefaultTimerManager and ModularBackend. Removed timer code from OSystem_SDL.
...
svn-id: r49637
2010-06-13 21:09:52 +00:00
Alejandro Marzini
a77738e53b
Updated makefiles.
...
svn-id: r49636
2010-06-13 20:33:54 +00:00
Alejandro Marzini
9e90858305
Removed deleted DefaultMutexManager from makefile.
...
svn-id: r49557
2010-06-10 03:20:00 +00:00
Alejandro Marzini
4fe0b4e1ad
Renamed and moved DefaultGraphicsManager to NullGraphicsManager. Added pure virtual class GraphicsManager.
...
svn-id: r49528
2010-06-08 23:44:05 +00:00
Alejandro Marzini
7e9d54a69a
Added Graphics and Mutex managers to makefile.
...
svn-id: r49498
2010-06-08 03:03:03 +00:00
Tony Puccinelli
2712012d0e
minor modification to accomodate dynamic plugins for ps2
...
svn-id: r49367
2010-06-01 00:57:45 +00:00
Jordi Vilalta Prat
9d72dde5e7
Fix trunk compilation (don't try to compile non-existing files)
...
svn-id: r49365
2010-05-31 22:58:22 +00:00
Tony Puccinelli
c9a38abf60
modifications to get the ps2 to use the ps2loader
...
svn-id: r49363
2010-05-31 22:41:46 +00:00
Alejandro Marzini
16c559a095
Added again base-backend. Started sdl backend refatoring, file, mutex and timer subsystems created.
...
svn-id: r49305
2010-05-29 01:56:34 +00:00
Alejandro Marzini
6b3d268e23
Created base virtual classes for backends subsystems.
...
Removed base-backend, it won't be needed anymore.
svn-id: r49284
2010-05-28 05:03:32 +00:00
Yotam Barnoy
50847c02a6
PSP: moved timer thread to backends/timer/psp
...
svn-id: r49173
2010-05-24 03:05:17 +00:00
Fabio Battaglia
3a418c13a7
remove bad hackery caused by n64 port and avoid polluting StdioStream using a custom Stream subclass
...
svn-id: r46777
2009-12-30 22:56:19 +00:00
Fabio Battaglia
a108df30a7
Add Nintendo 64 port to trunk.
...
svn-id: r46773
2009-12-30 21:11:38 +00:00
Joost Peters
7bf181bf98
Slightly modified version of patch #2875544 : PSP plugins patch
...
svn-id: r44822
2009-10-09 12:10:08 +00:00
Max Horn
76132409d6
Removed Mac OS X QuickTime MIDI backend. It breaks on OS X 10.6, and it's not as good as the CoreAudio backend anyway
...
svn-id: r44428
2009-09-27 22:43:32 +00:00
Joost Peters
62bcb2e51b
Commit (slightly) modified version of patch #2831248 : Allow suspend/resume for PSP
...
svn-id: r43477
2009-08-17 12:57:37 +00:00