Commit graph

1730 commits

Author SHA1 Message Date
Paul Louden
4f711da546 Fix a bug concerning difficulty, pointed out by DerPapst in IRC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13592 a1c6a512-1295-4272-9138-f99709370657
2007-06-07 22:04:27 +00:00
Antoine Cellerier
e8c94d898d * Speed up the level transition in Star for iPod Video (else it's sloooooow).
* Remove a bunch of trailing spaces.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13578 a1c6a512-1295-4272-9138-f99709370657
2007-06-06 21:10:48 +00:00
Antoine Cellerier
d90042dbaa Fix drawing on overlaping qixes on B&W displays.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13577 a1c6a512-1295-4272-9138-f99709370657
2007-06-06 20:55:42 +00:00
Antoine Cellerier
45cfca85c5 Yet some more optimisation and recorder/ondio related bug fixing for Xobox.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13576 a1c6a512-1295-4272-9138-f99709370657
2007-06-06 20:48:01 +00:00
Antoine Cellerier
0150e4d159 Fix bitmap drawing for b&w targets on xobox.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13567 a1c6a512-1295-4272-9138-f99709370657
2007-06-05 22:37:49 +00:00
Antoine Cellerier
cdc295dcae Add recorder and ondio support to Xobox.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13566 a1c6a512-1295-4272-9138-f99709370657
2007-06-05 21:49:51 +00:00
Antoine Cellerier
89fee25454 Xobox: really make it fast. Plays smoothly on Video iPod even at fastest speed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13565 a1c6a512-1295-4272-9138-f99709370657
2007-06-05 19:52:21 +00:00
Antoine Cellerier
3611b4c8d8 * xobox.c: Fix speed range.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13549 a1c6a512-1295-4272-9138-f99709370657
2007-06-04 07:30:19 +00:00
Antoine Cellerier
3240c01611 * xobox.c: User configurable speed and difficulty levels.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13548 a1c6a512-1295-4272-9138-f99709370657
2007-06-03 22:19:56 +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
Antoine Cellerier
7428b79de3 * minesweeper.c: Cosmetics.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13546 a1c6a512-1295-4272-9138-f99709370657
2007-06-03 22:00:48 +00:00
Antoine Cellerier
ffcc94ea92 * xobox.c: Don't call lcd_clear_display() since we're redrawing every single screen pixel afterwards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13545 a1c6a512-1295-4272-9138-f99709370657
2007-06-03 21:09:32 +00:00
Antoine Cellerier
e9680ae24f * xobox.c: simplify a bit more.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13544 a1c6a512-1295-4272-9138-f99709370657
2007-06-03 17:48:25 +00:00
Antoine Cellerier
b5d5f7fb2a * xobox.c: - Speed it up (makes it play without lag on iPod Video).
- Fix wrong qix angle after hiting wall.
           - Fix area with qix being filled if qix was on the wall (during rebound).
           - Fix rendering of qixes when they overlap.
           - Change the player and qix bitmaps so that they're centered on the 8x8 block.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13543 a1c6a512-1295-4272-9138-f99709370657
2007-06-03 17:34:23 +00:00
Nils Wallménius
52a64c3af9 Correct butoon help text for ipods, fixes FS#7243
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13535 a1c6a512-1295-4272-9138-f99709370657
2007-06-01 21:29:53 +00:00
Nils Wallménius
be0cbc9406 Oops forgot to svn add new files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13516 a1c6a512-1295-4272-9138-f99709370657
2007-05-29 16:37:15 +00:00
Nils Wallménius
3e190c814a Accept FS#7209 by Mauricio Peccorini, Make chessbox able to view games stored in PGN format
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13515 a1c6a512-1295-4272-9138-f99709370657
2007-05-29 16:33:16 +00:00
Jens Arnold
0416452981 Wavrecord: Let the menu start at the most convenient item.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13501 a1c6a512-1295-4272-9138-f99709370657
2007-05-28 08:32:55 +00:00
Dave Chapman
1186c18c3a Adapt Pacbox for the Sansa's LCD - it was using the ipod Nano display routine before.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13494 a1c6a512-1295-4272-9138-f99709370657
2007-05-26 08:48:44 +00:00
Dave Chapman
621725a2b8 Fix compilation on the H10 - it doesn't have BUTTON_SELECT.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13484 a1c6a512-1295-4272-9138-f99709370657
2007-05-23 20:51:47 +00:00
Jens Arnold
73ef83f579 Extended test_disk plugin: * Measure directory manipulation speed (file create/open/delete, directory scan) and file create/write/read access speed for several buffer sizes. * Added log file writing (one file per menu action).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13475 a1c6a512-1295-4272-9138-f99709370657
2007-05-22 20:49:22 +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
Michael Sevakis
14b639d179 wavrecord needs its own source count. Source defines also collided with some new constants and that was part of the problem too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13451 a1c6a512-1295-4272-9138-f99709370657
2007-05-20 21:17:04 +00:00
Michael Sevakis
6dbf4081df Fix the wavrecord errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13450 a1c6a512-1295-4272-9138-f99709370657
2007-05-20 20:59:33 +00:00
Jonathan Gordon
b85817a5ba Update some comments in menu.h to be hopefully more helpful.
Fix all the wrong usage of rb->do_menu() (my fault, sorry)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13439 a1c6a512-1295-4272-9138-f99709370657
2007-05-20 08:26:27 +00:00
Marcoen Hirschberg
5b0ced85c3 directly calculate some defines from the screen size
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13437 a1c6a512-1295-4272-9138-f99709370657
2007-05-20 00:19:53 +00:00
Marcoen Hirschberg
a7168feeac attempt to make the Gigabeat button mappings in the plugins more logical and in line with the mapping in rockbox itself
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13436 a1c6a512-1295-4272-9138-f99709370657
2007-05-19 23:38:09 +00:00
Jens Arnold
e09b87a31f WAV recording plugin: Fix distortion when feeding a full-range digital signal (most noticeable from S/PDIF), and make it obvious that S/PDIF recording ignores the defined sample rate.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13435 a1c6a512-1295-4272-9138-f99709370657
2007-05-19 23:31:42 +00:00
Marcoen Hirschberg
0671cee53a remove useless button defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13434 a1c6a512-1295-4272-9138-f99709370657
2007-05-19 22:00:49 +00:00
Linus Nielsen Feltzing
a416cc981a Prevent idle poweroff in the MIDI player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13427 a1c6a512-1295-4272-9138-f99709370657
2007-05-19 20:37:02 +00:00
Jens Arnold
2dddc1c0d4 Fix name collision on misc.h between zxbox and core.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13421 a1c6a512-1295-4272-9138-f99709370657
2007-05-19 19:15:14 +00:00
Jens Arnold
52986fb79e Fix name collision on misc.h between zxbox and core.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13420 a1c6a512-1295-4272-9138-f99709370657
2007-05-19 19:13:56 +00:00
Jens Arnold
b4702463e2 Archos Recorders, Ondio FM: WAV recording plugin. This is considered a technical preview, and has the following limitations: * No peakmeters and no gain control. The plugin reuses the gain values from the core, so use the core's recording screen to set gain, then call the plugin. * Recording directory is fixed, and on Ondio it always records to external MMC (there is not much point to record WAV to the 128MB internal flash). * All supported targets just generate numbered filenames, i.e. no R[DATE][TIME].wav files on recorders. * Only records to a single file, and will stop when approaching the safe file size limit of 2GB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13416 a1c6a512-1295-4272-9138-f99709370657
2007-05-19 18:29:27 +00:00
Linus Nielsen Feltzing
fcbc699dca Prevent idle poweroff in the MPEG video player plugin. Fixes FS#6091.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13413 a1c6a512-1295-4272-9138-f99709370657
2007-05-19 17:02:55 +00:00
Marcoen Hirschberg
6ea228d39d fix warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13407 a1c6a512-1295-4272-9138-f99709370657
2007-05-19 00:51:21 +00:00
Marcoen Hirschberg
0d02c13bac add a menu to the chessbox plugin, FS #7186 by Mauricio Peccorini
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13405 a1c6a512-1295-4272-9138-f99709370657
2007-05-18 22:12:34 +00:00
Nicolas Pennequin
95b52a0d00 Make bubbles smoother (and a bit faster) on the gigabeat.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13394 a1c6a512-1295-4272-9138-f99709370657
2007-05-15 16:45:45 +00:00
Jonathan Gordon
4bf27eccdd another LAME for colombo... fix the sansa wheel; in solitaire
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13391 a1c6a512-1295-4272-9138-f99709370657
2007-05-15 14:08:17 +00:00
Dave Chapman
98b7229d7e Oops, the previous commit broke the speed-test feature. This fixes it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13377 a1c6a512-1295-4272-9138-f99709370657
2007-05-13 00:32:56 +00:00
Dave Chapman
3463e87220 Add WAV-writing option - currently limited to 16-bit output only; Make it work in the sim again (after the change to grab the codec thread stack); Some cosmetic cleanups.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13376 a1c6a512-1295-4272-9138-f99709370657
2007-05-13 00:11:25 +00:00
Dave Chapman
198845fe91 Set svn:keywords
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13370 a1c6a512-1295-4272-9138-f99709370657
2007-05-10 21:56:34 +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
Jens Arnold
34e6b6b2ae Fix red overlay plugins on archos. Linker scripts weren't prepared for those plugins using plugin library components.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13359 a1c6a512-1295-4272-9138-f99709370657
2007-05-08 12:28:34 +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
Dave Chapman
4ae85e6886 Revert the addition of the steal_codec_stack function. Replace by accessing the threads structure to grab the codec stack. Maybe a better solution exists.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13349 a1c6a512-1295-4272-9138-f99709370657
2007-05-07 23:54:10 +00:00
Dave Chapman
f4a9dab4d1 Use a separate thread in test_codec, with the same (IRAM) stack as the main codec thread. Add a function to the plugin API to steal the codec thread, which test_codec copies and then restores. Now libmad can be benchmarked.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13347 a1c6a512-1295-4272-9138-f99709370657
2007-05-07 22:30:23 +00:00
Dave Chapman
7cdd0fe6ea Initial version of a test_codec plugin (viewer). This loads the audio file into the audio buffer and decodes it as fast as it can via a locally implemented version of the codec API. Intended for use when optimising codecs - so isn't built by default. Remember to add it to both plugins/SOURCES and viewers.config to enable it. Currently the codec is run in the main thread which means mpa.codec doesn't work - it requires more stack than is available on the main thread. The solution will be to create a new thread in the plugin which steals the main codec thread's IRAM stack, but that's not done yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13345 a1c6a512-1295-4272-9138-f99709370657
2007-05-07 17:23:31 +00:00
Jonathan Gordon
0e8a9e4eb7 e200 viewer button changes:
- rec button toggles auto-scroll
- scroll wheel scrolles text up/down by lines (FS#7087)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13336 a1c6a512-1295-4272-9138-f99709370657
2007-05-06 15:41:10 +00:00
Michael Sevakis
2aaf45e643 Get samplerate switching working in the sim to be similar to on target. Make all pcm functions available there as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13320 a1c6a512-1295-4272-9138-f99709370657
2007-05-04 15:14:56 +00:00
Jonathan Gordon
386d838b87 fix player warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13273 a1c6a512-1295-4272-9138-f99709370657
2007-04-26 14:02:10 +00:00
Jonathan Gordon
ed8b3bb74b Accept FS#7080 by Mauricio Peccorini with some minor changes by me:
- show more info in the stopwatch screen, and use the whole display for lap times


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13271 a1c6a512-1295-4272-9138-f99709370657
2007-04-26 13:52:53 +00:00
Michael Sevakis
72e6dd5e0c Do the clamping a little better.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13254 a1c6a512-1295-4272-9138-f99709370657
2007-04-24 03:38:19 +00:00
Michael Sevakis
0d032d1fa1 mpeglayer: Give the simulator YCbCr blit similar behavior to the target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13253 a1c6a512-1295-4272-9138-f99709370657
2007-04-24 02:46:32 +00:00
Jonathan Gordon
77a868360f make the moving smarter so you dont have to select the top card of a column to move the whole column
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13248 a1c6a512-1295-4272-9138-f99709370657
2007-04-23 14:15:07 +00:00
Michael Sevakis
8676dc25f5 Missed a couple. Hopefully fix all warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13234 a1c6a512-1295-4272-9138-f99709370657
2007-04-21 19:07:15 +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
b1f0049307 Fix the undefined char symbols appearing in many output lines. This printf does neither support nor need \n.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13229 a1c6a512-1295-4272-9138-f99709370657
2007-04-21 05:35:17 +00:00
Michael Sevakis
045d3cc9b5 mpegplayer: Fix jumping past the frame waiting if Limit FPS is on but Skip Frames is not. Fixes FS#7055 though this was just a general mistake and not limited to the sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13227 a1c6a512-1295-4272-9138-f99709370657
2007-04-21 05:27:45 +00:00
Jonathan Gordon
5d173ead6e brickmania for the e200. (screen cant rotate, so using half the screen is better than nothing)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13210 a1c6a512-1295-4272-9138-f99709370657
2007-04-19 12:14:54 +00:00
Michael Sevakis
01c0fb492f mpegplayer: Better frame dropping code adapted to the using correct timestamps change. Even smoother frames. Higher FPS and smoother when having to drop than before (Around 15fps regulated for Elephants Dream on x5 which is a dismal situation, up from around 12 or so).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13205 a1c6a512-1295-4272-9138-f99709370657
2007-04-18 23:23:18 +00:00
Peter D'Hoye
0b11d983e7 Rockpaint plugin: protect against loading bitmaps that are too big. Fixes FS #7040
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13204 a1c6a512-1295-4272-9138-f99709370657
2007-04-18 21:13:08 +00:00
Karl Kurbjun
c3dcc87aa4 Allow rockboy to run while music is playing with smaller roms. Works on players that do not use the IRAM macros. Only tested on the Gigabeat as I think that is the only player that will run rockboy well with music. Also simplified the sound and reduced the code size a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13199 a1c6a512-1295-4272-9138-f99709370657
2007-04-18 07:41:31 +00:00
Linus Nielsen Feltzing
69e1f7528a Gigabeat: Use the volume up/down buttons for zooming in the JPEG viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13192 a1c6a512-1295-4272-9138-f99709370657
2007-04-17 07:50:46 +00:00
Jonathan Gordon
e346a4cb29 forgot to add this viewers iconset for greyscale targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13186 a1c6a512-1295-4272-9138-f99709370657
2007-04-16 23:45:57 +00:00
Jonathan Gordon
ccaf24a29c Fix the wavplay icon
Fix copy+paste mistake
Fix typo in comment
Fix crash when trying to run a bmp
Reset the icons properly when loading a .icons file (hopefully will use the correct icon now)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13179 a1c6a512-1295-4272-9138-f99709370657
2007-04-16 11:01:41 +00:00
Jonathan Gordon
6a5cc0bd25 Customizable icons for all bitmap targets. (FS#7013)
http://www.rockbox.org/twiki/bin/view/Main/CustomIcons for info on format and how to load them


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13177 a1c6a512-1295-4272-9138-f99709370657
2007-04-16 09:14:36 +00:00
Michael Sevakis
7afe2e8693 Oops. Have to do dropping based on future frame type but based upon the current one's lateness otherwise nice screen garbage can result from dropping/drawing the wrong ones. A small amount of refinement will be needed here later.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13176 a1c6a512-1295-4272-9138-f99709370657
2007-04-16 04:14:58 +00:00
Michael Sevakis
eb4dcd80b7 mpegplayer: Better sync, smoother frames - corrected a few minor flaws. Keep timestamps 32-bit in stead of 33 - a 45kHz clock is good enough for humans. Increase pts queue size since the mpeg buffer is now filled when buffering the audio stream. Cleanup frame drop code a little too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13175 a1c6a512-1295-4272-9138-f99709370657
2007-04-16 03:34:56 +00:00
Michael Sevakis
291be034e8 Woops forgot a file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13160 a1c6a512-1295-4272-9138-f99709370657
2007-04-14 16:55:40 +00:00
Michael Sevakis
f4b5a723b0 mpeg2dec in mpegplayer: Do a little code slashing and organizing. Much more to come I think.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13159 a1c6a512-1295-4272-9138-f99709370657
2007-04-14 16:35:44 +00:00
Michael Sevakis
9bfa237869 mpegplayer: Get it in better shape for dual core targets. Utilize the newly added cache stuff. Add a mutex to core shared buffer variables. I'd prefer to have a true spinlock there but this will do for the moment and protect the data. Nonetheless I can't seem to crash it on an e200 any longer and the display garbage is gone.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13153 a1c6a512-1295-4272-9138-f99709370657
2007-04-14 02:46:15 +00:00
Dave Chapman
266707f818 Build libmad separately for mpegplayer. This provides flexibility to adjust things like IRAM usage independently - use #ifdef MPEGPLAYER in libmad to make any mpegplayer specific changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13147 a1c6a512-1295-4272-9138-f99709370657
2007-04-13 23:05:42 +00:00
Jens Arnold
47bf6c5a5a Moved archos backlight code to target tree. Changed old mutlivalue CONFIG_BACKLIGHT to a simple HAVE_BACKLIGHT.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13136 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 22:12:13 +00:00
Miika Pekkarinen
0569fae8ec Fix metronome plugin crashing on SWCODEC targets and fixed a division by zero as well when tapping in the beat.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13129 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 17:58:42 +00:00
Michael Sevakis
8b9df97d96 mpegplayer: Recover from audio stream errors better. Correct some sizes. Add some needed extra guard buffer. Add in an important additional wrap check. Stream demuxer needs work on when it looks ahead in the stream and it should wrap though.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13123 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 11:36:12 +00:00
Michael Sevakis
5f1abee2dc mpegplayer: oops, added an IRAM init/buffer get order switch that should have been reversed before committing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13120 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 07:57:01 +00:00
Michael Sevakis
4bd827b242 mpegplayer: do some reordering, add some needed volatiles, make sure thread creation failure is handled correctly, make sure audio doesn't attempt to finish remaining data if it was asked to stop.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13118 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 06:02:47 +00:00
Peter D'Hoye
81cf65e496 Wavview plugin: minor speed increase
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13111 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 21:24:33 +00:00
Michael Sevakis
dfa9f44034 mpegplayer: Hopefully help some problems on dual core. Make USB mode exit correctly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13109 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 11:02:45 +00:00
Linus Nielsen Feltzing
7c4b786851 Some quick and dirty MIDI player optimizations, now it works on the X5 and M5 too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13108 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 10:48:50 +00:00
Peter D'Hoye
f8f05860a2 wav viewer plugin changes: speedup file reading, allow abort while reading, better keyhandling, small helpscreen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13102 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 22:02:58 +00:00
Michael Sevakis
7d677d953f Add .mpeg extension to viewers.cfg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13097 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 16:08:38 +00:00
Michael Sevakis
69588c3934 mpegplayer: do a little post commit cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13095 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 15:22:17 +00:00
Michael Sevakis
6689cb0f9b mpegplayer: Get A-V synchronized. Improve frame sync and dropping logic and take advantage of decoder's ability to assist. Straighten out some threading problems. Clean it up a bit. Added some plugin API functions and decided it was a good time to do a good sorting on them so your next update from this build should be a full replacement.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13094 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 14:18:30 +00:00
Peter D'Hoye
81e0c9ce80 Better endianness handling, removed some leftovers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13089 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 23:04:43 +00:00
Peter D'Hoye
3e6ec54716 Fix yellow from 64bit platform sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13088 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 22:41:01 +00:00
Peter D'Hoye
09877aa4a8 New plugin: wavview. Shows info about a wav file and allows you to look at the complete waveform, zoom and pan. Only tested in sims and on h3x0. First version so has room for improvements.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13087 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 22:23:25 +00:00
Jens Arnold
87ac614ccd Enable rockboy for M5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13084 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 17:47:32 +00:00
Jens Arnold
61e798ff27 Oscilloscope: Make orientation switching usable on X5, M5 and H10.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13083 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 17:03:48 +00:00
Robert Kukla
5b7d21f092 sims have no MAS, hence no mas_codec_readreg()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13076 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 16:19:28 +00:00
Robert Kukla
357a4182a7 FS#6604 - Starfield Pulses To Music
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13075 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 15:10:51 +00:00
Jens Arnold
349345db39 Enabled pacbox for M5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13071 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 13:34:48 +00:00
Dan Everton
1322ae02f9 FS #6759: Support tan function in calculator plugin. Patch by Luke Blaney.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13070 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 11:22:12 +00:00
Jens Arnold
f9b90e9103 Now charcell displays require lcd_update() for updating the main lcd content like bitmap displays.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13050 a1c6a512-1295-4272-9138-f99709370657
2007-04-06 22:55:00 +00:00
Marcoen Hirschberg
80d882105e optimized motion compensation for ARM from the mplayer-w100 project. Elefants Dream plays back 2.3fps faster on the Gigabeat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13032 a1c6a512-1295-4272-9138-f99709370657
2007-04-05 09:56:28 +00:00
Marcoen Hirschberg
4d9c0012d4 just pass the struct to vo_setup instead of multiple arguments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13022 a1c6a512-1295-4272-9138-f99709370657
2007-04-04 22:51:57 +00:00
Marcoen Hirschberg
ab9d654c86 add support for non 16x16 frame sizes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13016 a1c6a512-1295-4272-9138-f99709370657
2007-04-04 08:14:03 +00:00
Tom Ross
771133eb12 Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13012 a1c6a512-1295-4272-9138-f99709370657
2007-04-03 20:56:14 +00:00
Tom Ross
70101c6027 Adjust Chopper and fix my warning from Wormlet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13011 a1c6a512-1295-4272-9138-f99709370657
2007-04-03 20:22:04 +00:00
Tom Ross
f4c6560ea7 Adjust Wormlet to use the new macros.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13010 a1c6a512-1295-4272-9138-f99709370657
2007-04-03 20:10:40 +00:00
Michael Sevakis
9f2b5cce84 JPEG Viewer on color LCDs: Finish up another old project. Add grayscale display option. Add ordered and diffusion dither modes to output. These options are under 'Display Options' in the viewer menu and are persisted in jpeg.cfg. Default setting is color display without dithering as before.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12987 a1c6a512-1295-4272-9138-f99709370657
2007-04-01 00:41:17 +00:00
Dave Chapman
6186b556bd Change file reads from 128KB to 32KB chunks - this prevents audio dropouts on targets with slow disk access (Sansa). Also change FPS display line to include the current a/v delay.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12978 a1c6a512-1295-4272-9138-f99709370657
2007-03-31 08:51:32 +00:00
Dave Chapman
1088f695a2 Another AV sync bugfix - the initial avdelay was being incorrectly calculated in some cases
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12975 a1c6a512-1295-4272-9138-f99709370657
2007-03-30 23:58:12 +00:00
Dave Chapman
16fa5a9f01 Be less aggressive when dropping frames - mpegplayer was dropping any frame which was decoded more than 1/20th of a second late, change that to 3/20th second (150ms), giving noticably smoother video. Also process PTS values when dealing with MPEG-1 program streams
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12967 a1c6a512-1295-4272-9138-f99709370657
2007-03-30 00:03:07 +00:00
Tom Ross
79df16adc1 Use the left and right buttons for changing volume in mpegplayer on the gigabeatsince the screen is rotated.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12953 a1c6a512-1295-4272-9138-f99709370657
2007-03-28 23:09:59 +00:00
Tom Ross
c7f5cccd3e Adjust plugins to use the new menu API. Int settings still use the old API. Remove a nasty global in Star and add some error checking. Add a work-around for the gigabeat so that Star doesn't crash on target. The transition works fine on the sim and I see nothing obviously wrong with the code but it manages to crash on target everytime.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12946 a1c6a512-1295-4272-9138-f99709370657
2007-03-28 07:33:18 +00:00
Dave Chapman
f2df5b5b53 Those pesky 64-bit simulator builds..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12931 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 19:54:07 +00:00
Dave Chapman
704b793787 Improved (I hope) A/V sync. mpegplayer now takes account of the difference in the initial audio and video PTS values, and constantly adjusts the av delay to compensate for drift between the audio PTS and the actual duration of the played audio.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12930 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 19:37:48 +00:00
Jonathan Gordon
21c930310c woops, used the wrong define
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12920 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 10:14:32 +00:00
Jonathan Gordon
73c46ffd6e Convert the playback control menu to the new API. Makes a good example
for plugin devs :)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12919 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 09:14:16 +00:00
Jens Arnold
1764583f99 Rockblox: Repair initial display on targets with no highscore list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12918 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 08:52:36 +00:00
Jens Arnold
ad4e3d6657 First step of charcell LCD code rework: * Make it fully unicode aware so that adding non-ISO8859-1 scripts becomes possible (limited by the LCD capabilities of course). * Make the API more similar to the bitmap LCD code's API. * Moved hardware dependent parts to target tree. * Simplified code. * Jumpscroll temporarily non-functional.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12916 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 07:52:13 +00:00
Dave Chapman
5e2984ad80 Fix warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12914 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 01:43:10 +00:00
Dave Chapman
a56757137c mpegplayer for grayscale targets. Note that performance is slow...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12913 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 01:32:31 +00:00
Dave Chapman
465820da22 Initial attempt at rebuffering
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12911 a1c6a512-1295-4272-9138-f99709370657
2007-03-25 18:05:14 +00:00
Tom Ross
8a6e69263e Fix a few bugs in Xobox. Now menu isn't pure black on non-color targets and an issue where the board was drawn even when the user quit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12910 a1c6a512-1295-4272-9138-f99709370657
2007-03-25 17:52:56 +00:00
Jonathan Gordon
8b7a27d189 fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12908 a1c6a512-1295-4272-9138-f99709370657
2007-03-25 14:42:14 +00:00
Jonathan Gordon
1f5ee2a366 convert the xobox menu to the new API so it can be used as an example for plugin devs
Includes some fixes in the api to handle this.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12907 a1c6a512-1295-4272-9138-f99709370657
2007-03-25 14:31:56 +00:00
Dave Chapman
8b40769554 Clamp output when converting from libmad's s3.28 format to 16-bit integers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12894 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 22:47:04 +00:00
Dave Chapman
8310848421 Some small mpegplayer improvements/bug-fixes, and improved A/V sync. Audio is used as the master clock and video is synced to the number of samples played. This doesn't take account of any PTS difference at the start of the stream. Also enable Limit FPS and Skip Frames by default - these options need to be enabled for A/V sync to work. Adds pcm_get_bytes_waiting() to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12884 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 09:18:46 +00:00
Dave Chapman
f1bf798b8a Volume control for mpegplayer - based on FS #6814 by Jacob Gardner and Pascal Briehl, modified by me (blame me for any problems). Mapped to the same buttons that are used to control volume in the WPS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12834 a1c6a512-1295-4272-9138-f99709370657
2007-03-18 17:04:44 +00:00
Jonathan Gordon
f34495deca Dont boost so often, fixes FS#6845
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12832 a1c6a512-1295-4272-9138-f99709370657
2007-03-18 13:25:18 +00:00
Jonathan Gordon
5b61ebe84e Remove buffer overflow in solatiare menu
Make the old api -> new api wrapper in the menu safer.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12831 a1c6a512-1295-4272-9138-f99709370657
2007-03-18 11:01:23 +00:00
Jens Arnold
bd5c0ad7bb Cast some more to keep both 32 bit and 64 bit simulator platforms happy.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12819 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 10:50:58 +00:00
Jens Arnold
f68362ad6f Fix simulator builds, and some debugf() format strings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12817 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 09:54:28 +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
Marianne Arnold
661cb91e00 Give the greyscale minesweeper tiles a bit more shadow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12812 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 00:10:19 +00:00
Jens Arnold
2c7b127dd7 Set CONFIG_RTC to 0 for non-RTC targets, and check with #if to profit from -Wundef. No code change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12811 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 23:47:03 +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
f3455d15e0 Ooops.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12808 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 22:09:52 +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
Dave Chapman
a693481c2f Render at 30fps on the Gigabeat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12799 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 09:05:07 +00:00
Zakk Roberts
0c6aea816d FS#6790 - Add playback control menu to Solitaire, thanks to Douglas Valentine.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12798 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 00:52:42 +00:00
Dave Chapman
6c6b2507b1 Correct a comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12767 a1c6a512-1295-4272-9138-f99709370657
2007-03-14 21:54:18 +00:00
Linus Nielsen Feltzing
e76981c912 The code police strikes back
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12765 a1c6a512-1295-4272-9138-f99709370657
2007-03-14 17:27:21 +00:00
Steve Bavin
7fe66302ad Always restore backlight timer when user exits Version screen - fix FS#6811
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12764 a1c6a512-1295-4272-9138-f99709370657
2007-03-14 17:19:27 +00:00
Steve Bavin
18b84eeb51 Reset sample rate correctly after MIDI playback
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12763 a1c6a512-1295-4272-9138-f99709370657
2007-03-14 16:43:21 +00:00
Tom Ross
caf2c61079 FS #6782 - Adjust right player movement to use Vol+ and Vol- instead of pausing the game every time the player moved down. Thanks to Chris Ham for the keychanges.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12746 a1c6a512-1295-4272-9138-f99709370657
2007-03-13 02:55:40 +00:00
Jonathan Gordon
6e44209a4c Make the Play / Pause option restart playback if its stopped also
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12738 a1c6a512-1295-4272-9138-f99709370657
2007-03-12 13:41:52 +00:00
Jonathan Gordon
f83d6eb145 revert FS#6747 — y-margin reset in gui_list_draw, it introduced a nasty
scroll bug which isnt so simple to fix.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12719 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 08:05:05 +00:00
Jonathan Gordon
a990ff2920 Accept FS#6747 by Timo Horstschäfer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12704 a1c6a512-1295-4272-9138-f99709370657
2007-03-10 12:43:21 +00:00
Michael Sevakis
27b4fb4729 Oy I wish I'd stop that. That plugins/SOURCES line shouldn't be there.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12659 a1c6a512-1295-4272-9138-f99709370657
2007-03-07 06:30:13 +00:00
Michael Sevakis
633f388002 Coldfire targets: Shuffle IRQ levels around to have all interaction between low level audio function calls and DMA be atomic. Make recording and playback independently startable and stoppable so one can be running and not interfere with the other. All tests I can do at the moment check out ok (play, record, play+record, FM radio on iRivers, S/PDIF on H120 (w/running optical on/off), and on-the-fly samplerate changes). Recording tested for well over an hour run and no problems.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12658 a1c6a512-1295-4272-9138-f99709370657
2007-03-07 06:23:02 +00:00
Michael Sevakis
775b95c7d3 Uups. Forgot to update a plugin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12619 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 08:19:08 +00:00
Jens Arnold
8876018d25 Bring up the M5 port to a working stage: Extended numerous explicit checks for IAUDIO_X5 to also check for IAUDIO_M5, moved code around the target tree, added preliminary background for the sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12610 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 00:04:00 +00:00
Daniel Ankers
82f9056988 Dual core support for PP502x players (iPod G4 and later, iriver h10, Sansa - iPod G3 will be coming soon.) This allows threads to be run on either core provided that all communications between the cores is done using uncached memory. There should be no significant change in battery life from doing this. Documentation (on the RockboxKernel wiki page) will follow shortly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12601 a1c6a512-1295-4272-9138-f99709370657
2007-03-04 20:06:41 +00:00
Robert Kukla
50b5ee4781 FS#6419 - driver for H1x0 series RTC Mod with runtime detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12520 a1c6a512-1295-4272-9138-f99709370657
2007-02-28 13:20:36 +00:00
Zakk Roberts
4d2c647d5a Make it easier to quit Snake2 (much easier on iPods at least) by allowing user to quit from Pause screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12444 a1c6a512-1295-4272-9138-f99709370657
2007-02-21 23:00:18 +00:00
Zakk Roberts
a45e835d75 Allow button repeat events in the Brickmania main menu. Makes it easier to scroll through the options on iPods.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12443 a1c6a512-1295-4272-9138-f99709370657
2007-02-21 22:48:44 +00:00
Linus Nielsen Feltzing
81029ed17e Correct drawing of hour hand when hour == 12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12430 a1c6a512-1295-4272-9138-f99709370657
2007-02-21 11:56:15 +00:00
Zakk Roberts
8336eb2390 Fix plugins/bitmaps/mono/SOURCES.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12409 a1c6a512-1295-4272-9138-f99709370657
2007-02-20 01:34:27 +00:00
Zakk Roberts
38d5597a17 Add changes to in-file changelog. Changes of huge previous commit: Drawing now scales to all displays using bitmaps for most modes, color where applicable.. Switched to rockbox menu drawing code for menus. Combined LCD/Digital modes into one LCD mode. A few new keymaps and changes. Source code improvements.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12408 a1c6a512-1295-4272-9138-f99709370657
2007-02-20 01:33:05 +00:00
Zakk Roberts
f8408e9273 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12407 a1c6a512-1295-4272-9138-f99709370657 2007-02-20 01:27:19 +00:00
Dave Chapman
329b4bda82 Scale to 50% size on the Archos devices (LCD_WIDTH <= 112) and slow it down, with some tweaks from Marianne Arnold. Plus replace a few floating point operations with integers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12406 a1c6a512-1295-4272-9138-f99709370657
2007-02-20 00:40:21 +00:00
Jens Arnold
7c55b67cf4 Fixed an off-by-one bug that caused the nasty crash on archos, and wrong limit check.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12395 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 14:21:04 +00:00
Jens Arnold
3a37f46fc9 Fix CONFIG_BACKLIGHT warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12393 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 10:07:27 +00:00
Daniel Stenberg
dfcee22f0a #if => #ifdef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12388 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 08:58:22 +00:00
Daniel Stenberg
895d577575 #if => #ifdef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12386 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 08:54:21 +00:00
Jonathan Gordon
9a6f419775 CONFIG_CHARGING
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12384 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 05:32:06 +00:00
Barry Wardell
738baf356f Again here, CODEC should be CONFIG_CODEC
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12374 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 00:11:52 +00:00
Barry Wardell
ca40cc482f Should be CONFIG_CODEC, not CODEC
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12373 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 00:00:58 +00:00
Barry Wardell
580c9f3868 Fix warning. Should be CONFIG_CODEC, not CODEC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12372 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 23:51:07 +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
Barry Wardell
c9e317475a Accept FS#6662. Thanks to Nick Vanderweit. No need to define PI as
it is already defined as 
M_PI in 
math.h.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12355 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 19:54:05 +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
Zakk Roberts
0abbb298b2 Obligatory fix-a-few-warnings commit...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12346 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 10:32:19 +00:00
Zakk Roberts
5bebae83a6 Chopper update. Fix endgame text not showing up and menu being invisible after first game, both on grayscale targets. Also fix endgame text being too long on Archos by using a splash to draw it. Also: X5's up button now works as 'fly' and Ondio mappings changed (Up/Menu = fly, Off = quit).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12345 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 10:23:15 +00:00
Paul Louden
fce01de0f0 Fix a warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12331 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 08:13:12 +00:00
Zakk Roberts
a5014b9c59 Argh, previous 'fix' was not in fact the problem. *Now* it's fixed.. I hope.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12329 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 07:21:47 +00:00
Zakk Roberts
d2e47ee0fd Implement the actual-button-name-for-game-over-message addition from my previous commit in a different way to fix builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12328 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 07:12:06 +00:00
Zakk Roberts
ce31c6fef9 A few chopper changes. Changed colorscheme from blue on backdrop to green on black (on color LCDs), more like original. Removed useless 'help' menu entry for now. Show actual button name in game over screen (i.e. 'select' or 'play') instead of just 'action'. A bit of code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12327 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 06:57:49 +00:00
Dave Chapman
e3e58b9a07 FS #5535 - Chopper game ported from IPL by Ben Basha. This commit is chopper_with_menu_api.diff with some changes by me: fixed the bug with the unmatching calls to menu_init() and menu_quit() (causing freezes after game #6); added keymappings for the sansa, gigabeat, Ondio and Archos Recorders; and changes to work with mono LCDs. This should now run on all targets with bitmapped LCDs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12326 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 01:23:48 +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
Nicolas Pennequin
5a29fe18d4 Brickmania update for the Gigabeat: fixed menu and smaller game area to make the gameplay closer to targets
with landscape oriented displays (and more challenging too).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12310 a1c6a512-1295-4272-9138-f99709370657
2007-02-14 22:59:36 +00:00
Zakk Roberts
ffbdb25e67 Large Sokoban update, by Sean Morrisey (FS#6625). Some new features include effectively unlimited (several thousand) undos on any platform, a redo feature, improved level/move info, 'level completed' screen showing moves/pushes made, and cleaned up code (full list of changes at tracker entry).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12294 a1c6a512-1295-4272-9138-f99709370657
2007-02-13 06:48:10 +00:00
Tom Ross
ecd83376b1 Oops, fix a typo so that we are referring to a bitmap that actually exist...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12282 a1c6a512-1295-4272-9138-f99709370657
2007-02-12 04:33:42 +00:00
Tom Ross
e633bc0be9 Rename solitaire_ bitmaps to card_ since they are used in solitaire and blackjack. Ideally all future card games will use these graphics.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12281 a1c6a512-1295-4272-9138-f99709370657
2007-02-12 04:21:49 +00:00
Tom Ross
42505eed82 Use play instead of select to fire in Invadrox for the H100. Allows the user to move and fire at the same time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12280 a1c6a512-1295-4272-9138-f99709370657
2007-02-12 03:06:28 +00:00
Tom Ross
2882b26a99 Major Rockboy update.
1) Adapt Rockboy to smaller screens (H10, X5, and iPod Nano).
2) Add the ability to use a preset palette on color targets. Choose 'Set Palette' from the main menu.
3) Clean up the code to remove any unused code and variables.
4) Changed tabs to spaces.
5) Disable reading and writing sound when sound is disabled.
6) Disbable writing to the RTC since it is not implemented yet.
7) Minor optimizations from WAC gnuboy CE and iBoy.
8) Massive clean up of code to make it appear consistent.
9) Change all C++ style comments to C style.
10) Completely reorganize dynarec. Add fixmes to all unimplemented opcodes. Add debug writes for all opcodes. Attempt to implement a few opcodes myself.
11) Silence some warnings when built using dynarec.
12) Minor reshuffling of IRAM, may or not offer a speed increase.
13) Include fixes found in the short-lived gnuboy CVS.

