Brandon Low
ca2dc0d4e5
Commit changed scale factor to match battery reading changes on ipod 5g
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8983 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 22:12:15 +00:00
Brandon Low
7bc5bc4b49
Fix peakmeter reading off the end of the buffer, thanks to petur
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8981 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 21:25:08 +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
Peter D'Hoye
5ecac908a2
Fix by Jvo Studer for bugreport #4799 . Recorded bytes counter wasn't updated with pre-recording bytes, causing an issue when file-splitting because of maximum filesize limit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8979 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 18:39:45 +00:00
Dave Chapman
48e8e1d820
iPod 3G: Enable I2S interrupts for the main processor, not the COP
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8971 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 08:49:52 +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
9c2b203025
Fix profiling compilation for non-m68k targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8967 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 01:37:52 +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
Brandon Low
9d75acbaf7
~2% performance improvement and some code cleanups for ipod video lcd update
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8953 a1c6a512-1295-4272-9138-f99709370657
2006-03-08 04:14:30 +00:00
Jens Arnold
19b45a4374
LCD extension library: Implemented scrolling for LCD depths below 8 bit. * Oscilloscope: Use new scrolling function, some minor optimisations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8951 a1c6a512-1295-4272-9138-f99709370657
2006-03-08 01:14:46 +00:00
Jens Arnold
761652abf7
Fixed dependency problem in compressed firmware build. (archos recorder v1)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8950 a1c6a512-1295-4272-9138-f99709370657
2006-03-07 23:52:33 +00:00
Brandon Low
06d085a952
_Slight_ optimization of peak calculation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8949 a1c6a512-1295-4272-9138-f99709370657
2006-03-07 23:10:24 +00:00
Linus Nielsen Feltzing
838a7020c7
ATA driver: Fixed a flaw in check_registers(), and added support for iAudio X5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8948 a1c6a512-1295-4272-9138-f99709370657
2006-03-07 13:25:19 +00:00
Linus Nielsen Feltzing
c5c8883cc8
iAudio X5 target-specific ATA driver code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8947 a1c6a512-1295-4272-9138-f99709370657
2006-03-07 13:19:34 +00:00
Linus Nielsen Feltzing
322cb14115
Adapted to compile with lostlogics recent ADC driver changes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8946 a1c6a512-1295-4272-9138-f99709370657
2006-03-07 13:15:24 +00:00
Linus Nielsen Feltzing
eed02bebcd
Add the target directory tree to the include path, and set the TARGET_TREE macro for the targets that use it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8945 a1c6a512-1295-4272-9138-f99709370657
2006-03-07 12:45:45 +00:00
Brandon Low
8348cebe9a
Fix red builds (with frustration)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8941 a1c6a512-1295-4272-9138-f99709370657
2006-03-07 05:26:18 +00:00
Brandon Low
a4b45ee131
Additional minor button interrupt tweaks, in a completely unscientific way, this seems to make the 5g more responsive at 30mhz
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8940 a1c6a512-1295-4272-9138-f99709370657
2006-03-07 05:21:00 +00:00
Brandon Low
b5648000ba
Slight simplification of scroll button driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8939 a1c6a512-1295-4272-9138-f99709370657
2006-03-07 04:56:55 +00:00
Brandon Low
40d0d752aa
Make seconds flow evenly and further throttle RTC reads solution partially thanks to amiconn
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8938 a1c6a512-1295-4272-9138-f99709370657
2006-03-06 22:53:59 +00:00
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
4a301c3275
Make the RTC read throttling work, thanks to herz42 on irc
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8926 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 23:38:52 +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
Thom Johansen
149df9794e
Make better use of banked registers in FIQ mode to shrink the iPod FIQ
...
handler a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8920 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 21:16:57 +00:00
Brandon Low
780e8dd0ef
Fix other yellow builds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8914 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 18:40:51 +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
Jörg Hohensohn
ea5df70e46
Archos V1 recorder charging path #2927 by Alun Thomas
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8898 a1c6a512-1295-4272-9138-f99709370657
2006-03-04 09:48:53 +00:00
Jens Arnold
8ac3ae73c5
More 64bit simulator fixes, coinciding with the long policy this time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8890 a1c6a512-1295-4272-9138-f99709370657
2006-03-03 02:09:58 +00:00
Jens Arnold
fb7368e12f
More 64bit simulator fixes: inttypes, settings block handling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8888 a1c6a512-1295-4272-9138-f99709370657
2006-03-03 01:12:50 +00:00
Jens Arnold
7a0110eedd
TAB policed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8887 a1c6a512-1295-4272-9138-f99709370657
2006-03-02 22:29:53 +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
Marcoen Hirschberg
f2fe4e0c4c
improve FreeBSD support a little
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8884 a1c6a512-1295-4272-9138-f99709370657
2006-03-02 13:07:11 +00:00
Dan Everton
ccd0e7451d
Change rename() to set errno to EXDEV if a rename is attempted across volumes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8883 a1c6a512-1295-4272-9138-f99709370657
2006-03-02 11:03:34 +00:00
Jens Arnold
b621de368b
Fixed more pointer size vs. int size problems (64 bit sims)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8882 a1c6a512-1295-4272-9138-f99709370657
2006-03-02 01:37:54 +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
Peter D'Hoye
9529d5fd14
Stop mixing signed and unsigned when dealing with audio
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8876 a1c6a512-1295-4272-9138-f99709370657
2006-03-01 21:27:05 +00:00
Jens Arnold
b4ada860b3
Allow building simulators on systems where errno is thread-local by using the system's implementation of errno.h for simulator builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8871 a1c6a512-1295-4272-9138-f99709370657
2006-02-28 23:56:44 +00:00
Miika Pekkarinen
871575f0f0
Implement . and .. path in dircache to properly support moving files
...
to other directories without absolute destination path provided.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8866 a1c6a512-1295-4272-9138-f99709370657
2006-02-28 11:41:35 +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
Peter D'Hoye
55a7a5c060
Oops: clipping detection optimization broke pre-recording
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8861 a1c6a512-1295-4272-9138-f99709370657
2006-02-27 19:23:26 +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