Commit graph

755 commits

Author SHA1 Message Date
Brandon Low
c8f15f0857 Fix simulator builds (not positive sims are parallel make compliant still)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8639 a1c6a512-1295-4272-9138-f99709370657
2006-02-09 05:28:17 +00:00
Brandon Low
4872825ed2 Various build sytem cleanups
* Parallel build appears to work properly
* Use $(SILENT) instead of @ about everywhere
* Less calls to bash by using make builtin substitutions


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8638 a1c6a512-1295-4272-9138-f99709370657
2006-02-09 04:27:57 +00:00
Jens Arnold
fbfd3e2f31 Changed the 'stride' parameter of all *_bitmap_part() function to always mean the source bitmap width in pixels. Playergfx was the only engine where this was not true.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8621 a1c6a512-1295-4272-9138-f99709370657
2006-02-08 08:45:17 +00:00
Jens Arnold
bfbbf4705f Ooops, small fix.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8620 a1c6a512-1295-4272-9138-f99709370657
2006-02-08 08:05:39 +00:00
Jens Arnold
09b9a412f0 Preparation for colour gfx viewers: xlcd_color_bitmap_part() and xlcd_color_bitmap() added to the plugin library.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8619 a1c6a512-1295-4272-9138-f99709370657
2006-02-08 08:03:14 +00:00
Jens Arnold
56647275b5 JPEG viewer adapted to colour targets (greyscale only for now). New functions in the lcd extensions plugin library for drawing canonical greyscale bitmaps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8617 a1c6a512-1295-4272-9138-f99709370657
2006-02-08 01:14:29 +00:00
Dave Chapman
cb0c5a3c03 Fix typo for iPod 3G keypad check.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8616 a1c6a512-1295-4272-9138-f99709370657
2006-02-08 00:08:43 +00:00
Brandon Low
413da2a3d9 Rework PCM buffer
* Linked list instead of static array buffer pointers
* Variable sized chunks
* Improved mix handling
* Reduction in duplicated code
* Reduced IRAM usage w/o sacrificing performance
* Converted to almost entirely unsigned math
* Add pause function to reduce pcm_* exposure to playback.