All in all, there's about a 10% improvement on my test roms when sound is disabled and slight improvement with sound. Especially noticable when there are few sprites on screen and less action is occurring. See FS #6567.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12216 a1c6a512-1295-4272-9138-f99709370657
2007-02-06 21:41:08 +00:00
Jonathan Gordon
3d43828f53 fix FS#6621 - viewer bookmarks only working for one file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12207 a1c6a512-1295-4272-9138-f99709370657
2007-02-05 13:29:50 +00:00
Thom Johansen
5ba289bc27 Kill a warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12204 a1c6a512-1295-4272-9138-f99709370657
2007-02-05 01:18:29 +00:00
Thom Johansen
5f48e1590f Optimise EQ coef calculation routines for both speed and size. Move now unneeded fsqrt function to plugin fixed point library in case it'll be needed. Move all fixed point helper macros to dsp.h. Added FRACMUL_SHL macro to facilitate high-precision shifting of 64 bit multiplies and remove rounding from macsr in main thread to make this work as intended.
Tested quite thorougly, but as always, be careful with your ears.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12203 a1c6a512-1295-4272-9138-f99709370657
2007-02-05 01:01:15 +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
Dave Chapman
ae6abfb094 Bugfix: Remove use of IDATA_ATTR - plugins can not use IRAM without stopping audio playback. This fixes crashes when invadrox is started with audio playing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12182 a1c6a512-1295-4272-9138-f99709370657
2007-02-03 09:35:19 +00:00
Jens Arnold
67eb154146 Removed 'mode' parameter from creat(). It wasn't pure posix anyway, it was ignored on target and mixed into 'oflags' in the simulator. * Simplified io.c a bit by defining a dummy O_BINARY for OSes which don't have that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12179 a1c6a512-1295-4272-9138-f99709370657
2007-02-01 23:08:15 +00:00
Zakk Roberts
e50cc6c369 FS #6243 - Invadrox, awesome Invaders clone by Albert Veli, supporting almost all bitmap LCD targets (but not Archos). Also resorted plugins/bitmaps/native/SOURCES (alphabetically).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12162 a1c6a512-1295-4272-9138-f99709370657
2007-01-31 00:46:32 +00:00
Tom Ross
541c2f0327 Fix Blackjack not looking correct when a backdrop is in use.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12130 a1c6a512-1295-4272-9138-f99709370657
2007-01-27 20:42:04 +00:00
Dave Chapman
6820ed1f7f Add the O_TRUNC flag when writing the modified file back to disk - fixes FS #6559
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12122 a1c6a512-1295-4272-9138-f99709370657
2007-01-27 10:45:34 +00:00
Zakk Roberts
1d4c425431 Shiny new Minesweeper color bitmaps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12121 a1c6a512-1295-4272-9138-f99709370657
2007-01-27 08:40:47 +00:00
Zakk Roberts
7d409adba4 Third time's the charm (not using a 5G-specific ball yet).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12119 a1c6a512-1295-4272-9138-f99709370657
2007-01-26 09:02:00 +00:00
Zakk Roberts
890ec32360 Forgot to add the bitmaps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12118 a1c6a512-1295-4272-9138-f99709370657
2007-01-26 08:57:28 +00:00
Zakk Roberts
a79dfa82a7 More new Brickmania bitmaps. New paddles for all targets; new powerups and 'break' bitmaps for iPod 5G, and a small tweak for that target as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12117 a1c6a512-1295-4272-9138-f99709370657
2007-01-26 08:54:44 +00:00
Zakk Roberts
080dae9d24 Forgot the bitmaps/native/SOURCES file..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12115 a1c6a512-1295-4272-9138-f99709370657
2007-01-26 06:15:41 +00:00
Zakk Roberts
4bdef7a187 Brickmania: new Brick bitmaps for all color targets, and introducing full-screen support for iPod 5G (320x240).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12114 a1c6a512-1295-4272-9138-f99709370657
2007-01-26 06:14:29 +00:00
Jens Arnold
4376abb748 Disk and filesystem speed and stress test plugin. Aimed at developers, not built by default.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12091 a1c6a512-1295-4272-9138-f99709370657
2007-01-22 23:29:39 +00:00
Tom Ross
080e10da88 Remove an old hack that is no longer required. Ships in the corner are once again drawn vertically.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12080 a1c6a512-1295-4272-9138-f99709370657
2007-01-20 01:01:46 +00:00
Tom Ross
2ae29e5dd8 Remove redudant code from Disk Tidy.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12079 a1c6a512-1295-4272-9138-f99709370657
2007-01-20 00:52:36 +00:00
Adam Boot
e56b151efb Update manual screenshots and fix a comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12076 a1c6a512-1295-4272-9138-f99709370657
2007-01-19 23:23:32 +00:00
Adam Boot
769d6a8255 Bubbles: Fix for gigabeat and add sansa e200 support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12075 a1c6a512-1295-4272-9138-f99709370657
2007-01-19 23:03:41 +00:00
Tom Ross
fa6ed0d1f4 Hopefully fix the menu leak I introduced in my last version. Also some whitespace changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12069 a1c6a512-1295-4272-9138-f99709370657
2007-01-18 23:37:51 +00:00