Commit graph

3100 commits

Author SHA1 Message Date
Björn Stenberg
040816d173 Fixed build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2914 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 14:33:20 +00:00
Björn Stenberg
f09c5f4c63 Finally, merged the improved power code from Uwe Freese:
- The battery level (percentage) is more realistic and considers if the charger is on.
- It considers the "lazyness" a battery shows when the charging has just turned on or off (see below). But this is not perfect by now.
- The battery level is good enough to estimate the remaining running time and the remaining charging time. And so the info screen now shows this info.
- The maximum time of a charging cycle is now dynamically calculated out of the battery level (percentage) and is not a fixed value.
- A minimum of 60 minutes is waited after a charging cycle stops before another one starts.
- Added another screen in the battery debug screen (press down three times).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2913 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 14:18:51 +00:00
Linus Nielsen Feltzing
67938f3451 Added features, corrected others
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2912 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 14:14:26 +00:00
Björn Stenberg
f6cb6163b9 Fat test code, for the archives.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2911 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 14:00:33 +00:00
Björn Stenberg
c032e65034 Bug fix: Master/slave was not always properly selected after powerdown.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2910 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 13:29:35 +00:00
Daniel Stenberg
4a931c6285 more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2909 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 13:21:37 +00:00
Björn Stenberg
45d32cec5b Added 'Disk info' to debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2908 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 13:12:55 +00:00
Daniel Stenberg
db8cc18010 queue
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2907 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 12:42:13 +00:00
Daniel Stenberg
8225abbd3d more features
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2906 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 12:29:01 +00:00
Björn Stenberg
ec5e9066dd Features updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2905 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 12:22:29 +00:00
Björn Stenberg
5a65aa8fb5 Updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2904 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 12:22:13 +00:00
Daniel Stenberg
2094d45af0 use the proper #ifdef for a feature
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2903 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 12:02:26 +00:00
Björn Stenberg
1ea00d1a03 Added a >2ms delay in ata_hard_reset() before reading status, as per ATA specificatione (pedantic mode entered)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2902 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 11:26:39 +00:00
Daniel Stenberg
cd89646e58 playlist size
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2901 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 09:16:07 +00:00
Daniel Stenberg
113e5eaf7b initial attempt to list features, needs lots of more lines!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2900 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 09:06:01 +00:00
Björn Stenberg
c2cb6a67c4 Bug fix: A failed read could return OK.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2899 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 08:53:06 +00:00
Arnaud de Bonald
08b9e97091 added translated 'playlists' string
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2898 a1c6a512-1295-4272-9138-f99709370657
2002-12-02 16:52:45 +00:00
Björn Stenberg
ae22de285e Added two simple battery runtime meters (current + top). 'Current' resets automatically when the charger cable is connected, or manually by pressing PLAY in the viewer. We are now officially out of RTC space.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2897 a1c6a512-1295-4272-9138-f99709370657
2002-12-02 16:07:56 +00:00
Björn Stenberg
7249c8807c Updated power-on procedure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2896 a1c6a512-1295-4272-9138-f99709370657
2002-12-02 10:30:40 +00:00
Robert Hak
657a2f3d1c correction to make 'playlists' display option work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2895 a1c6a512-1295-4272-9138-f99709370657
2002-12-02 04:46:19 +00:00
Robert Hak
0789d42400 updateing a build failure (ata_power_off) and first attempt to add 'playlist only' file display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2894 a1c6a512-1295-4272-9138-f99709370657
2002-11-30 09:42:13 +00:00
Björn Stenberg
3d4cc9b378 Added disk_poweroff to settings_apply() (still only for testing)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2893 a1c6a512-1295-4272-9138-f99709370657
2002-11-29 13:57:00 +00:00
Daniel Stenberg
5059ce525f mention perl, the recorder image name and that you can ROLO the new version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2892 a1c6a512-1295-4272-9138-f99709370657
2002-11-29 10:21:55 +00:00
Arnaud de Bonald
19afbbb32d added the "disk poweroff string translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2891 a1c6a512-1295-4272-9138-f99709370657
2002-11-29 08:49:41 +00:00
Daniel Stenberg
39c54749e3 use the proper #ifdef HAVE_ATA_POWER_OFF
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2890 a1c6a512-1295-4272-9138-f99709370657
2002-11-29 07:05:46 +00:00
Daniel Stenberg
cf1368145a HAVE_ATA_POWER_OFF is now defined and used if the platform has support for
that control


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2889 a1c6a512-1295-4272-9138-f99709370657
2002-11-29 07:05:27 +00:00
Björn Stenberg
2b77b4fdd5 Added option to enable/disable disk poweroff (for diagnostic purposes)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2888 a1c6a512-1295-4272-9138-f99709370657
2002-11-28 22:46:19 +00:00
Björn Stenberg
494d261de3 Added disk poweroff 2s after spindown. (Only for recorders yet.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2887 a1c6a512-1295-4272-9138-f99709370657
2002-11-27 15:55:47 +00:00
Linus Nielsen Feltzing
cde27c3909 Even more recording fixes. No more lockups (i hope)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2886 a1c6a512-1295-4272-9138-f99709370657
2002-11-25 20:16:44 +00:00
Linus Nielsen Feltzing
2c0b72f103 Saves battery when monitoring, no longer trashes the first frame, corrected DMA timing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2885 a1c6a512-1295-4272-9138-f99709370657
2002-11-25 00:02:54 +00:00
Linus Nielsen Feltzing
d0c958a861 Corrected time info when recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2884 a1c6a512-1295-4272-9138-f99709370657
2002-11-25 00:00:46 +00:00
Linus Nielsen Feltzing
4432d3730d The saving flag wasn't correctly handled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2883 a1c6a512-1295-4272-9138-f99709370657
2002-11-24 22:50:54 +00:00
Linus Nielsen Feltzing
063c6d471f Killed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2882 a1c6a512-1295-4272-9138-f99709370657
2002-11-24 15:04:22 +00:00
Linus Nielsen Feltzing
6a24059392 Recording buffer saving mechanism was braindead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2881 a1c6a512-1295-4272-9138-f99709370657
2002-11-24 11:49:17 +00:00
Linus Nielsen Feltzing
0281125c98 Removed debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2880 a1c6a512-1295-4272-9138-f99709370657
2002-11-24 11:47:56 +00:00
Linus Nielsen Feltzing
63f0b5ec3a Removed a potential I2C deadlock
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2879 a1c6a512-1295-4272-9138-f99709370657
2002-11-24 11:47:24 +00:00
Linus Nielsen Feltzing
c833a816d8 Lots of MAS hacking for better recording results
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2878 a1c6a512-1295-4272-9138-f99709370657
2002-11-24 00:23:49 +00:00
Björn Stenberg
f11e3c0bba Erroneous commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2877 a1c6a512-1295-4272-9138-f99709370657
2002-11-22 23:56:07 +00:00
Björn Stenberg
ac88b9e5ff Fixed warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2876 a1c6a512-1295-4272-9138-f99709370657
2002-11-22 23:55:08 +00:00
Björn Stenberg
b5184d761b Added creation and last-modified timestamps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2875 a1c6a512-1295-4272-9138-f99709370657
2002-11-22 23:51:46 +00:00
Daniel Stenberg
5befad0a1b new file for string functions, starting with num2max5()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2874 a1c6a512-1295-4272-9138-f99709370657
2002-11-22 13:00:10 +00:00
Linus Nielsen Feltzing
6871977d82 Optimized recording interrupt
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2873 a1c6a512-1295-4272-9138-f99709370657
2002-11-21 21:38:58 +00:00
Linus Nielsen Feltzing
390e8f0ec6 Set both channel level to 0 when recording from microphone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2872 a1c6a512-1295-4272-9138-f99709370657
2002-11-21 18:58:55 +00:00
Linus Nielsen Feltzing
79c5202e07 Experiment to cure the strange sound wuality problem with Line In recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2871 a1c6a512-1295-4272-9138-f99709370657
2002-11-21 18:57:15 +00:00
Mats Lidell
936b7b2a26 In sync with default.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2870 a1c6a512-1295-4272-9138-f99709370657
2002-11-21 17:45:25 +00:00
Robert Hak
ada34e620c cruft removal
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2869 a1c6a512-1295-4272-9138-f99709370657
2002-11-21 09:32:32 +00:00
Linus Nielsen Feltzing
2260f83376 Now uses timefuncs.h instead of time.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2868 a1c6a512-1295-4272-9138-f99709370657
2002-11-20 22:46:35 +00:00
Linus Nielsen Feltzing
77d9c7cf84 More MAS voodoo resulting in more stable, maybe even working, recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2867 a1c6a512-1295-4272-9138-f99709370657
2002-11-20 22:23:20 +00:00
Linus Nielsen Feltzing
d5bb9a4e70 Added mas_readver()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2866 a1c6a512-1295-4272-9138-f99709370657
2002-11-20 22:22:13 +00:00
Linus Nielsen Feltzing
5e15aeedfc Instantaneous start of recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2865 a1c6a512-1295-4272-9138-f99709370657
2002-11-20 11:47:32 +00:00