Commit graph

1137 commits

Author SHA1 Message Date
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
Antoine Cellerier
50b6ea7b91 Change hearts and diamonds bitmaps for monochrome screens. Thanks to pixelma for the idea.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10452 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 20:55:18 +00:00
Daniel Stenberg
451f08ad4c repair x5 build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10451 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 20:40:37 +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
Antoine Cellerier
364e892050 Remove some more useless code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10445 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 20:11:47 +00:00
Antoine Cellerier
312ccc2f2f Some graphics fixes for solitaire. (Numbers for hearts and diamonds still need to be colored red on color LCD screens)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10443 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 19:57:33 +00:00
Jens Arnold
89c81ce1fb Repair bufferend scrolling background.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10434 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 15:13:57 +00:00
Jens Arnold
ce23f3d921 Greyscale targets: Fix empty display when returning from menu without action. Don't show remnants of old info during disk spinup when loading a new file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10426 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 06:51:27 +00:00
Antoine Cellerier
e3851828af Fix compile warning (and small diaply bug)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10423 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 22:33:34 +00:00
Antoine Cellerier
5e2a9a19cf Cleanup solitaire code a bit. A side effect is that it should now be possible to play on small LCD screens like the recorder's (which had become impossible since revision 1.20).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10422 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 22:17:21 +00:00
Antoine Cellerier
c00c94e1a4 Some more solitaire graphics
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10421 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 22:14:59 +00:00
Jens Arnold
b4cb493135 Proper rounding...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10420 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 21:15:22 +00:00
Jens Arnold
fd9bd310a2 Slightly better precision.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10419 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 20:57:40 +00:00
Jens Arnold
344849cc22 Ooops, don't apply correction when it shouldn't be applied.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10418 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 20:19:20 +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
73c283e969 Fix bug #5724 - Missing characters in text viewer, the number of characters in the line to display was calculated with a too wide character as reference
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10395 a1c6a512-1295-4272-9138-f99709370657
2006-08-01 17:48:38 +00:00