Commit Graph
194 Commits
Author SHA1 Message Date
Tony Puccinelli 145d8899df added some comments to shorts-segment-manager, moved main engine linker script for ps2 into the plugins folder as it is only used when dynamic plugins are enabled
svn-id: r51447
2010-07-28 23:17:39 +00:00
Tony Puccinelli ff78cf6771 abstracted an ELF plugin provider
svn-id: r51400
2010-07-28 02:05:17 +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 4da73f4a38 added necessary #includes to loader
svn-id: r50910
2010-07-15 05:25:19 +00:00
Tony Puccinelli e6c9dc4d6c Fixed function prototype typos
svn-id: r50909
2010-07-15 05:07:59 +00:00
Tony Puccinelli 625230a8a9 restructured ps2loader to use Common::SeekableReadStream instead of a file descriptor
svn-id: r50903
2010-07-15 02:45:49 +00:00
Tony Puccinelli fd507fdba0 fixed errors in linker scripts that were preventing GP-relative section for small data from working correctly
svn-id: r50138
2010-06-22 09:55:40 +00:00
Tony Puccinelli 8d2df5b7d9 fixed dependency typo
svn-id: r50105
2010-06-21 07:20:16 +00:00
Tony Puccinelli c49760d780 changed which modified linker to use for plugin.ld as loading from USB-drive seemed to break after last commit. Also added some comments to the linkers.
svn-id: r49676
2010-06-14 23:39:07 +00:00
Tony Puccinelli 819bbfba01 changed DBG to printf instead of sioprintf
svn-id: r49626
2010-06-13 08:26:39 +00:00
Tony Puccinelli fb54698b37 loadable modules working for ps2
svn-id: r49617
2010-06-13 05:57:24 +00:00
Tony Puccinelli a302fdb2c4 changed DBG to use sioprintf but temporarily commented out those statements
svn-id: r49588
2010-06-11 01:08:47 +00:00
Tony Puccinelli d6b194aaa8 added tentative GDB flag to Makefile, changed calls to psp-functions to equivalent ps2-functions in ps2loader, minor rearrangement of code in systemps2
svn-id: r49530
2010-06-09 04:04:34 +00:00
Tony Puccinelli dcdebf60b0 rearranged Makefile for clarity and added comments
svn-id: r49493
2010-06-07 19:54:14 +00:00
Tony Puccinelli d4e33a9284 Makefile tweaked so plugins build for PS2 and uncommented code from default-saves.cpp
svn-id: r49463
2010-06-06 22:24:33 +00:00
Tony Puccinelli 179dc6446d use modified version of a different linker for linking plugins for PS2
svn-id: r49462
2010-06-06 21:57:09 +00:00
Tony Puccinelli 7899532815 added dynamic plugins stuff to configure
svn-id: r49446
2010-06-06 00:47:21 +00:00
Tony Puccinelli 95e56f2052 merged trunk into branch and corrected __PS2__ to __PLAYSTATION2__ in a couple files
svn-id: r49435
2010-06-05 01:05:19 +00:00
Tony Puccinelli 28e28a2fea further tweaks to Makefile and main linker
svn-id: r49422
2010-06-04 07:46:07 +00:00
Tony Puccinelli f47d5bd35a minor correction to makefile
svn-id: r49401
2010-06-03 02:39:11 +00:00
Tony Puccinelli 3c1034dbbb modified linker now both compiles and runs when dynamic modules turned off
svn-id: r49400
2010-06-03 02:36:18 +00:00
Tony Puccinelli f1ae25baa8 compiles with modified linker when dynamic plugins turned off now
svn-id: r49399
2010-06-03 00:46:24 +00:00
Max Horn caf1a6bee4 Remove dead code from PS2 and GP2x backends
svn-id: r49374
2010-06-01 15:38:09 +00:00
Tony Puccinelli d9e4607869 makefile tweaked a bit more towards accomodating loadable modules for ps2
svn-id: r49371
2010-06-01 05:27:35 +00:00
Tony Puccinelli e04b6b7ea0 changed ps2 makefile and other files to use the ps2loader
svn-id: r49368
2010-06-01 01:05:09 +00:00
Jordi Vilalta Prat 400542a1fe Revert the rest of 49362, which wasn't meant for trunk
svn-id: r49366
2010-05-31 23:04:30 +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
Tony Puccinelli df2ee91e45 added svn keywords 'Id' and 'URL' to new files
svn-id: r49282
2010-05-28 00:53:18 +00:00
Tony Puccinelli 2532c92fe1 typo fix
svn-id: r49281
2010-05-28 00:27:37 +00:00
Tony Puccinelli 19f0b41f87 was using the modified linker for the psp for plugins.ld. Now it's a modified version of the default linker for the ps2 compiler
svn-id: r49280
2010-05-28 00:21:35 +00:00
Tony Puccinelli 7682a5f815 was using the default linker for the psp. Now a modified version of the default linker for the ps2 compiler
svn-id: r49278
2010-05-27 23:47:31 +00:00
Tony Puccinelli 0fdfd5d47b added files for ps2 loadable modules (mainly transplanted from psp code with VERY minor tweaks)
svn-id: r49256
2010-05-27 05:03:09 +00:00
Andre Heider a3e428f6db Rename DISABLE_*SCALERS to USE_*SCALERS, and move the mk/cpp defines to configure.
svn-id: r48977
2010-05-09 11:00:17 +00:00
Max Horn 81a698d0a0 Convert some occurences of StringList to StringArray;
try to fix compile error in GP2x code

