Antoine Cellerier
c1703c3eed
Remove 3G compile warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10563 a1c6a512-1295-4272-9138-f99709370657
2006-08-13 20:54:24 +00:00
Antoine Cellerier
e2a73dc389
*: Enhance minesweeper graphics
...
minesweeper.c: clean source code (ipod keys still need to be changed)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10562 a1c6a512-1295-4272-9138-f99709370657
2006-08-13 20:44:53 +00:00
Tomasz Malesinski
4e36352567
Iriver iFP7xx memory layout adjustment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10553 a1c6a512-1295-4272-9138-f99709370657
2006-08-12 22:43:44 +00:00
Miika Pekkarinen
ae8f25c6a7
Do not compile flashing plugin for H300 to be sure nobody tries that
...
out (it shouldn't even start but if it does, no-one knows what might
happen).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10550 a1c6a512-1295-4272-9138-f99709370657
2006-08-12 15:24:09 +00:00
Miika Pekkarinen
25425360b5
Enabled iriver flashing plugin with additional safety checks,
...
confirmation and ability to restore original firmware.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10547 a1c6a512-1295-4272-9138-f99709370657
2006-08-12 14:00:41 +00:00
Shachar Liberman
0ed49044b0
Fixing Sudoku menu to work properly with FS#5182
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10546 a1c6a512-1295-4272-9138-f99709370657
2006-08-12 13:43:20 +00:00
Dave Chapman
7fe7427de8
Clean up the #ifdefs surrounding the definition of lcd_yuv_blit() and add an initial (untested) implementation for the Gigabeat
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10541 a1c6a512-1295-4272-9138-f99709370657
2006-08-12 09:27:26 +00:00
Jens Arnold
e6ed58f6c5
Better implementation of the new greyscale algorithm. A bit faster (+2% on iPod and Archos, +7% on Iriver H1x0), and more straightforward. * Fixed garbage display when a plugin switches on the overlay before drawing anything.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10534 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 23:40:05 +00:00
Miika Pekkarinen
22860a910a
Fixed hold switch detection from bootloader when rockbox has been
...
flashed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10533 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 19:59:16 +00:00
Jens Arnold
71dc284b5d
New algorithm for grayscale buffer updates which is faster for large buffer depths. Speedup (unbuffered, depth==32): +8% on H1x0, +17% on Recorder (depth==24), and +83% on iPod Mini.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10529 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 14:13:01 +00:00
Rani Hod
bcd94a9b01
Accepted FS #5786 by Michael Sevakis - lcd_yuv_blit() for X5.
...
hard coded to YUV4:2:0 for now, gives ~13.5 fps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10528 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 14:10:34 +00:00
Marcoen Hirschberg
d24ed9987b
'no voice' is -1 not 0 and menu_items does have a pointer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10527 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 12:48:36 +00:00
Marcoen Hirschberg
ed70da26bd
don't assign NULL to a long (fixes sim build warnings)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10526 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 11:35:26 +00:00
Hristo Kovachev
79f60d4054
Removed too much...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10523 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 09:14:35 +00:00
Hristo Kovachev
f4ae59d8d7
Correct H10's #define indents, remove redundant lines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10522 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 09:05:58 +00:00
Hristo Kovachev
9dc0e62229
Patch #5731 by Barry Wardell: more iriver h10 work. Thanks!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10521 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 08:35:27 +00:00
Antoine Cellerier
13be687920
== -> =. this should fix a build warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10518 a1c6a512-1295-4272-9138-f99709370657
2006-08-10 21:25:21 +00:00
Shachar Liberman
585510a6c3
...nither sleep(0.2). thanks FS#5509 for letting me believe it is
...
legit, and Philippe Miossec for his work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10516 a1c6a512-1295-4272-9138-f99709370657
2006-08-10 20:56:09 +00:00
Shachar Liberman
070566581b
ON+NEXT make no sense.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10515 a1c6a512-1295-4272-9138-f99709370657
2006-08-10 18:36:22 +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
Shachar Liberman
078e44e60c
star game: fix several menu pointer bugs, add the option to choose
...
level, better keybinds for h1x0. (FS #2693,2701).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10512 a1c6a512-1295-4272-9138-f99709370657
2006-08-10 17:21:01 +00:00
Jens Arnold
d158da2f00
Sudoku: Slightly smaller bitmaps for iPod Video and Gigabeat to make the board not stick to the LCD border, by Marianne Arnold.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10509 a1c6a512-1295-4272-9138-f99709370657
2006-08-10 11:14:26 +00:00
Jens Arnold
f742c35db2
Sudoku: * Changed the LCD size ifdef magic to ease adding of new LCD resolutions. * Added vertical layout option with the scratchpad at the bottom (Gigabeat). * New Bitmaps for iPod Mini, iPod Video and Gigabeat, and slightly modified bitmaps for Archos, by Marianne Arnold.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10504 a1c6a512-1295-4272-9138-f99709370657
2006-08-09 20:31:38 +00:00
Jens Arnold
f54c34eb0f
ARM targets: Shave off one instruction from the multiply-by-75.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10503 a1c6a512-1295-4272-9138-f99709370657
2006-08-09 14:17:09 +00:00
Marcoen Hirschberg
91022738ee
fix button mappings for the gigabeat
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10502 a1c6a512-1295-4272-9138-f99709370657
2006-08-09 13:25:43 +00:00
Marcoen Hirschberg
96e7c578f4
fix scroll speed on the gigabeat
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10501 a1c6a512-1295-4272-9138-f99709370657
2006-08-09 13:25:19 +00:00
Miika Pekkarinen
e1eb91b976
Bootloader support to search firmware also from flash. Bootloader <->
...
Rockbox communication when Rockbox has been flashed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10499 a1c6a512-1295-4272-9138-f99709370657
2006-08-09 12:04:13 +00:00
Jens Arnold
0f87f8fd36
Mandelbrot: * Asm optimisation for arm targets. * Proper aspect for all LCD resolutions. * Keep proper aspect when zooming on targets where LCD_WIDTH and/or LCD_HEIGHT is not an integer multiple of 8.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10498 a1c6a512-1295-4272-9138-f99709370657
2006-08-09 12:04:04 +00:00
Dave Chapman
8d642c302d
Add STOP and PAUSE features (mapped to OFF/ON on iriver H300, MENU/PLAY on ipods and POWER/PLAY on X5) - patch by Jonathan Gordon. Also adapt the buffering to different available memory sizes - we allow libmpeg2 itself 2MB for buffers, and the rest is used to buffer the compressed video data. Note that using PAUSE will break the FPS display - this will be fixed later.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10497 a1c6a512-1295-4272-9138-f99709370657
2006-08-09 10:47:22 +00:00
Jens Arnold
e72820f5e2
Slightly optimised range_limit() for arm targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10494 a1c6a512-1295-4272-9138-f99709370657
2006-08-08 23:15:17 +00:00
Jens Arnold
b888fb2531
Do the clipping with inline asm instead of a huge lookup table. Tiny speedup, and saves ~7.5KB of IRAM.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10493 a1c6a512-1295-4272-9138-f99709370657
2006-08-08 22:56:35 +00:00
Dave Chapman
13b23fbcdb
Implementation of lcd_yuv_blit() for the ipod 5g.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10487 a1c6a512-1295-4272-9138-f99709370657
2006-08-08 21:28:08 +00:00
Jens Arnold
c4c56a3da7
mpegplayer FPS display: * Don't count the first frame if we don't know the decode time it took. * Display every 2 seconds independent of actual fps.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10486 a1c6a512-1295-4272-9138-f99709370657
2006-08-08 21:06:01 +00:00
Jens Arnold
b09ba217cc
Fix corrupted videos on target.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10485 a1c6a512-1295-4272-9138-f99709370657
2006-08-08 18:24:01 +00:00
Jens Arnold
c5a309afbd
H300: * Implemented lcd_yuv_blit(). Speeds up video playback by about 7%. No bounds check in lcd_yuv_blit() (by convention), implementations for other targets should be adapted. * Fixed off-by-one bug in lcd_update_rect()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10484 a1c6a512-1295-4272-9138-f99709370657
2006-08-08 13:44:43 +00:00
Jens Arnold
905cf06e32
Use the film strip icon for .m2v (same as for .rvf)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10483 a1c6a512-1295-4272-9138-f99709370657
2006-08-08 10:57:40 +00:00
Dan Everton
5814551865
Add disktidy plugin (FS#2596).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10482 a1c6a512-1295-4272-9138-f99709370657
2006-08-08 10:46:39 +00:00
Jens Arnold
e7aeebf0bf
Fix sim warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10481 a1c6a512-1295-4272-9138-f99709370657
2006-08-07 22:34:20 +00:00
Dave Chapman
c9d66562af
Initial commit of work-in-progress MPEG video player plugin based on libmpeg2. Works on all targets with colour LCDs, but most optimised for the ipod Color/Photo and Nano. It currently only plays raw MPEG-1 or MPEG-2 video streams (no audio). Also adds a new lcd_yuv_blit() function to the plugin API - currently only implemented for the ipod Color/Photo and Nano.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10479 a1c6a512-1295-4272-9138-f99709370657
2006-08-07 22:11:07 +00:00
Jens Arnold
754e173c25
Grayscale lib: Working screendump on iPod (target + sim).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10478 a1c6a512-1295-4272-9138-f99709370657
2006-08-07 21:58:32 +00:00
Jens Arnold
c00d799fa3
* Assembler optimised gray_update_rect() and writearray() for arm (greyscale iPods). * Some slight optimisations for coldfire (H1x0) and SH1 (archos). * Comment and formatting cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10473 a1c6a512-1295-4272-9138-f99709370657
2006-08-07 17:21:38 +00:00
Shachar Liberman
8921b34e4b
Pong! * adapt to FS#4761 * add pause button for non-holdswitch players *
...
better gameplay (no wait for BUTTON_REPEAT) * a few bugfixes * H300 new keypad
(should credit & close 2822)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10472 a1c6a512-1295-4272-9138-f99709370657
2006-08-07 17:08:48 +00:00
Jens Arnold
d55503d80b
We can run the grayscale lib at full frame rate on iPods...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10471 a1c6a512-1295-4272-9138-f99709370657
2006-08-07 08:59:55 +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
Miika Pekkarinen
85ba65d2a3
Initial version of the iriver flashing plugin for H1xx. Building of
...
the code not yet enabled, because the code still lacks some features
and safety checks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10463 a1c6a512-1295-4272-9138-f99709370657
2006-08-05 16:11:39 +00:00
Jens Arnold
51d3dba10a
Again smaller fixed point exp()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10455 a1c6a512-1295-4272-9138-f99709370657
2006-08-04 07:32:23 +00:00
Jens Arnold
f212e6cf5f
Smaller & faster (on our targets) fixed point exp() with a multiplication.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10454 a1c6a512-1295-4272-9138-f99709370657
2006-08-04 07:02:34 +00:00
Antoine Cellerier
737e4768a1
Yet some more fixes (mostly for small archos screens).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10453 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 20:58:35 +00:00