Brandon Low
a915771347
Make the ipod ADC driver more generic, preparing to share code between it and the iRiver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8934 a1c6a512-1295-4272-9138-f99709370657
2006-03-06 15:25:26 +00:00
Brandon Low
0c886b7697
Fix warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8923 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 22:29:44 +00:00
Brandon Low
bb2f15ca7d
Finer grained irq masking, blocking for i2c, plus a mutex to prevent conflicting read/writes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8922 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 22:14:53 +00:00
Brandon Low
aab008053e
Fix some yellow builds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8913 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 18:34:27 +00:00
Brandon Low
6668b65ef2
Move the RTC read throttling to a smarter place
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8912 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 18:19:46 +00:00
Brandon Low
63c0d1dd9c
Basic battery monitoring for ipod 5g, should work on other ipods as well, but needs testing and stuff. Also improved the RTC driver and moved it to where it belongs, and interrupt protected a bunch of possibly broken i2c. Also start preparing code for ipod charge monitoring. Note: on the 5g, this takes up enough processor time to increase skippiness noticeably in WPS.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8911 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 18:06:06 +00:00
Jens Arnold
8c50ff2788
More efficient button_read() for archos recorders and Ondios.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8908 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 09:07:03 +00:00
Brandon Low
6d19a569be
Improved battery status reporting for units which support usb power / charge
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8886 a1c6a512-1295-4272-9138-f99709370657
2006-03-02 13:37:51 +00:00
Marcoen Hirschberg
8d0a32eb4b
gigabeat related changes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8885 a1c6a512-1295-4272-9138-f99709370657
2006-03-02 13:28:24 +00:00
Jens Arnold
27f2182070
Fixed pointer size vs. int size problems (64 bit sims)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8881 a1c6a512-1295-4272-9138-f99709370657
2006-03-02 01:21:57 +00:00
Dave Chapman
71ee68e978
iPod 5G: Correctly implement mute when setting volume
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8863 a1c6a512-1295-4272-9138-f99709370657
2006-02-28 00:58:19 +00:00
Dave Chapman
285079138b
Patch #3060 from Andrew Scott - iPod mini button driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8857 a1c6a512-1295-4272-9138-f99709370657
2006-02-27 12:35:05 +00:00
Dave Chapman
2f76763d73
iPod 3G - initial (completely untested) attempt at audio support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8847 a1c6a512-1295-4272-9138-f99709370657
2006-02-26 15:59:46 +00:00
Dave Chapman
fb4e384367
More iPod 3G work from Seven Le Mesle
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8835 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 20:54:09 +00:00
Marcoen Hirschberg
338e2bbb0c
first gigabeat commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 15:42:52 +00:00
Linus Nielsen Feltzing
b902428180
Ooops. Forgot to remove some debug code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8830 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 15:40:55 +00:00
Linus Nielsen Feltzing
568ac3eb21
Button driver for iAudio X5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8828 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 15:06:25 +00:00
Linus Nielsen Feltzing
01ece88198
ADC driver for iAudio X5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8811 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 16:40:41 +00:00
Linus Nielsen Feltzing
2a2d346b08
Generic bitbang I2C driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8782 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 14:50:57 +00:00
Jens Arnold
a13f847186
Optimised lcd_clear_display(), lcd_hline() and lcd_fillrect().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8774 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 01:28:19 +00:00
Jens Arnold
a875703e6e
Slight optimisation for 1bit and 2bit (vp) LCD drivers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8772 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 00:20:28 +00:00
Dave Chapman
8b1297a0b6
Patch #1435744 from Andrew Scott - initial iPod Mini support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8764 a1c6a512-1295-4272-9138-f99709370657
2006-02-21 15:01:25 +00:00
Dave Chapman
800023bc4e
iPod 5G: Bug fixes in DAC initialisation - playback is now stereo...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8755 a1c6a512-1295-4272-9138-f99709370657
2006-02-20 22:46:58 +00:00
Hristo Kovachev
7f6fe6aa35
Multiple remote support for iriver Hxxx stage 2: now button_read() returns correct buttons for each remote type.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8752 a1c6a512-1295-4272-9138-f99709370657
2006-02-20 20:08:27 +00:00
Jens Arnold
5991f02e1c
Oops, no potentially conflicting declarations please.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8749 a1c6a512-1295-4272-9138-f99709370657
2006-02-20 18:45:31 +00:00
Jens Arnold
2705a894f0
Make the driver work with LCD widths which aren't integer multiples of 4, i.e. the last byte of a row is only partially used (upcoming iPod mini build).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8748 a1c6a512-1295-4272-9138-f99709370657
2006-02-20 18:15:49 +00:00
Thom Johansen
4b98554083
Fix slow shutdown on ipod nano.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8741 a1c6a512-1295-4272-9138-f99709370657
2006-02-19 21:22:24 +00:00
Jens Arnold
237d3c4c4b
Adaptive button repeat: adapts repeat rate depending on the ability of the application to cope. Avoids afterscroll and similar effects. * Yield while scrolling through lists.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8738 a1c6a512-1295-4272-9138-f99709370657
2006-02-19 13:34:12 +00:00
Dave Chapman
3ba5a0b24a
iPods - implement button_hold() function
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8727 a1c6a512-1295-4272-9138-f99709370657
2006-02-18 18:42:46 +00:00
Linus Nielsen Feltzing
00811840c9
Remote type autodetection on iriver, remote_type() returns REMOTETYPE_H100_LCD, REMOTETYPE_H300_LCD or REMOTETYPE_H300_NONLCD
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8721 a1c6a512-1295-4272-9138-f99709370657
2006-02-17 22:38:38 +00:00
Dave Chapman
bd203e02cb
iPod 5G: Split lcd_bcm_finishup() function into two halves, and incorporate into the start and end of lcd_update_rect.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8712 a1c6a512-1295-4272-9138-f99709370657
2006-02-16 23:17:49 +00:00
Dave Chapman
72ea4f38ba
iPod 5G: Put lcd_update_rect function in IRAM - increases speed from 52fps to 54fps
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8708 a1c6a512-1295-4272-9138-f99709370657
2006-02-16 21:15:05 +00:00
Linus Nielsen Feltzing
a4504bc276
Revert the ATA/USB power fix until I find an even more correct way of doing it :-)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8707 a1c6a512-1295-4272-9138-f99709370657
2006-02-16 20:44:38 +00:00
Jens Arnold
41e1aa888b
Grayscale iPods: Fixed & optimised LCD driver. Further optimisation is possible. * LCD driver now uses proper native bitmaps resembling the LCD internal format. Mono bitmaps are still transposed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8706 a1c6a512-1295-4272-9138-f99709370657
2006-02-16 20:03:07 +00:00
Jens Arnold
fa41253f04
Important bugfix for lcd_bitmap_part(). * Some slight optimisations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8703 a1c6a512-1295-4272-9138-f99709370657
2006-02-16 17:22:27 +00:00
Dave Chapman
333a22e73c
iPod 5G: Another LCD optimisation, now at 52fps
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8698 a1c6a512-1295-4272-9138-f99709370657
2006-02-16 00:52:47 +00:00
Dave Chapman
d935679ba6
iPod 5G: Further LCD driver optimisations - it is now working at 42fps for full-screen updates
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8696 a1c6a512-1295-4272-9138-f99709370657
2006-02-15 21:07:37 +00:00
Dave Chapman
0a8e6d1673
iPod 5G: Small LCD optimisation - make lcd_bcm_write32 inline. Increases LCD speed from 28fps to 31fps.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8694 a1c6a512-1295-4272-9138-f99709370657
2006-02-15 14:13:51 +00:00
Dave Chapman
32df71851b
iPod 5G: Add a yield() to the lcd_bcm_finishup() function. This function typically waits in a while loop for 14ms whilst the Broadcom DSP updates the LCD - yielding gives that time back to audio decoding.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8693 a1c6a512-1295-4272-9138-f99709370657
2006-02-15 11:54:56 +00:00
Linus Nielsen Feltzing
2612d371db
More correct power handling of the HDD and ISD300 chips on the H300 platform
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8688 a1c6a512-1295-4272-9138-f99709370657
2006-02-13 22:49:59 +00:00
Dave Chapman
9581ad39ec
iPod: Audio driver for iPod Video/5G. Rename wm8971_* functions to wmcodec_* to enable unification of the audio code for WM codecs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8676 a1c6a512-1295-4272-9138-f99709370657
2006-02-13 13:48:08 +00:00
Dave Chapman
6ffd3cfca4
Some cosmetic cleaning of the wm8975 audio driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8667 a1c6a512-1295-4272-9138-f99709370657
2006-02-12 17:18:47 +00:00
Thom Johansen
1f8529708b
Make the clickwheel driver stop buffering events if Rockbox is too busy
...
to handle them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8650 a1c6a512-1295-4272-9138-f99709370657
2006-02-10 14:39:19 +00:00
Dave Chapman
b0ad4cfbb5
Implement contrast setting for iPod greyscale LCD
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8643 a1c6a512-1295-4272-9138-f99709370657
2006-02-09 19:47:52 +00:00
Dave Chapman
8fee5282ba
iPod grayscale LCD driver - fix bug preventing the inverse bar line selector from displaying
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8637 a1c6a512-1295-4272-9138-f99709370657
2006-02-09 01:05:08 +00:00
Dave Chapman
8ad2df8275
Create an SDL sim for the iPod 4G Grayscale and also create an IPOD_ARCH define for all iPods.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8636 a1c6a512-1295-4272-9138-f99709370657
2006-02-09 00:48:53 +00:00
Hristo Kovachev
db734b41d5
Patch #1403437 by Peter D'Hoye & Martin Scarratt: Recording gain.
...
Changes:
***1. all platforms:
1.1 corrects gain display bug;
1.2 allows combined setting of stereo gain without an extra
line on the display;
2. iRiver H1xx and H3xx specific:
2.1 correctly named the decimator variables, they were
called 'gain';
2.2 splitted decimator gain settings for mic and line-in so
that they are saved separately;
2.3 added combined analog and decimator gain setting giving a
smooth gain range with the best analog/decimator gain
combination
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8627 a1c6a512-1295-4272-9138-f99709370657
2006-02-08 13:08:55 +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
27f69db404
Fine-tuned ADC values for H300 button driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8605 a1c6a512-1295-4272-9138-f99709370657
2006-02-07 12:41:04 +00:00
Dave Chapman
383b8d41c1
Some bugfixes for the iPod 4G greyscale version of the LCD driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8594 a1c6a512-1295-4272-9138-f99709370657
2006-02-06 02:32:15 +00:00