svn-id: r48286
2010-03-18 15:44:59 +00:00
Max Horn 9b837d66d4 Replace Audio::MixerImpl::setOutputRate with a new 'sampleRate' param to the MixerImpl constructor
svn-id: r48238
2010-03-11 23:39:51 +00:00
Torbjörn Andersson 9a85b1284b Silenced some more cppcheck style warnings.
svn-id: r47628
2010-01-28 05:20:52 +00:00
Johannes Schickel aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn e68a05ea60 PS2: Further tweak PS2FileStream; fix potential leak in ps2_fopen
svn-id: r46115
2009-11-23 23:32:34 +00:00
Max Horn fc84e258b2 PS2: Add new PS2FileStream class for std I/O.
* Add new class PS2FileStream as substitute for class StdioStream on PS2
* Remove PS2 specific hacks from stdiostream.cpp / class StdioStream
* Remove various ps2_f*() wrapper funcs, merging them into PS2FileStream

TODO: Merge class Ps2File into PS2FileStream

svn-id: r46111
2009-11-23 23:17:50 +00:00
Max Horn 3d342bec3c PS2 & NDS: Remove ps2_fprintf and some useless typedefs and #defines; use fputs instead of fprintf
svn-id: r46107
2009-11-23 22:29:39 +00:00
Max Horn 6312da6d13 PS2: cleanup
svn-id: r46105
2009-11-23 22:28:44 +00:00
Max Horn 9e5b8b4a33 PS2: Remove custom OSystem::fillScreen implementation as well as clearScreen()
svn-id: r45973
2009-11-18 13:59:36 +00:00
Max Horn 81762edf33 Remove Igor engine
svn-id: r45898
2009-11-14 13:11:06 +00:00
Max Horn 94cd102974 PS2: Clarify licensing terms for some files
svn-id: r45045
2009-10-13 19:12:25 +00:00
Max Horn c59c10ac08 PS2: Replace license header on irx_imports.h by a GPL one. These files
contains trivial content and are not really 'copyrightable' anyway.

svn-id: r45043
2009-10-13 19:00:09 +00:00
Max Horn 2e964baeef Some const correctness changes; cleanup
svn-id: r44850
2009-10-09 21:47:33 +00:00
Max Horn 8549e48707 PS2: Fix warnings
svn-id: r44813
2009-10-09 10:05:45 +00:00
Max Horn cc236d9799 PS2: Add some stubs for the ps2 port to our primary build system (incomplete WIP)
svn-id: r44800
2009-10-08 20:59:53 +00:00
Max Horn 42120ed626 Introduce a new struct TimeDate, replacing struct tm in client code. May lead to compilation issues in ports, which should be trivial to fix, though
svn-id: r44793
2009-10-08 19:41:38 +00:00
Max Lingua 36c2625f07 Here we have:
- dropped gBitFormat 

 - added extra param "const Graphics::PixelFormat *" to 

    OSystem_PS2::initSize

    OSystem_PS2::setMouseCursor

Note! To compile on SVN you will have (for now ;-) to create
few few empty folders by hand, note very elegant but will
keep you going until when we (ehm...) refine the PS2 Makefile.

Here comes the brute force script I use inside backends/platform/ps2

mkdir -p backends/platform/ps2
mkdir -p base
mkdir -p engines/scumm
mkdir -p engines/scumm/he
mkdir -p engines/scumm/imuse
mkdir -p engines/scumm/imuse_digi
mkdir -p engines/scumm/insane
mkdir -p engines/scumm/smush
mkdir -p engines/agi
mkdir -p engines/agos
mkdir -p engines/cine
mkdir -p engines/cruise
mkdir -p engines/drascula
mkdir -p engines/gob
mkdir -p engines/gob/demos
mkdir -p engines/gob/save
mkdir -p engines/gob/sound
mkdir -p engines/igor
mkdir -p engines/igor/parts
mkdir -p engines/kyra
mkdir -p engines/lure
mkdir -p engines/made
mkdir -p engines/parallaction
mkdir -p engines/queen
mkdir -p engines/saga
mkdir -p engines/sky
mkdir -p engines/sky/music
mkdir -p engines/sword1
mkdir -p engines/sword2
mkdir -p engines/touche
mkdir -p gui
mkdir -p graphics
mkdir -p graphics/fonts
mkdir -p graphics/scaler
mkdir -p graphics/video
mkdir -p graphics/video/coktelvideo
mkdir -p sound
mkdir -p sound/mods
mkdir -p sound/softsynth
mkdir -p sound/softsynth/opl
mkdir -p backends/events/default
mkdir -p backends/fs
mkdir -p backends/fs/amigaos4
mkdir -p backends/fs/ds
mkdir -p backends/fs/palmos
mkdir -p backends/fs/posix
mkdir -p backends/fs/ps2
mkdir -p backends/fs/psp
mkdir -p backends/fs/symbian
mkdir -p backends/fs/windows
mkdir -p backends/fs/wii
mkdir -p backends/keymapper
mkdir -p backends/midi
mkdir -p backends/plugins/dc
mkdir -p backends/plugins/posix
mkdir -p backends/plugins/sdl
mkdir -p backends/plugins/win32
mkdir -p backends/saves
mkdir -p backends/saves/default
mkdir -p backends/saves/posix
mkdir -p backends/saves/psp
mkdir -p backends/timer/default
mkdir -p backends/vkeybd
mkdir -p common

I know, you don't need all those "-p" but it looks more consistent ;-)

svn-id: r44683
2009-10-05 23:46:39 +00:00