Tomasz Malesinski
80da8b141c
FS#6357, patch 1: let iramcopy and bss share the same space in codecs and
...
plugins. Currently, in case of plugins using IRAM bss is cleared twice,
once in the loader, once in PLUGIN_IRAM_INIT. For codecs, bss is cleared only
during codec initialization. Also, removed double variables in codecs
storing a pointer to codec_api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11606 a1c6a512-1295-4272-9138-f99709370657
2006-11-26 18:31:41 +00:00
Michael Sevakis
acc29d95be
SWCODEC/IRAM: Save voice IRAM when a plugin initializes its IRAM. Defines two macros for declaring and initializing IRAM. Plugins should use these instead. See mp3_encoder, doom, etc. for details. Further tweaks in buffer restoration after other use. Hiding of some interfaces that should only be used by buffer management.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11544 a1c6a512-1295-4272-9138-f99709370657
2006-11-18 02:18:29 +00:00
Karl Kurbjun
d6b0c97312
Don't need to remove the backdrop for all plugins - leave it up for some.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11526 a1c6a512-1295-4272-9138-f99709370657
2006-11-15 06:14:27 +00:00
Jens Arnold
a19faaed63
Doom bugfix: updating a saved tranmap didn't work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11438 a1c6a512-1295-4272-9138-f99709370657
2006-11-05 17:45:54 +00:00
Jens Arnold
a796260a6b
Next step of Makefile tuning: * Use 'make' internal commands for printing messages. Saves build time especially on cygwin. * SILENT variable used in more places. * Bitmap build system uses one Makefille less.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11369 a1c6a512-1295-4272-9138-f99709370657
2006-10-27 21:48:06 +00:00
Barry Wardell
24f4a2a8cf
Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the nice image of the Sansa. Lots more to be done including testing and tweaking the keymaps and modifying the plugins for the Sansa's 176x220 LCD.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11351 a1c6a512-1295-4272-9138-f99709370657
2006-10-26 13:38:09 +00:00
Jens Arnold
d1ce4e779e
Consistent style of 'make' messages. Always use ranlib after ar.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11322 a1c6a512-1295-4272-9138-f99709370657
2006-10-23 22:33:39 +00:00
Marcoen Hirschberg
5825b2c84f
rearrange compiler options to avoid conflicts with header files on FreeBSD
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11317 a1c6a512-1295-4272-9138-f99709370657
2006-10-23 14:09:28 +00:00
Jens Arnold
0cc8b7113c
Speed up build process in general by using internal functions of make instead of spawning sub-shells where possible.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11307 a1c6a512-1295-4272-9138-f99709370657
2006-10-22 00:21:57 +00:00
Karl Kurbjun
4caa676a9c
Deboost under all exits for rockdoom thanks to patch 5851 by David Dent
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11100 a1c6a512-1295-4272-9138-f99709370657
2006-10-01 01:07:45 +00:00
Barry Wardell
ce74dc0743
Cleaner implementation of the recent OSX simulator build fix. No need to define SHARED_FLAG in each Makefile. Just have configure create it in the root Makefile instead.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11095 a1c6a512-1295-4272-9138-f99709370657
2006-09-29 20:04:36 +00:00
Barry Wardell
64f949f295
Allow UI simulator to be build on OS (Slightly updated version of FS5767)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11094 a1c6a512-1295-4272-9138-f99709370657
2006-09-29 16:15:11 +00:00
Barry Wardell
cf7600d2d2
Fix sound in Doom on H10 - we don't support 11025Hz so use 44100Hz instead.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10895 a1c6a512-1295-4272-9138-f99709370657
2006-09-05 23:41:34 +00:00
Barry Wardell
d939663ee9
Fix not being able to exit Doom on the H10.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10887 a1c6a512-1295-4272-9138-f99709370657
2006-09-05 00:23:06 +00:00
Jens Arnold
59d1952693
Make doom work with sound on X5.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10758 a1c6a512-1295-4272-9138-f99709370657
2006-08-26 15:03:48 +00:00
Daniel Stenberg
871be001f7
Convert the "short ciruit operator madness" to plain and simple code that
...
doesn't cause warnings in gcc 4.1.x.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10613 a1c6a512-1295-4272-9138-f99709370657
2006-08-16 13:31:40 +00:00
Jens Arnold
8062f9184c
Correct calculation of necessary buffer size to give maximum number of shades on iPod Mini.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10514 a1c6a512-1295-4272-9138-f99709370657
2006-08-10 18:34:43 +00:00
Jens Arnold
ad9c9cc651
Use striped buffering for grayscale targets to make the buffer fit on iPod g3/g4. Also slightly faster (at least on H1x0) with the buffer in IRAM.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10470 a1c6a512-1295-4272-9138-f99709370657
2006-08-07 02:44:18 +00:00
Jens Arnold
e6ff242184
Fix red iPod g3 build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10469 a1c6a512-1295-4272-9138-f99709370657
2006-08-07 01:57:29 +00:00
Jens Arnold
c214e7bb0c
Grayscale library ported to the grayscale iPods, first version. Added C reference versions of gray_update_rect() for both horizontal and vertical pixel packing. gray_update_rect() and gray_ub_gray_bitmap_part() not yet assembler optimised. Grayscale screendump doesn't work yet. * Fixed button assignments for iPod in grayscale.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10468 a1c6a512-1295-4272-9138-f99709370657
2006-08-07 01:46:42 +00:00
Daniel Stenberg
1e88be518a
Barry Wardell's keymappings for H10
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 20:17:25 +00:00
Jens Arnold
628d20a610
Grayscale library: LCD linearisation and gamma correction.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10402 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 00:22:01 +00:00
Linus Nielsen Feltzing
c849219370
Moved the X5 button driver to the target tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10339 a1c6a512-1295-4272-9138-f99709370657
2006-07-27 13:27:31 +00:00
Karl Kurbjun
26dd5c5e9c
Fix the menu start for rockdoom
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10097 a1c6a512-1295-4272-9138-f99709370657
2006-06-10 18:47:11 +00:00
Dave Chapman
830ec63b4b
Stop playback before starting to use IRAM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9947 a1c6a512-1295-4272-9138-f99709370657
2006-05-15 21:25:43 +00:00
Karl Kurbjun
65c15eb50b
Better video update, add options to startup menu, change default screensize
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9754 a1c6a512-1295-4272-9138-f99709370657
2006-04-22 03:48:15 +00:00
Karl Kurbjun
29ab31e8f1
Optimizations for doom: coldfire asm drawspan routine = not much, fixed point multiply changes = not much, H300 asm lcd update = some, IRAM sound updates and simplifications = more
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9747 a1c6a512-1295-4272-9138-f99709370657
2006-04-20 19:39:56 +00:00
Karl Kurbjun
6b90467f69
Add better error message for messed up graphics.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9707 a1c6a512-1295-4272-9138-f99709370657
2006-04-17 19:54:18 +00:00
Karl Kurbjun
08b417f149
Properly cache animations at level start. Switches still need some caching code. Added a debug cache flag for use in the sim to w_wad.c. Should be taken out when switches are handled.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9706 a1c6a512-1295-4272-9138-f99709370657
2006-04-17 19:42:08 +00:00
Karl Kurbjun
9f2be9b17f
Add in error return if appropriate.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9702 a1c6a512-1295-4272-9138-f99709370657
2006-04-17 05:01:33 +00:00
Karl Kurbjun
b0722d11c1
Changed the way the addons and demos menus are displayed and built. Should be a good setup for adding multiple wad files as addons. Need to add some status feedback to let the user know what has been selected previously.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9701 a1c6a512-1295-4272-9138-f99709370657
2006-04-17 04:38:26 +00:00
Karl Kurbjun
c87f98ce7f
Finally add support for unlimited number of addons and demos. Also cleaned up the code and made a general function to handle the addons and demos.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9700 a1c6a512-1295-4272-9138-f99709370657
2006-04-17 03:09:29 +00:00
Zakk Roberts
cc8f80ad9b
Temporary fix for the high-pitched sounds on iPod: they should sound correct now, but the real problem (frequency adjustment) still needs fixing; this is merely a workaround.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9698 a1c6a512-1295-4272-9138-f99709370657
2006-04-17 01:35:09 +00:00
Karl Kurbjun
6f8af215b9
Some code cleanup. Adds Always run to configuration options.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9697 a1c6a512-1295-4272-9138-f99709370657
2006-04-17 00:37:51 +00:00
Karl Kurbjun
295c226ed5
Fix run so that it stays enabled across level loads. Removed some unused code and added some back in for hopeful future use.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9692 a1c6a512-1295-4272-9138-f99709370657
2006-04-16 23:14:04 +00:00
Karl Kurbjun
f7872ac61b
Decrease doom's code size and some code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9690 a1c6a512-1295-4272-9138-f99709370657
2006-04-16 21:16:09 +00:00
Dave Chapman
75a1426004
Disable some unused code (code used in network play) to bring the plugin size back down to under 512KB on the ipod video - more work needs to be done to further decrease the plugin size.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9683 a1c6a512-1295-4272-9138-f99709370657
2006-04-16 00:59:41 +00:00
Karl Kurbjun
4e2a74c2b4
Slight code cleanups, fixed sound parameter - now it saves. Old configurations will be reset.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9682 a1c6a512-1295-4272-9138-f99709370657
2006-04-15 22:08:36 +00:00
Karl Kurbjun
993545b4fb
Start of profiling support for doom.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9667 a1c6a512-1295-4272-9138-f99709370657
2006-04-14 21:07:56 +00:00
Karl Kurbjun
22a81d7c76
Prevent non-standard wads (most notably GP32 wads) that should not run from ever making it into game (avoid freezes, data aborts, memory corruption, etc..)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9647 a1c6a512-1295-4272-9138-f99709370657
2006-04-13 18:36:11 +00:00
Christian Gmeiner
a91b794cb2
use #ifdef x instead of #if defined(x)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9581 a1c6a512-1295-4272-9138-f99709370657
2006-04-09 15:00:30 +00:00
Christian Gmeiner
eb7d4f88ea
HAVE_ADJUSTABLE_CPU_FREQ isn't defined for simulators, so we don't have to check for simulator builds before using cpu_boost()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9580 a1c6a512-1295-4272-9138-f99709370657
2006-04-09 14:50:43 +00:00
Dave Chapman
2ee282396f
Add a simple header and version number to the default.dfg config file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9570 a1c6a512-1295-4272-9138-f99709370657
2006-04-08 22:53:26 +00:00
Karl Kurbjun
b41cf31e2c
Fix warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9543 a1c6a512-1295-4272-9138-f99709370657
2006-04-06 21:35:34 +00:00
Karl Kurbjun
0242912a2d
Scaling code fixed by clamping down the width to a max of SCREENWIDTH. Removed some #ifdefs for glprboom
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9542 a1c6a512-1295-4272-9138-f99709370657
2006-04-06 21:31:49 +00:00
Thom Johansen
cf23618980
Fix GCC trying to use memcpy for GCC 4.1 and allow Doom to compile.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9539 a1c6a512-1295-4272-9138-f99709370657
2006-04-06 20:44:33 +00:00
Thom Johansen
63b3b0c024
Remove workaround for broken ARM memset.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9520 a1c6a512-1295-4272-9138-f99709370657
2006-04-05 15:43:42 +00:00
Karl Kurbjun
45f2df0eba
Fix finale text and try and prevent some data corruption due to the scaling code. Also allows the non-standard GP32 mods to work with some bounds checking. More comments are in v_video.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9511 a1c6a512-1295-4272-9138-f99709370657
2006-04-05 06:37:37 +00:00
Karl Kurbjun
4ff8744e55
Fix automap coordinates
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9509 a1c6a512-1295-4272-9138-f99709370657
2006-04-05 00:20:32 +00:00
Karl Kurbjun
36259dafe9
Make savegame strings more informative
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9508 a1c6a512-1295-4272-9138-f99709370657
2006-04-04 23:58:37 +00:00