Jens Arnold
7dea1f9234
Another slight tweak.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9639 a1c6a512-1295-4272-9138-f99709370657
2006-04-12 21:04:27 +00:00
Jens Arnold
8d5c94a7c7
H1x0/H300 remote LCD driver rework: * Completely fix remote LCD ticking for H300, by not deasserting CS after every single access. CS deactivation is now handled with a 100ms timeout by the tick task. If this really fixes remote ticking for all H300s with 'reduce ticking' disabled, we should remove that option for H300. * Reworked ticking reduction for H1x0. Bytes are now send in sequence, without stretching every single bit, but longer pauses between bytes instead. Both CLK and DATA are handled in a way to minimise their potential to cause ticking (CLK active as short as possible, DATA always high outside of byte transfers, DATA high->low as close as possible to CLK low->high). * Driver is ~10% faster with 'reduce ticking' disabled, and ~65% faster with it enabled. (not @ 11 MHz)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9631 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 23:42:36 +00:00
Daniel Stenberg
d2848f3d72
moved the LCD framebuffer to IRAM for iAudio X5 - gives ~40% speed boost
...
I also extended the iram size properly since the 5250 coldfire has 128K
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9604 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 10:37:37 +00:00
Jens Arnold
6b2f58b3ad
H300: Slightly faster lcd update (noticeable with partial updates only).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9574 a1c6a512-1295-4272-9138-f99709370657
2006-04-09 11:34:53 +00:00
Peter D'Hoye
cbd21405fc
Comparing short filenames for uniqueness used 1 char too much, causing it to create identical short filenames. Fixes bugreport #5030 .
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9563 a1c6a512-1295-4272-9138-f99709370657
2006-04-08 12:17:51 +00:00
Jens Arnold
4ac150e8d3
Get rid of the redundant APPLE_* macros. * Fix wrong comments in lcd-ipod.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9561 a1c6a512-1295-4272-9138-f99709370657
2006-04-08 09:08:38 +00:00
Jens Arnold
a5d2a28089
lcd_blit() (with mono->2bit expansion) implemented for greyscale ipods. Changed the flip mode maths for the mini LCD for coexistence with lcd_blit().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9540 a1c6a512-1295-4272-9138-f99709370657
2006-04-06 21:05:59 +00:00
Jens Arnold
5106e228cc
Since we poll buttons every tick now, the extra if() checking the polling interval was obsolete. Pointed out by Mikael Magnusson. * Some tweaks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9536 a1c6a512-1295-4272-9138-f99709370657
2006-04-06 18:58:42 +00:00
Jens Arnold
cef83c782f
Do extra filtering in H300 (and H100) main unit button reading to suppress wrong readings during voltage transitions. * Optimised multi-button ADC reads to use a balanced binary tree with an initial check for 'any button' to determine the pressed button. * The iriver button driver wouldn't have detected main unit (ADC-connected) buttons as long as remote buttons (ADC-connected) were pressed (btn = value; vs. btn |= value), * Do extra filtering in the recorder v1 OFF button read, to suppress spurious OFF events. * Some more tweaks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9530 a1c6a512-1295-4272-9138-f99709370657
2006-04-06 07:27:11 +00:00
Jens Arnold
fcab617331
Grayscale iPods: Bit-flipped the 2bit LCD driver to use the same format as apple. No more mirrored display when loading retailos, after a bootloader update.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9478 a1c6a512-1295-4272-9138-f99709370657
2006-04-04 00:55:16 +00:00
Jens Arnold
3a3304fa31
greyscale iPod LCD: Working display flip. * Correct register definitions for HD66753. * Correct 1/3 and 2/3 greylevels. * Some tweaks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9414 a1c6a512-1295-4272-9138-f99709370657
2006-04-01 23:48:03 +00:00
Jens Arnold
8c6e737bfb
Greyscale iPod LCD driver: Fixed lcd_update_rect() to work properly for partial updates. Working display invert. Use register name macros. Some cleanup & optimisations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9378 a1c6a512-1295-4272-9138-f99709370657
2006-03-31 07:32:38 +00:00
Jens Arnold
3c39c2b034
Move definitions to their proper place
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9368 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 20:48:15 +00:00
Jens Arnold
7e0ea2153c
iPod mini 2G: Define correct audio codec, and fix WM8731 driver to work with PP5020. Audio is working now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9367 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 20:18:02 +00:00
Jens Arnold
dc8de7ea3d
iPod mini 2G: Use iPod 4G button driver instead of special minin 1G code. Buttons working now, rockbox no longer hangs at boot.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9364 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 18:14:08 +00:00
Jens Arnold
d3feb78e40
Initial support for iPod mini 2G: Rockbox boots, LCD driver is working. No sound, no buttons, and hangs at the boot screen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9363 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 17:29:21 +00:00
Linus Nielsen Feltzing
e62152ddf9
Better sound quality on the iAudio X5 using the correct MCLK frequency
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9354 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 10:01:04 +00:00
Linus Nielsen Feltzing
d1a93d8a0c
Simplification and correction of the TLV320 driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9326 a1c6a512-1295-4272-9138-f99709370657
2006-03-28 20:36:59 +00:00
Linus Nielsen Feltzing
66a2952230
Enable I2C bus 1 on the iAudio X5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9325 a1c6a512-1295-4272-9138-f99709370657
2006-03-28 20:36:04 +00:00
Brandon Low
5c950f4380
Reduce the appearance of volume change clicks by using the wmcodec's zero-cross detect feature
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9290 a1c6a512-1295-4272-9138-f99709370657
2006-03-27 14:46:15 +00:00
Brandon Low
bdc52f4649
Code police
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9287 a1c6a512-1295-4272-9138-f99709370657
2006-03-27 14:14:06 +00:00
Daniel Stenberg
f4ac85ac06
ok, this is the correct PLAY/REC swap!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9270 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 22:41:58 +00:00
Hristo Kovachev
a70c6b9b1e
Patch #4913 by David Rothenberger with some changes by me: add only backlight on first keypress to the lcd remotes, too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9253 a1c6a512-1295-4272-9138-f99709370657
2006-03-25 19:16:45 +00:00
Björn Stenberg
da5fb18bca
New option: First keypress enables backlight only. Patch #2920 by Nicolas Pennequin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9228 a1c6a512-1295-4272-9138-f99709370657
2006-03-24 13:47:24 +00:00
Jens Arnold
6a5ef8e742
Fixed loong-standing bug in mas_writereg().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9222 a1c6a512-1295-4272-9138-f99709370657
2006-03-24 07:57:55 +00:00
Christian Gmeiner
e7463a45ba
use logf
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9205 a1c6a512-1295-4272-9138-f99709370657
2006-03-23 14:02:43 +00:00
Brandon Low
b4d495c69f
Fix ipod 3g build that was broken (by me perhaps?)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9200 a1c6a512-1295-4272-9138-f99709370657
2006-03-23 03:48:48 +00:00
Thom Johansen
473fc2ba74
Fixed line out volume for 4G, Nano and 5G Ipods. Partial patch #4814 by
...
Ralf Herz.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9181 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 13:04:49 +00:00
Marcoen Hirschberg
d257683f3e
font caching fixes by Frank Dischner
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9178 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 09:53:27 +00:00
Hristo Kovachev
b492cf4ac4
Removed an unneeded BUTTON_HOLD define for iPod 3G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9151 a1c6a512-1295-4272-9138-f99709370657
2006-03-21 10:33:11 +00:00
Jens Arnold
bf3dba8628
Coldfire: Assembler optimised disk writing, speed increase ~36% on average.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9117 a1c6a512-1295-4272-9138-f99709370657
2006-03-19 12:37:23 +00:00
Linus Nielsen Feltzing
2f438bb2da
H300: Properly initialize the backlight PCF50606 port pin
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9113 a1c6a512-1295-4272-9138-f99709370657
2006-03-19 07:14:46 +00:00
Brandon Low
dd5a85839e
Reduce code size and generally clean up the button driver more! * Add 'wheel repeat' functionality to prevent scrolling past the end of lists in a continuous scroll. Can release and resume scrolling to wrap to the top (4g, 5g, nano).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9110 a1c6a512-1295-4272-9138-f99709370657
2006-03-19 01:12:28 +00:00
Brandon Low
0c620cc681
Improve button driver performance on ipod a bit by moving around queue checks and properly detecting end-of-scroll. * Provide to an application which reads the button queue directly the data from the wheel (position and delta) for custom wheel driver (only sent for deltas large enough to cause a scroll event for now
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9099 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 20:07:02 +00:00
Jens Arnold
14229df245
Fix s-t-u-p-i-d bug in the asm ata read routine.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9098 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 20:03:36 +00:00
Jens Arnold
5a121270aa
Coldfire: Assembler optimised disk reading, speed increase ~40% on average.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9092 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 10:12:50 +00:00
Brandon Low
96e4946d9d
Hopefully correct charger connected detection for ipod video thanks to Herz's patch
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9090 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 09:16:56 +00:00
Jens Arnold
13c63de2c1
Iriver: Properly working remote type detection regardless of hold switch positions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9079 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 18:45:06 +00:00
Jens Arnold
cb9e316d4d
H300: Cut-down LCD init & working display flip.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9078 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 15:42:06 +00:00
Brandon Low
4b68f1e2a3
Proper charger input, usb and charger activity detection/reporting for ipod video
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9061 a1c6a512-1295-4272-9138-f99709370657
2006-03-16 17:34:37 +00:00
Miika Pekkarinen
451ee0b11c
Charging state reporting for iriver players. Values calibrated with
...
1900 mAh Ionity battery; might need recalibration with the stock
battery.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9030 a1c6a512-1295-4272-9138-f99709370657
2006-03-13 16:11:30 +00:00
Jens Arnold
06bc627c99
Removed lcd_roll() and lcd_remote_roll() functions. These functions were not really portable. Removed the only plugin that used lcd_roll(): Oscillograph. Oscilloscope offers everything that oscillograph did and more, in a portable way. * Bumped & sorted plugin API.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8995 a1c6a512-1295-4272-9138-f99709370657
2006-03-11 09:28:49 +00:00
Brandon Low
4431ab237e
Code policing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8989 a1c6a512-1295-4272-9138-f99709370657
2006-03-10 12:55:13 +00:00
Brandon Low
19f4c2a093
Improve ipod i2c driver somewhat by at least taking advantage of the in-device addressing in the pcf50605, also switch to a 10bit resistive divider for the ipod battery reading, this is easily configurable if it needs changing, or even to become a user/runtime setting
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8980 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 19:47:12 +00:00
Linus Nielsen Feltzing
c11a68aee2
iAudio X5: Remote control buttons
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8968 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 07:23:07 +00:00
Brandon Low
ca9e8b6cf5
Use an 8 bit ADC read for battery reading on ipod, that provides better than centivolt precision any way, also enable charging, it seems to detect fine when charging by USB
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8966 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 01:36:22 +00:00
Brandon Low
c24569feee
Improve clarity, no functional change
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8965 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 01:32:34 +00:00
Brandon Low
e8196b3c79
Minor correction to irq masking
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8964 a1c6a512-1295-4272-9138-f99709370657
2006-03-08 22:59:41 +00:00
Dave Chapman
f556c95af1
That function prototype should never have been in CVS - it was just part of my testing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8956 a1c6a512-1295-4272-9138-f99709370657
2006-03-08 09:45:30 +00:00
Jens Arnold
4d9992d450
Fix lcd_roll() on H1x0.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8955 a1c6a512-1295-4272-9138-f99709370657
2006-03-08 08:09:52 +00:00