Commit graph

2052 commits

Author SHA1 Message Date
Michael Sevakis
a92b9e65f7 Fix pointer warnings in test_codec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16813 a1c6a512-1295-4272-9138-f99709370657
2008-03-26 06:52:16 +00:00
Jonathan Gordon
5ca1539969 the menu and list now accepts a parent viewport to draw in (and the menu can be told to not show status/button bars). This lays the groundwork to fix colour problems with plugin menus (see star.c for an example.) This hopefully fixes some button bar issues as well as theme problems.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16812 a1c6a512-1295-4272-9138-f99709370657
2008-03-26 03:35:24 +00:00
Michael Sevakis
af395f4db6 Do core interrupt masking in a less general fashion and save some instructions to decrease size and speed things up a little bit. Small fix to a few places where interrupts would get enabled again where they shouldn't have been (context switching calls when disabled).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16811 a1c6a512-1295-4272-9138-f99709370657
2008-03-26 01:50:41 +00:00
Jens Arnold
40919d7db2 iAudio M3: Optimised LCD driver, with more/better assembly code. Speedup is ~80% when boosted, ~15% when unboosted. Also implemented grey phase blitting. * Adapted the greyscale library, and the plugins using it. * Fixed a bug in greyscale scroll down for vertically packed pixels.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16809 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 23:21:36 +00:00
Jens Arnold
1f4bcc86da Revert accidental tree commit. /me needs a smaller enter key...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16805 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 19:57:23 +00:00
Jens Arnold
9a7978aeab Cabbiev2 gigabeat background: reduce WPS backdrop filesize by storing it as 24 bit BMP instead of unnecessary 32 bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16802 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 19:43:08 +00:00
Michael Sevakis
27cf677339 Add a complete priority inheritance implementation to the scheduler (all mutex ownership and queue_send calls are inheritable). Priorities are differential so that dispatch depends on the runnable range of priorities. Codec priority can therefore be raised in small steps (pcmbuf updated to enable). Simplify the kernel functions to ease implementation and use the same kernel.c for both sim and target (I'm tired of maintaining two ;_). 1) Not sure if a minor audio break at first buffering issue will exist on large-sector disks (the main mutex speed issue was genuinely resolved earlier). At this point it's best dealt with at the buffering level. It seems a larger filechunk could be used again. 2) Perhaps 64-bit sims will have some minor issues (finicky) but a backroll of the code of concern there is a 5-minute job. All kernel objects become incompatible so a full rebuild and update is needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16791 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 02:34:12 +00:00
Jens Arnold
395b785a79 The iAudio remote LCD internal scan direction is horizontal. Make test_scanrate usable on the M3 by adjusting to that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16778 a1c6a512-1295-4272-9138-f99709370657
2008-03-24 01:03:02 +00:00
Jens Arnold
68a21689ae Consistent naming scheme the various blit functions. * Removed lcd_blit_mono() for colour targets. Plugin API became incompatible, so sort, clean up & bump. * Implemented lcd_blit_mono() for M3.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16775 a1c6a512-1295-4272-9138-f99709370657
2008-03-24 00:35:53 +00:00
Jens Arnold
408613ca22 Sliding puzzle: Fix graphics size and help text for M3. * Bubbles: Better (larger) emblems for M3.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16759 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 09:21:49 +00:00
Jens Arnold
00094511f4 Oooops, fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16758 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 08:42:32 +00:00
Jens Arnold
8bfefe9ce1 VU_meter: Fix help texts for most targets. * Blackjack: Add help text for M3. * Bubbles: Adjust a text and fix hold behaviour for M3.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16757 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 08:26:42 +00:00
Jens Arnold
ac5e4acea6 Enable plugin building for M3.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16755 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 01:01:21 +00:00
Jens Arnold
e03ef1ec23 LCd extension lib: Implement proper scrolling for 2 bit vertical interleaved LCD. Stops oscilloscope from crashing on M3. * A few small simplifications.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16754 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 00:28:16 +00:00
Rob Purchase
ad6cbbdd3c Squash that yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16753 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 23:24:20 +00:00
Rob Purchase
554d7ed902 D2: Enable plugin building (using initial keymaps from FS#8708 by Andreas Mueller, with some tweaks).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16751 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 22:03:34 +00:00
Jens Arnold
106ac75ad8 Adapted most multi-source plugins to the iAudio M3 keypad and screen. Doom and mpegplayer are disabled because of the not yet implemented greyscale library, and zxbox used 2-bit greyscale for now. * Slight optimisation for the (currently unused except on M3) 2-bit greyscale code in zxbox. * Simplified button definitions in chessbox.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16744 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 14:20:04 +00:00
Jens Arnold
036d8cc7e7 Properly disable unused bitmap in SOURCES.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16738 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 10:37:04 +00:00
Jens Arnold
29361abf74 Adapt most single-file plugins to the M3 keypad and screen. It's still preliminary, as many plugins now can't be left without the remote. The plugins need to be converted to use the action API (but not pluginlib actions). Plugins are not enabled yet. * Simplify the bitmap handling in the source of some plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16737 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 10:24:28 +00:00
Dave Chapman
e92d2c51ed Add a general-purpose parse_list function to parse a string containing a delimited list of items and adapt the parse_image_load() function in the WPS parser to use it. This function will also be used to parse the upcoming WPS %V viewport tag, but I'm committing it separately as these changes are unrelated to the viewport implementation itself.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16728 a1c6a512-1295-4272-9138-f99709370657
2008-03-21 13:41:35 +00:00
Robert Kukla
6e209443c5 - add button descriptions to the m:robe 100 manual for the majority of plugins
- add gigabeat button descriptions which were missing
- fix a few inconsistencies I noticed doing the above (mainly outstanding r13278 follow-ons)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16693 a1c6a512-1295-4272-9138-f99709370657
2008-03-18 09:24:35 +00:00
Robert Kukla
4071826c81 save clock plugin settings in correct directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16688 a1c6a512-1295-4272-9138-f99709370657
2008-03-17 22:27:25 +00:00
Jens Arnold
8a6291dd63 More iAudio M3 work. Target build compiles, but same problem regarding plugins as the simulator. Boots to the menu, but it can't be used yet because only main & remote Play button work. USB works.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16660 a1c6a512-1295-4272-9138-f99709370657
2008-03-14 08:54:54 +00:00
Jonathan Gordon
c194b388fa pointers suck... spotted in IRC
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16625 a1c6a512-1295-4272-9138-f99709370657
2008-03-11 09:16:44 +00:00
Jonathan Gordon
e009c0bbe1 fix FS#7619 - hopefully... - have to stop/start scrolling to change bitrate
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16586 a1c6a512-1295-4272-9138-f99709370657
2008-03-09 03:01:29 +00:00
Jonathan Gordon
44047248ce fix FS#8701 - metronome doesnt change back to ui font after drawing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16585 a1c6a512-1295-4272-9138-f99709370657
2008-03-09 02:36:17 +00:00
Jens Arnold
8c6920e343 Revert accidental tree commit. Sorry for that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16574 a1c6a512-1295-4272-9138-f99709370657
2008-03-08 23:50:55 +00:00
Jens Arnold
d1ed7c37b1 No need to have \n here. panicf() won't output it anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16570 a1c6a512-1295-4272-9138-f99709370657
2008-03-08 23:34:43 +00:00
Michael Sevakis
ae31160c1a Fix fireworks adding another boost count on exit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16561 a1c6a512-1295-4272-9138-f99709370657
2008-03-08 20:46:53 +00:00
Jens Arnold
7fd70582f0 Fix FS #7955. Smart move must not be used on the remains stack. * Remove the special case for moving kings as is no longer necessary, and write the smart move in a slightly more elegant way.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16555 a1c6a512-1295-4272-9138-f99709370657
2008-03-08 13:51:03 +00:00
Robert Kukla
aafa321d31 m:robe 100: chessbox - make black pieces black and white pieces red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16545 a1c6a512-1295-4272-9138-f99709370657
2008-03-07 19:58:17 +00:00
Jens Arnold
6058e0cdb7 Minor cleanups mostly for consistency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16539 a1c6a512-1295-4272-9138-f99709370657
2008-03-06 18:25:29 +00:00
Jens Arnold
37d43f49f4 Greyscale library: Assembler optimised update function for SH1 (Archos recorders, Ondios), giving ~50% speedup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16532 a1c6a512-1295-4272-9138-f99709370657
2008-03-05 22:14:13 +00:00
Robert Kukla
5c5fef0068 m:robe 100: use correct bmp file for chessbox (needs make clean)
also use logical and operator in conditions

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16494 a1c6a512-1295-4272-9138-f99709370657
2008-03-03 09:28:22 +00:00
Jens Arnold
8493f5bcf6 Greyscale library: Preparations for a gamma measurement plugin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16492 a1c6a512-1295-4272-9138-f99709370657
2008-03-02 23:31:09 +00:00
Jens Arnold
e57806acaa Fix svn properties.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16483 a1c6a512-1295-4272-9138-f99709370657
2008-03-02 17:07:02 +00:00
Jens Arnold
52e1f81599 Greyscale library: Assembler optimised update for coldfire, ~73% speedup when using IRAM, ~35% speedup without IRAM. Slight optimisation for other targets as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16482 a1c6a512-1295-4272-9138-f99709370657
2008-03-02 17:05:00 +00:00
Jens Arnold
1509faf618 Use IRAM where appropriate when testing framerate, for more realistic results for the greyscale library.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16481 a1c6a512-1295-4272-9138-f99709370657
2008-03-02 16:57:14 +00:00
Robert Kukla
6b3a493dcd fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16476 a1c6a512-1295-4272-9138-f99709370657
2008-03-02 10:37:02 +00:00
Robert Kukla
d3f9dae488 mrobe 100: fix graphics for flipit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16475 a1c6a512-1295-4272-9138-f99709370657
2008-03-02 10:20:54 +00:00
Robert Kukla
5f1e1a5e5e compile invadrox only for suitable targets (fix red)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16470 a1c6a512-1295-4272-9138-f99709370657
2008-03-01 23:18:32 +00:00
Robert Kukla
d6c8b57b50 M:Robe 100: add button definition/bitmaps to plugins and enable compilation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16469 a1c6a512-1295-4272-9138-f99709370657
2008-03-01 22:55:09 +00:00
Jens Arnold
3a74611a90 FS #8635 by Andree Buschmann: Fix overflow in test_disk speed calculation. No precision is lost because filesize is always a multiple of (1<<8).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16428 a1c6a512-1295-4272-9138-f99709370657
2008-02-26 18:31:59 +00:00
Marianne Arnold
55259f526b The fire plugin got slightly too big for the Archos plugin buffer with one of the recent changes again, so save some bytes by reducing FIRE_WIDTH slightly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16408 a1c6a512-1295-4272-9138-f99709370657
2008-02-24 14:43:42 +00:00
Mark Arigo
d829075a00 Driver for the Synaptics touchpad on the m:robe 100 based on the 3-wire interface spec. Needs some tweaking as it's too sensitive with the default hardware settings. For now, the vertical strip is divided into up/select/down buttons. Also, redo the keymap (using the Gigabeat as a starting point), but it still needs a good bit of work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16400 a1c6a512-1295-4272-9138-f99709370657
2008-02-24 04:12:16 +00:00
Will Robertson
8215b34fdb Plugins now enabled and working for the Gigabeat S.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16323 a1c6a512-1295-4272-9138-f99709370657
2008-02-17 12:23:02 +00:00
Miika Pekkarinen
37dc15b672 Added the checksum for H100/H110/H115 bootloader also.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16254 a1c6a512-1295-4272-9138-f99709370657
2008-02-09 15:32:55 +00:00
Miika Pekkarinen
698113d9db Prepare for a new bootloader 7-pre4 release for iriver H100 series. Synced to work properly with SVN, and hopefully fixed remote detection problem and audio thump for some users. Also pure H100/H115 should be supported now. Actual bootloaders will be released separately.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16252 a1c6a512-1295-4272-9138-f99709370657
2008-02-09 15:06:09 +00:00
Jens Arnold
6f65afd0b7 sliding_puzzle improvements: * Use the UI font for numerals and 'moves' display when possible. * Center the numerals and the 'moves' display. * Use a simple line separator. * Use black text on white background for greyscale targets. * Simplify the code a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16207 a1c6a512-1295-4272-9138-f99709370657
2008-02-03 14:34:37 +00:00
Marianne Arnold
dce2ef805c Small improvements to sliding puzzle. (1) Don't draw the 'Moves' box at fixed size, and display 'Moves:' and number of moves on one line for square and portrait screens. (2) Use 4x4 spots on Archos too, to make the spots look square on the Archos display - change the default 80x64 image accordingly. (3) Replace the 110x110 images with 108x108 so that the width is evenly divisible by 4 (number of spots) as mentioned in the comment. (4) Make the greyscale images look a little less broken, could be even better though. -- The code could be made simpler and more flexible but one step at a time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16200 a1c6a512-1295-4272-9138-f99709370657
2008-02-02 12:10:42 +00:00