Jens Arnold
b701322fea
Rockbox compiles and boots now on the 2nd gen, but doesn't work properly yet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14021 a1c6a512-1295-4272-9138-f99709370657
2007-07-27 09:57:27 +00:00
Kevin Ferrare
011a325e32
Makes apps and plugins interract with directories using a posix-like api instead of calling dircache / simulator functions (no additionnal layer added, only a cosmetic change)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13943 a1c6a512-1295-4272-9138-f99709370657
2007-07-20 17:06:55 +00:00
Michael Sevakis
4597ebe24b
Plugins that play sound must be sure to set inputs and outputs on audio muxed targets. Add strict adherence to the interface protocols. Make sure playback sets the playback output as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13604 a1c6a512-1295-4272-9138-f99709370657
2007-06-10 02:10:47 +00:00
Karl Kurbjun
aec5814d43
Some fixes to doom dehacked loading - make embedded dehacked files actually load, fix end of file detection in the string loader, fix ammo changes, fix bex code pointers. Also added the * flag to sscanf - still only tested against rockdoom sscanf calls.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13547 a1c6a512-1295-4272-9138-f99709370657
2007-06-03 22:03:36 +00:00
Michael Sevakis
8970055ec1
Hopefully take care of the scrollwheel difficulties in plugins on e200.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13460 a1c6a512-1295-4272-9138-f99709370657
2007-05-22 06:31:44 +00:00
Dave Chapman
f02cba8096
Code cleaning - remove some unnecessary defined(SIMULATOR) checks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13369 a1c6a512-1295-4272-9138-f99709370657
2007-05-10 13:16:08 +00:00
Jonathan Gordon
77a458a464
Move the old api out of the core and into the plugin lib.
...
ew plugins shuold use the new api and not this one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13358 a1c6a512-1295-4272-9138-f99709370657
2007-05-08 11:55:43 +00:00
Michael Sevakis
26d242ae65
General housekeeping: Make plugin buffer functions take size_t * instead of int * to match the parameter type of the buffer functions called in the core. Get rid of unsafe int * <==> size_t * casting. Use ssize_t where int was used and size_t where unsigned int was used in the buffer calls to not alter signedness in the plugins. No API version change since it should only be an issue for 64-bit sim builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13233 a1c6a512-1295-4272-9138-f99709370657
2007-04-21 18:38:25 +00:00
Jens Arnold
79c8a8cbbe
Let GCC check arguments of some more printf-style functions, also for plugins and codecs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12815 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 09:02:53 +00:00
Jens Arnold
85a226d4e7
Rename some macros to account for the recently added M5 port. No code changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12809 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 23:02:39 +00:00
Jens Arnold
4d6374c923
Get rid of the 'center' parameter for splashes. There were only 2 of almost 500 splashes which were not centered.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 21:56:08 +00:00
Tom Ross
2ad25c8818
Kill a few warnings in plugins.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12366 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 23:06:22 +00:00
Paul Louden
d17de72c60
Make our Doom plugin see the Doom wad we provide and list "Freedoom" as
...
its own entry in the supported game list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12353 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 17:51:44 +00:00
Jens Arnold
e393b8e359
Replaced some explicit options for target linking with to be consistent with the sims.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12318 a1c6a512-1295-4272-9138-f99709370657
2007-02-15 20:28:08 +00:00
Jens Arnold
6b0fdae0f6
Removed unused 'mode' parameter from mkdir() for consistency with creat().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12183 a1c6a512-1295-4272-9138-f99709370657
2007-02-03 10:28:55 +00:00
Marcoen Hirschberg
9848bf6159
use 11025Hz on all players that support it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12067 a1c6a512-1295-4272-9138-f99709370657
2007-01-18 15:44:17 +00:00
Karl Kurbjun
b47a43aa28
Doom for the Gigabeat and some code reduction
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12051 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 18:52:24 +00:00
Dominik Riebeling
028e8e9ee2
Change the gamedata folder for doom to /.rockbox/doom to go in line with other game plugins. Closes FS#5903. Adjust manual too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11998 a1c6a512-1295-4272-9138-f99709370657
2007-01-13 15:16:10 +00:00
Linus Nielsen Feltzing
cf8251281c
Removed executable flag
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11966 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 23:22:14 +00:00
Dan Everton
5efed097fd
Implement pcm_set_frequency in the sim. Update Doom plugin to have sound in the simulator.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11916 a1c6a512-1295-4272-9138-f99709370657
2007-01-05 10:30:18 +00:00
Michael Sevakis
110ae31e2f
Oops. Forgot rockmacros.h.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11805 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 17:49:04 +00:00
Michael Sevakis
bb7d7eca8c
Doom plugin: Enable reading of DEH files. Please test for real though. :)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11804 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 17:38:21 +00:00
Michael Sevakis
84a013ea41
Attempt at fixing 64-bit sim warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11788 a1c6a512-1295-4272-9138-f99709370657
2006-12-17 14:47:12 +00:00
Karl Kurbjun
29a13872d7
Free more plugin memory
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11743 a1c6a512-1295-4272-9138-f99709370657
2006-12-13 06:52:10 +00:00
Karl Kurbjun
4084b5d478
Will it fit?
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11742 a1c6a512-1295-4272-9138-f99709370657
2006-12-13 05:46:51 +00:00
Karl Kurbjun
73509fc05e
Another file missed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11741 a1c6a512-1295-4272-9138-f99709370657
2006-12-13 05:12:02 +00:00
Karl Kurbjun
9516afce64
Helps to add in the header
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11739 a1c6a512-1295-4272-9138-f99709370657
2006-12-13 04:52:45 +00:00
Karl Kurbjun
7e6f74e429
Dehacked and BEX support for Doom - currently only supports a DEHACKED file in a WAD (not as a standalone file yet).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11738 a1c6a512-1295-4272-9138-f99709370657
2006-12-13 04:44:17 +00:00
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