Commit graph

3420 commits

Author SHA1 Message Date
Jens Arnold
85c9a05c56 H300: Don't read the button ADC as long as no button is pressed, utilising the PCF50606 accessory detect feature. Ported from X5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11383 a1c6a512-1295-4272-9138-f99709370657
2006-10-29 13:48:57 +00:00
Jonathan Gordon
a737de778a oops, two files didnt get commited
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11381 a1c6a512-1295-4272-9138-f99709370657
2006-10-29 10:32:50 +00:00
Jonathan Gordon
cad563b00f move the iriver h1x0/h3x0 button driver to target tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11380 a1c6a512-1295-4272-9138-f99709370657
2006-10-29 10:26:41 +00:00
Michael Sevakis
c4a0d45d36 Cleanup of new button reading code. Moved functions for enabling of scanning and the decision to scan or not to button_read_device.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11377 a1c6a512-1295-4272-9138-f99709370657
2006-10-28 23:10:45 +00:00
Jens Arnold
56e75bee23 Make the build process informative again for 'make' 3.80 and earlier. Those 'make' versions are back to lower build speed (same as before my Makefile tuning).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11376 a1c6a512-1295-4272-9138-f99709370657
2006-10-28 22:42:16 +00:00
Jens Arnold
a796260a6b Next step of Makefile tuning: * Use 'make' internal commands for printing messages. Saves build time especially on cygwin. * SILENT variable used in more places. * Bitmap build system uses one Makefille less.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11369 a1c6a512-1295-4272-9138-f99709370657
2006-10-27 21:48:06 +00:00
Marcoen Hirschberg
6c3c5fb188 cleanup ata.c a bit by moving portalplayer defines to target_tree and removing unused portalplayer and gigabeat code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11365 a1c6a512-1295-4272-9138-f99709370657
2006-10-27 11:56:17 +00:00
Michael Sevakis
f6c3a30581 Fixed FS#6034 - Voice isn't handled when FM radio in on. Leave DAC enabled when analog bypass is on.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11362 a1c6a512-1295-4272-9138-f99709370657
2006-10-27 11:24:47 +00:00
Daniel Stenberg
77c915ad61 Renamed the ipod_i2c functions to the more appropriate pp_i2c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11361 a1c6a512-1295-4272-9138-f99709370657
2006-10-27 11:24:23 +00:00
Daniel Stenberg
522ae6e39a kill two gigabeat warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11359 a1c6a512-1295-4272-9138-f99709370657
2006-10-27 10:51:34 +00:00
Michael Sevakis
2ede2a79e6 Put a couple x5-specific function declarations in adc-target.h where they should be.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11358 a1c6a512-1295-4272-9138-f99709370657
2006-10-27 08:12:18 +00:00
Michael Sevakis
1d4a9c6366 Stop reading buttons if one is not down. Don't read remote keys if not plugged. Good for another few points of boost and 4fps full-screen unboosted. The button scan enabling seems stable and I've been using it without any difficulties but if the interrupts hiccup it could leave them unresponsive. Clearing the GPI0 interrupts before enabling them seems to prevent any difficulties. If there's problems there I'll just leave the remote reading bypass only and 50% of the benefits will still be realized.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11357 a1c6a512-1295-4272-9138-f99709370657
2006-10-27 05:31:28 +00:00
Daniel Ankers
a992cd11e5 Correct LCD pixel format on Sansa E200
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11354 a1c6a512-1295-4272-9138-f99709370657
2006-10-26 20:01:04 +00:00
Barry Wardell
24f4a2a8cf Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the nice image of the Sansa. Lots more to be done including testing and tweaking the keymaps and modifying the plugins for the Sansa's 176x220 LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11351 a1c6a512-1295-4272-9138-f99709370657
2006-10-26 13:38:09 +00:00
Michael Sevakis
1d6bfa972c Removed unneeded pcf50606.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11349 a1c6a512-1295-4272-9138-f99709370657
2006-10-25 23:48:39 +00:00
Michael Sevakis
784dd78745 Moved pcf50606 stuff to target directory.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11348 a1c6a512-1295-4272-9138-f99709370657
2006-10-25 23:24:07 +00:00
Thom Johansen
017b0d7b71 A better workaround due to ATA sleep bugs in the Ipod Nano. battery_bench and plugins like it should now work also on Nano.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11344 a1c6a512-1295-4272-9138-f99709370657
2006-10-25 17:31:29 +00:00
Miika Pekkarinen
58ebf47a2b FS#6216 Update so MP3 files are only opened once. With corrections and
patch cleanup.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11343 a1c6a512-1295-4272-9138-f99709370657
2006-10-25 16:57:53 +00:00
Jonathan Gordon
710ccb7b48 ifdef all the tagcache code, allows rombox to be compiled again, Thanks Austin Appel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11338 a1c6a512-1295-4272-9138-f99709370657
2006-10-25 10:17:57 +00:00
Michael Sevakis
34751f096c Fixed implicit declaration warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11332 a1c6a512-1295-4272-9138-f99709370657
2006-10-25 06:27:40 +00:00
Michael Sevakis
b26e396436 Pinched pcf50606 i2c code used in iRiver players and adapted to x5. Boost ratios down as much as 100 percent for mp3 and 50 percent for vorbis. mp3 hardly ever boosts even with eq. Scrolling much sharper. Like a whole new player. The code can be used for both iRiver and x5 by just defining macros with the appropriate ports and bit numbers for each player. Probably will have a pcf50606-coldfire.c soon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11330 a1c6a512-1295-4272-9138-f99709370657
2006-10-25 06:10:22 +00:00
Jens Arnold
d1ce4e779e Consistent style of 'make' messages. Always use ranlib after ar.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11322 a1c6a512-1295-4272-9138-f99709370657
2006-10-23 22:33:39 +00:00
Dominik Riebeling
76b2efbb43 Don't reset everything when (un)sleeping the TEA5767. Fixes FS#6162.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11321 a1c6a512-1295-4272-9138-f99709370657
2006-10-23 19:48:42 +00:00
Marcoen Hirschberg
37f7f0b23b reduce the number of gigabeat warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11316 a1c6a512-1295-4272-9138-f99709370657
2006-10-23 13:11:57 +00:00
Jens Arnold
0cc8b7113c Speed up build process in general by using internal functions of make instead of spawning sub-shells where possible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11307 a1c6a512-1295-4272-9138-f99709370657
2006-10-22 00:21:57 +00:00
Marcoen Hirschberg
593b552486 add support for the Wolfson WM8751
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11300 a1c6a512-1295-4272-9138-f99709370657
2006-10-21 16:49:07 +00:00
Jens Arnold
9d3fddaa63 Bugfix: bidi_l2v() returned a pointer to value on the stack when the argument was an empty string. * Don't protect against NULL pointer, that would be a bug in the caller.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11282 a1c6a512-1295-4272-9138-f99709370657
2006-10-21 00:04:57 +00:00
Michael Sevakis
10363b3a81 Get rid of some OR-ing and conditional expressions in lcd driver when register values can just be saved in shorts. Touch-up to comment in asm part.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11281 a1c6a512-1295-4272-9138-f99709370657
2006-10-20 23:57:48 +00:00
Marcoen Hirschberg
0561fc47af this shouldn't have been committed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11278 a1c6a512-1295-4272-9138-f99709370657
2006-10-20 17:43:44 +00:00
Marcoen Hirschberg
1d7ebdfe26 generalise the wolfson codec code a bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11277 a1c6a512-1295-4272-9138-f99709370657
2006-10-20 17:12:42 +00:00
Magnus Holmgren
2cf14db0c8 When seeking, actually use the MP3 VBR TOC again, if available.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11274 a1c6a512-1295-4272-9138-f99709370657
2006-10-19 18:03:11 +00:00
Linus Nielsen Feltzing
4950b55837 Patch #6052 - More responsive skip on Archos
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11273 a1c6a512-1295-4272-9138-f99709370657
2006-10-19 11:43:13 +00:00
Linus Nielsen Feltzing
da153da0be Patch #5166 by Robert Keevil - Last.fm logging
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11269 a1c6a512-1295-4272-9138-f99709370657
2006-10-19 09:42:58 +00:00
Linus Nielsen Feltzing
d543bd486b iAudio X5: USB mode working again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11261 a1c6a512-1295-4272-9138-f99709370657
2006-10-18 20:56:29 +00:00
Barry Wardell
44cbd337e9 Add keymap for A-B repeat on H10 and enable support for it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11238 a1c6a512-1295-4272-9138-f99709370657
2006-10-16 18:11:56 +00:00
Daniel Ankers
d8ef7c58d8 Big Sansa update: Go back to using the common crt0-pp.S. Add LCD driver. Add ADC driver (may not be needed). Fix a bug in the button driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11237 a1c6a512-1295-4272-9138-f99709370657
2006-10-16 17:21:36 +00:00
Steve Bavin
2161407c6e Cygwin-built simulator can produce garbled debugging output without our snprintf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11235 a1c6a512-1295-4272-9138-f99709370657
2006-10-16 09:06:19 +00:00
Michael Sevakis
1102afb0b0 Disables hard dither mode on the x5 for routine drawing. Display driver automatically enables it when needed. Full screen frame rate up to 48 at normal CPU frequency from about 45 putting it about where it was when everything including the framebuffer was in IRAM due to the shorter and simpler lcd_write_data. Please advise if this works differently on any x5 as this might be considered a hack since nothing in the datasheet specifies using the chip this way. It is perfectly functional on mine.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11233 a1c6a512-1295-4272-9138-f99709370657
2006-10-16 02:24:06 +00:00
Daniel Ankers
634f1d6b59 Fix a stupid bug (thanks to Frieder Ferlemann.) Get rid of MS-DOS line endings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11230 a1c6a512-1295-4272-9138-f99709370657
2006-10-16 00:18:49 +00:00
Jonathan Gordon
e147bf3d9f re-enable the picthscreen in the v1 and v2 recorders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11229 a1c6a512-1295-4272-9138-f99709370657
2006-10-15 23:40:37 +00:00
Michael Sevakis
e0710b2af1 More color adjustments. Better translation to and from native colors with even distribution of levels. Macros for extracting native depth components and packing them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11227 a1c6a512-1295-4272-9138-f99709370657
2006-10-15 17:51:00 +00:00
Miika Pekkarinen
7058752789 Removed ugly boosting solutions from playback code and let scheduler
handle unboosting instead.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11226 a1c6a512-1295-4272-9138-f99709370657
2006-10-15 11:57:52 +00:00
Daniel Ankers
8aed608bb1 Untested first attempt at a Sansa button driver. Based on work by MrH
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11220 a1c6a512-1295-4272-9138-f99709370657
2006-10-14 12:16:29 +00:00
Daniel Ankers
d282e14d33 Untested first attempt at a Sansa button driver. Based on work by MrH
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11219 a1c6a512-1295-4272-9138-f99709370657
2006-10-14 12:14:23 +00:00
Michael Sevakis
6aa12c11f7 Added a small interface to screens to translate colors into remote gray levels on the x5. Splash screens paint properly with light gray. Should be adapted to a more general approach in the future. A few trailing whitespace trimmings got into a couple files but that is fine.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11218 a1c6a512-1295-4272-9138-f99709370657
2006-10-14 01:32:58 +00:00
Linus Nielsen Feltzing
00d218257b Logf output on the serial port for h100 targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11207 a1c6a512-1295-4272-9138-f99709370657
2006-10-12 20:22:16 +00:00
Tomasz Malesinski
a60bb9a067 Do not use our simple snprintf in simulator, because
ALSA library requires a more advanced one. Fixes the
problem with ALSA on Linux.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11206 a1c6a512-1295-4272-9138-f99709370657
2006-10-12 20:09:18 +00:00
Barry Wardell
e7da79fae4 Add calibrated battery readings for H10.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11202 a1c6a512-1295-4272-9138-f99709370657
2006-10-12 17:46:42 +00:00
Steve Bavin
73e2f7bd6b Minor simplification #2; replace unneeded variable filebufused with a macro
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11201 a1c6a512-1295-4272-9138-f99709370657
2006-10-12 16:51:22 +00:00
Daniel Ankers
6a4ec1414d Oops: Sansa and H10 need crt0 included in the bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11190 a1c6a512-1295-4272-9138-f99709370657
2006-10-11 17:47:32 +00:00