This WILL break playback on the iPod until linuxstb makes a followup commit.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8612 a1c6a512-1295-4272-9138-f99709370657
2006-02-07 20:38:55 +00:00
Hristo Kovachev
69519a97f2 Fixed a few warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8608 a1c6a512-1295-4272-9138-f99709370657
2006-02-07 16:41:29 +00:00
Hristo Kovachev
14cfc65414 1. Updated battery_bench plugin:
1.1 Don't use the plugin_get_buffer() so the playlist viewer should work with this plugin running;
1.2 Added new columns for charger inserted, charging, usb powered;
1.3 Some other small improvements
2. charger_inserted() again returns only the AC/DC charger state on H3x0, doesn't include the usb state;
3. Some ifdefs corrected in power.c and power.h;


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8607 a1c6a512-1295-4272-9138-f99709370657
2006-02-07 14:46:03 +00:00
Jens Arnold
e6e8aa9519 Added memmove() to codec API & plugin API, and changed codeclib and plugin libs to use it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8602 a1c6a512-1295-4272-9138-f99709370657
2006-02-06 16:04:01 +00:00
Dave Chapman
d350e80b40 iPod: Make the plugins compile on the iPod 4G grayscale
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8588 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 19:27:23 +00:00
Jens Arnold
e49cade42d Colour targets: Adapted mandelbrot plugin. The plugin library now contains scrolling routines for >= 8 bpp displays.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8578 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 12:59:10 +00:00
Dave Chapman
f9df934d90 Minor cleaning - move card back bitmap to external bmp file, and define card size based on LCD size, not keypad type
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8576 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 01:58:10 +00:00
Tomasz Malesinski
c8a5fbbaa6 Added iFP keybindings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8551 a1c6a512-1295-4272-9138-f99709370657
2006-02-03 23:16:24 +00:00
Tomasz Malesinski
c31d2f84b7 Fixed warnings on iFP.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8550 a1c6a512-1295-4272-9138-f99709370657
2006-02-03 23:14:42 +00:00
Ben Basha
db83601b3c Add break effect + Bigger bricks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8526 a1c6a512-1295-4272-9138-f99709370657
2006-02-01 18:25:24 +00:00
Ben Basha
b7c29193f9 Remove calls to cpu_boost - they are not required any more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8469 a1c6a512-1295-4272-9138-f99709370657
2006-01-27 13:37:06 +00:00
Daniel Stenberg
c338290961 shortened the comment to 80 col
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8468 a1c6a512-1295-4272-9138-f99709370657
2006-01-27 13:31:12 +00:00
Daniel Stenberg
1ca465ae77 Made lots of keys' code depend on the actual definition of the key instead
of the target keypad define. Makes the code more readable and it makes it
easier to enable/disable certain features. Killed the warning for X5 at the
same time.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8467 a1c6a512-1295-4272-9138-f99709370657
2006-01-27 13:30:57 +00:00
Daniel Stenberg
39d2d8bd68 1 - don't assume 160x128 means iriver h1x0 display, added check for depth
2 - disabled building for 160x128 16bit since there's no code path for it


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8466 a1c6a512-1295-4272-9138-f99709370657
2006-01-27 13:29:41 +00:00
Dave Chapman
553c9e2fce Portability enhancements - make the menu bitmap positions #defines, introduce a game loop timer (to fix the speed on all targets) and fix the menu on targets with 320x240 LCDs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8464 a1c6a512-1295-4272-9138-f99709370657
2006-01-27 10:02:13 +00:00
Linus Nielsen Feltzing
3325d99154 Patch #1415757 by Ben Basha - Brickmania update, Flip powerup plus some bricks need several hits to break
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8461 a1c6a512-1295-4272-9138-f99709370657
2006-01-26 23:31:00 +00:00
Daniel Stenberg
751d199587 Adjusted the bitmap build to run make in the bitmap directories
unconditionally to better detect updated dependencies. Previously, new files
and modified images were not properly detected and didn't cause rebuilds.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8457 a1c6a512-1295-4272-9138-f99709370657
2006-01-26 11:57:53 +00:00
Hristo Kovachev
facf94eb8b Button mappings for iPods, using mp3_is_playing() for harware platforms, file format converted to unix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8453 a1c6a512-1295-4272-9138-f99709370657
2006-01-25 20:57:13 +00:00
Hristo Kovachev
00598459bb And the plugin itself ... :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8452 a1c6a512-1295-4272-9138-f99709370657
2006-01-25 18:35:36 +00:00
Hristo Kovachev
495c63f867 New "battery benchmark" plugin by Alexander Spyridakis, modified a bit by me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8451 a1c6a512-1295-4272-9138-f99709370657
2006-01-25 18:29:56 +00:00
Dave Chapman
01ab727b43 Fix bug caused by change to external bitmaps - use the correct stride value for lcd_bitmap_part()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8440 a1c6a512-1295-4272-9138-f99709370657
2006-01-24 23:24:58 +00:00
Jens Arnold
ef4241a2ee Fixed USB handling in grayscale library mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8435 a1c6a512-1295-4272-9138-f99709370657
2006-01-23 23:53:22 +00:00
Jens Arnold
0d55854fd6 Cube: Solid greyscale mode is now supported on Archos Recorders and Ondios, using the grayscale library. The grayscale library gets switched on & off as needed when changing the display mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8433 a1c6a512-1295-4272-9138-f99709370657
2006-01-23 22:53:56 +00:00
Jens Arnold
83b2628b05 Bugfix: gray_putsxyofs() couldn't have worked before
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8432 a1c6a512-1295-4272-9138-f99709370657
2006-01-23 22:13:38 +00:00
Jens Arnold
3d2cab614e Grayscale library: colour macros now matching the core LCD drivers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8431 a1c6a512-1295-4272-9138-f99709370657
2006-01-23 22:13:00 +00:00
Dave Chapman
dcec70f626 Small bugfix for LCDs > 128 pixels high.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8430 a1c6a512-1295-4272-9138-f99709370657
2006-01-23 21:14:55 +00:00
Dave Chapman
ae623208b3 Correct backlight handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8429 a1c6a512-1295-4272-9138-f99709370657
2006-01-23 17:23:02 +00:00
Dave Chapman
06e25c8c46 BrickMania game (currently only for H300 and iPod Color) from Ben Basha (Paprica) with modifications by me to use external bitmaps and make the code more (but not yet completely) compliant with Rockbox coding guidelines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8428 a1c6a512-1295-4272-9138-f99709370657
2006-01-23 16:00:06 +00:00
Dave Chapman
440c7ea5fc Forgotten Makefile change - Link bitmap libraries against plugins for the SDL sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8427 a1c6a512-1295-4272-9138-f99709370657
2006-01-23 15:59:54 +00:00
Dave Chapman
da882fcb89 bmp2rb build system optimisation - only build the necessary libraries for the target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8422 a1c6a512-1295-4272-9138-f99709370657
2006-01-23 01:56:43 +00:00
Dave Chapman
19c0664d3b Fix sim builds broken by the bmp2rb-in-build-system patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8420 a1c6a512-1295-4272-9138-f99709370657
2006-01-22 22:08:05 +00:00
Dave Chapman
1e7043a20b Initial attempt at using bmp2rb in the build system. Don't forget to re-run configure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8418 a1c6a512-1295-4272-9138-f99709370657
2006-01-22 21:30:32 +00:00
Brandon Low
132599a858 Looks like an extra line snuck into an ipod commit, created broken clean target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8405 a1c6a512-1295-4272-9138-f99709370657
2006-01-21 21:06:43 +00:00
Dave Chapman
57b1ccba2b gcc 4.0.2 uses memcpy() to initialise variables on the stack, so we explicitly use rb->memcpy instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8401 a1c6a512-1295-4272-9138-f99709370657
2006-01-20 21:02:17 +00:00
Dave Chapman
e8f8d9e7e9 Initial support for iPod color and video. The Nano has a 176x132 LCD, which is the first colour LCD smaller than the gameboy's 160x144 display - so it needs work to skip scanlines. Button handling still needs more work - only up/down/left/right/start are currently mapped. Code is removed from IRAM due to 'relocation truncated to fit: R_ARM_PC24' errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8400 a1c6a512-1295-4272-9138-f99709370657
2006-01-20 20:59:07 +00:00
Daniel Stenberg
1cda8bc433 simulator build fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8398 a1c6a512-1295-4272-9138-f99709370657
2006-01-20 13:59:40 +00:00
Daniel Stenberg
137fb6cb9f Karl Kurbjun's patch #1407719:
Here's another patch for rockboy that adds automatic frameskip (it's pretty
rough as I haven't figured out an accurate timer), fullscreen support on the
H300, and a bit of assembly and some IRAM stuff. I'm not sure if I'm doing the
IRAM stuff correct though as it doesn't seem to make much of a difference if
any. I've also added a statistics option that will show how many frames per
second the gameboy is seeing (not what the player is getting) and what the
frameskip is at. When you enable stats sometimes you have to go back into the
menu and then come out to clear erronous values.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8397 a1c6a512-1295-4272-9138-f99709370657
2006-01-20 13:05:52 +00:00
Jens Arnold
cd7779c229 Sudoku: Fixed drawing of scratchpad on archos LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8395 a1c6a512-1295-4272-9138-f99709370657
2006-01-20 00:45:38 +00:00
Daniel Stenberg
acf7d5e89e more iAudio x5 adjustments by Matt v.d. Westhuizen (#1408980)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8386 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 12:44:46 +00:00
Brandon Low
ac22b06f37 Use symbolic name better and don't appear to crash on the You WIN screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8381 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 07:42:57 +00:00
Brandon Low
64fcd4cdb0 Level caching and screen size/color handling for sokoban from myself and Midgey34
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8380 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 06:25:59 +00:00
Brandon Low
05dccc3551 Profiling support, tools and documentation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8375 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 20:54:13 +00:00
Daniel Stenberg
30dbb957fe removed a few ifdefs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8367 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 11:30:46 +00:00