Commit graph

1045 commits

Author SHA1 Message Date
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
Dave Chapman
2f11278b59 Correct the comment to match the new code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8593 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 21:26:22 +00:00
Dave Chapman
afb2564b84 iPod: Increase udelay() up to 50 - this was causing problems when the hold switch was being used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8590 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 20:58:41 +00:00
Dave Chapman
2924a48ca5 Create config file for iPod 4G greyscale and various iPod 3G/4G greyscale fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8585 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 18:25:41 +00:00
Dave Chapman
465596b163 More iPod 3G code from Seven Le Mesle
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8582 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 17:16:34 +00:00
Dave Chapman
e8048cefed Initial version of iPod greyscale LCD driver from Seven Le Mesle. This is currently written to use vertically-packed mono and native bitmap formats.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8580 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 16:01:50 +00:00
Jens Arnold
f3857abf6b H300: lcd_write_data() in pure asm, essentially the same speed as before, but working correctly for all allowed data lengths. Removed RAM waste by declaring inline functions static.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8575 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 00:24:08 +00:00
Linus Nielsen Feltzing
1ee68b0e88 iAudio X5: hold button functions (not yet complete)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8574 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 00:20:11 +00:00
Linus Nielsen Feltzing
33fbe7c904 iAudio X5: Dummy ADC functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8573 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 00:18:42 +00:00
Linus Nielsen Feltzing
760fea9ac7 iAudio X5: various fixes to make the bootloader compile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8560 a1c6a512-1295-4272-9138-f99709370657
2006-02-04 00:01:15 +00:00
Linus Nielsen Feltzing
44a5c827b7 iAudio X5: Corrected crappy code, just to make the damn thing compile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8559 a1c6a512-1295-4272-9138-f99709370657
2006-02-03 23:59:41 +00:00
Jens Arnold
3c17330af6 Colour LCD driver: * Bring non-backdrop rendering back up to speed. * Speed up rendering with backdrop. * Restore correct behaviour of lcd_clear_display().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8549 a1c6a512-1295-4272-9138-f99709370657
2006-02-03 21:11:51 +00:00
Linus Nielsen Feltzing
9b0822d76a Make it compile on iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8543 a1c6a512-1295-4272-9138-f99709370657
2006-02-02 23:07:11 +00:00
Dave Chapman
d9e5b67b71 Patch #1421422 - Backdrop image patch started by Linus, finished by me. Adds ability to set backdrop images for file browser and menus (store full-screen bitmaps in /.rockbox/backdrops/) and also the ability to set a full-screen background image in a WPS using the %X|filename.bmp| WPS tag. Currently only implemented for targets with colour LCDs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8536 a1c6a512-1295-4272-9138-f99709370657
2006-02-02 20:42:56 +00:00
Jens Arnold
e6c2e197b3 This should not have been recommitted (went undetected for quite a while).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8533 a1c6a512-1295-4272-9138-f99709370657
2006-02-02 19:53:50 +00:00
Jens Arnold
32326ef10d * Changed implementation of inverse bar: Instead of complementing all pixels after drawing the text, the text is drawn in inversevid mode. This is faster, and will be more readable when backdrop image support gets added. Appearance on non-colour targets doesn't change. * Speedup of the scroll thread.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8532 a1c6a512-1295-4272-9138-f99709370657
2006-02-02 19:35:51 +00:00
Dave Chapman
1023cedb79 iPod: Remove/reduce the udelay()s in the button driver. They were in the IPL source, but do not appear to be needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8530 a1c6a512-1295-4272-9138-f99709370657
2006-02-02 11:24:32 +00:00
Dave Chapman
f9dac40cf3 iPod: Fix the detection of lcd type for the iPod Photo - this should fix problems with that LCD. Affected users also need to install a new bootloader - available from the iPod Installation wiki page.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8499 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 01:50:07 +00:00
Dave Chapman
d3784e5d08 iPod: Remove some iPod Photo lcd initialisation code that (when used in the bootloader) corrupted the colors in the original firmware.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8497 a1c6a512-1295-4272-9138-f99709370657
2006-01-30 23:25:57 +00:00
Dave Chapman
5ffa8c52df iPod: Initial attempt at volume/bass/treble control - more work is needed, but it seems to be working.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8495 a1c6a512-1295-4272-9138-f99709370657
2006-01-30 21:12:31 +00:00
Linus Nielsen Feltzing
281403a4d8 Work-in-progress transparent bitmaps with 255,0,255 as the transparent color, not yet working on the H100 series
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8476 a1c6a512-1295-4272-9138-f99709370657
2006-01-28 23:12:20 +00:00
Brandon Low
2047f79f75 Fix red builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8463 a1c6a512-1295-4272-9138-f99709370657
2006-01-27 02:00:43 +00:00
Brandon Low
005c2f8026 Detect USB charge state in Hxx0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8462 a1c6a512-1295-4272-9138-f99709370657
2006-01-27 01:19:14 +00:00
Thom Johansen
22e6c02f8e Removed PP5020_ prefix from register defines and added/renamed some
defines.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8438 a1c6a512-1295-4272-9138-f99709370657
2006-01-24 22:31:57 +00:00
Brandon Low
d3a03b679f Horizontal screen scrolling part 3 (by Shachar Liberman)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8414 a1c6a512-1295-4272-9138-f99709370657
2006-01-22 04:24:26 +00:00
Tomas Salfischberger
bfe740712a Horizontal scrolling patch by Shachar Liberman - Part 2 :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8413 a1c6a512-1295-4272-9138-f99709370657
2006-01-22 02:14:37 +00:00
Tomas Salfischberger
7fa39df427 Horizontal scrolling patch by Shachar Liberman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8412 a1c6a512-1295-4272-9138-f99709370657
2006-01-22 01:42:05 +00:00
Brandon Low
b016185c99 Fix red builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8392 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 20:12:49 +00:00
Brandon Low
a452c7410d Start cleaning up some #ifdefs in charging code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8391 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 19:39:51 +00:00
Hristo Kovachev
4926682378 Patch #1404233 by Peter D'Hoye: H300 brightness bugfix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8387 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 13:10:15 +00:00
Brandon Low
cdacab3d89 Charging state reporting on H3x0
Don't read the GPIO every refresh of statusbar or gwps for plugged state, use a
variable exported from powermgmt instead.
Allow Custom WPS to access %bc for battery charge state on targets that support
this.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8383 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 07:47:34 +00:00
Brandon Low
13414ae77a Initialize the MBC to off, idle state JinC
Fix a comment that had wrong voltage


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8382 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 07:47:02 +00:00
Dave Chapman
cf0e3d355c iPod: Fix endian bug with disk reads and writes to a non-aligned memory buffer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8369 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 14:04:30 +00:00
Dave Chapman
205be712fe Two files for the iFP port that I forgot to commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8365 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 10:01:35 +00:00
Thom Johansen
d47bb3c05e Temp fix for iPod Nano. Disable ATA sleep, as this will hang disk accesses.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8357 a1c6a512-1295-4272-9138-f99709370657
2006-01-16 23:23:39 +00:00
Dave Chapman
d83e929f3f Work-in-progress iriver iFP-7xx port by Tomasz Malesinski
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
2006-01-12 00:35:50 +00:00
Linus Nielsen Feltzing
e5f129728e Enable the EXTON and CHG wakeup again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8334 a1c6a512-1295-4272-9138-f99709370657
2006-01-11 15:36:20 +00:00
Linus Nielsen Feltzing
08e06110dc Reverted the wakeup/debounce PCF50606 settings for now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8329 a1c6a512-1295-4272-9138-f99709370657
2006-01-11 00:49:54 +00:00
Linus Nielsen Feltzing
54da924e43 H300: Bootloader USB mode detection on EXTON wakeup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8326 a1c6a512-1295-4272-9138-f99709370657
2006-01-10 23:11:57 +00:00
Hristo Kovachev
9cf5270f10 Don't init the lcd twice - once on lcd_init_device and the other one on first call of lcd_enable() (an old, known bug).
Linus, please check whether lcd_enable(true) is still required for the h300 bootloader (lcd_init() calls lcd_init_device())


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8317 a1c6a512-1295-4272-9138-f99709370657
2006-01-09 16:11:19 +00:00
Dave Chapman
cb7e695ef9 iPod: Fix the bootloader so it can load and run the original Apple firmware again. The Rockbox firmware was doing too much to the hardware so we remove most of the initialisation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8301 a1c6a512-1295-4272-9138-f99709370657
2006-01-05 17:02:48 +00:00
Linus Nielsen Feltzing
bd2f678b70 Patch #1392287 by Brandon Low - faster LCD update for H300 with ASM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8293 a1c6a512-1295-4272-9138-f99709370657
2005-12-28 22:49:22 +00:00
Linus Nielsen Feltzing
e57471a1be H300: RTC support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8284 a1c6a512-1295-4272-9138-f99709370657
2005-12-22 23:48:32 +00:00
Hristo Kovachev
9b83c6c4bd Patch No 1387627 by Peter D'Hoye: Backlight Brightness setting for H300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8280 a1c6a512-1295-4272-9138-f99709370657
2005-12-22 10:43:36 +00:00
Linus Nielsen Feltzing
9d67765cae Reverted the H300 LCD DMA patch, since it iterfered with the recording DMA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8279 a1c6a512-1295-4272-9138-f99709370657
2005-12-22 09:33:39 +00:00
Dave Chapman
bd544b6c20 iPod: Enable HAVE_SW_POWEROFF define and map power-off to a very long press on PLAY
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8278 a1c6a512-1295-4272-9138-f99709370657
2005-12-22 09:27:23 +00:00
Thom Johansen
2e55f1c9b0 Button driver would insert erronous events when wheel position overflowed, this fixes it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8277 a1c6a512-1295-4272-9138-f99709370657
2005-12-22 00:01:36 +00:00
Dave Chapman
f9295a6a65 Remove unused variables
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8276 a1c6a512-1295-4272-9138-f99709370657
2005-12-21 23:47:43 +00:00
Dave Chapman
4ba9eac894 Put the ipod into standby mode on shutdown. This is untested on the 5g, but should work...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8275 a1c6a512-1295-4272-9138-f99709370657
2005-12-21 23:32:19 +00:00
Linus Nielsen Feltzing
c70eb572c1 H300: Roughly 20% faster LCD updates with DMA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8271 a1c6a512-1295-4272-9138-f99709370657
2005-12-21 00:52:02 +00:00
Linus Nielsen Feltzing
67f00224fb patch #1385256 by Hristo Kovachev - Turn off H300 LCD while backlight is off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8268 a1c6a512-1295-4272-9138-f99709370657
2005-12-20 23:15:27 +00:00
Dave Chapman
c3f9d0063f Correctly attribute Bernard Leach as the (C) holder for code taken from ipodlinux.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8264 a1c6a512-1295-4272-9138-f99709370657
2005-12-19 14:30:52 +00:00