Daniel Stenberg
73b427a743
kill warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3455 a1c6a512-1295-4272-9138-f99709370657
2003-03-16 22:35:30 +00:00
Daniel Stenberg
3f27f7d82c
only do the fprintf() if not doing a simulator, since this file is used
...
for the win32 simulator and the fprintf() of Rockbox differs slightly from
how the true POSIX one is (the first argument).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3452 a1c6a512-1295-4272-9138-f99709370657
2003-03-16 21:42:22 +00:00
Daniel Stenberg
5bbed107ab
added fprintf() proto
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3451 a1c6a512-1295-4272-9138-f99709370657
2003-03-16 19:44:48 +00:00
Daniel Stenberg
758a2c823a
introducing fprintf():
...
int fprintf(int fd, const char *fmt, ...)
Returns number of bytes written to the file descriptor.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3450 a1c6a512-1295-4272-9138-f99709370657
2003-03-16 19:43:28 +00:00
Daniel Stenberg
2955a2ead3
initial test code for the snprintf() (and family) function
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3449 a1c6a512-1295-4272-9138-f99709370657
2003-03-16 19:12:48 +00:00
Hardeep Sidhu
e5e9bc3e65
Previous change broke read after seek. Reverted that change and added temporary fix in flush_cache to make sure we are on correct sector before writing to disk.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3448 a1c6a512-1295-4272-9138-f99709370657
2003-03-15 21:13:35 +00:00
Linus Nielsen Feltzing
001226c7e1
patch #702874 by Craig Sather, fixes a pause bug in WPS
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3447 a1c6a512-1295-4272-9138-f99709370657
2003-03-15 12:09:09 +00:00
Linus Nielsen Feltzing
7105b28bba
The frame buffer was too small for 320kbit/s frames
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3446 a1c6a512-1295-4272-9138-f99709370657
2003-03-15 07:28:12 +00:00
Björn Stenberg
c6ae452853
FM recorders can wake up from RTC alarm.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3445 a1c6a512-1295-4272-9138-f99709370657
2003-03-14 16:26:51 +00:00
Björn Stenberg
bb6e51aa0d
Moved read code around a bit to more strictly obey the ATA specification.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3444 a1c6a512-1295-4272-9138-f99709370657
2003-03-14 16:06:09 +00:00
Hardeep Sidhu
67c1a0c63c
Make sure we are on correct sector after lseek. This fixes the queue file corruption bug.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3443 a1c6a512-1295-4272-9138-f99709370657
2003-03-14 15:39:50 +00:00
Björn Stenberg
b551e36fb0
Bug fixes: Artist was skipped sometimes. Frequency, mpeg version & layer was never copied.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3441 a1c6a512-1295-4272-9138-f99709370657
2003-03-13 19:12:05 +00:00
Björn Stenberg
b12401b4d4
Initialize return code at start of loop, not at the end.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3440 a1c6a512-1295-4272-9138-f99709370657
2003-03-13 15:45:38 +00:00
Björn Stenberg
72f75f36a5
Removed CPU Sleep setting. It's now permanently enabled.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3434 a1c6a512-1295-4272-9138-f99709370657
2003-03-12 15:30:59 +00:00
Björn Stenberg
3ca8d3589e
flush_cache() failure should still return error.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3433 a1c6a512-1295-4272-9138-f99709370657
2003-03-12 15:15:46 +00:00
Björn Stenberg
188be8ec57
Bug fix: If head bytes were read but sector read failed, return head byte count instead of error.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3432 a1c6a512-1295-4272-9138-f99709370657
2003-03-12 15:06:57 +00:00
Linus Nielsen Feltzing
5f12c8fbc7
Killed compiling error on debug builds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3425 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 21:55:59 +00:00
Linus Nielsen Feltzing
9cb9c821a0
Killed a warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3423 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 20:49:18 +00:00
Linus Nielsen Feltzing
2c07e78efc
Don't accidentally add Xing headers to CBR files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3419 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 18:25:40 +00:00
Linus Nielsen Feltzing
6475aa0c85
Experimental Xing header generation added. Use with caution
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3418 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 18:05:01 +00:00
Linus Nielsen Feltzing
673937d654
Faster disk updates with the flush() function
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3417 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 17:12:27 +00:00
Linus Nielsen Feltzing
44e51833ed
Zagor added the flush() function
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3416 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 17:10:46 +00:00
Björn Stenberg
fac3bc581a
Ignore duplicate id3v2 tags or frames. Patch by Bill Napier.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3413 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 15:43:16 +00:00
Linus Nielsen Feltzing
a1598b5836
I hate it when rippers don't follow the ID3V2 specs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3412 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 15:32:59 +00:00
Linus Nielsen Feltzing
a039091187
New ID3 and MP3 stream parser, plus not-yet-ready Xing header generation code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3410 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 14:55:31 +00:00
Björn Stenberg
6365f2a558
Updated with new export dir
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3404 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 12:42:53 +00:00
Björn Stenberg
b443ba46ec
Don't reboot if charger is connected when sleep timer expires, just stop the music.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3397 a1c6a512-1295-4272-9138-f99709370657
2003-03-07 14:13:58 +00:00
Linus Nielsen Feltzing
16d1a68b33
update_fat_entry() set the wrong cache line dirty if bpb_resvdseccnt wasn't divisible by 32 (didn't compensate for the reserved sector count)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3379 a1c6a512-1295-4272-9138-f99709370657
2003-03-04 13:50:23 +00:00
Daniel Stenberg
2573879fb1
Massively code-policed. We keep source lines less than 80 columns...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3378 a1c6a512-1295-4272-9138-f99709370657
2003-03-04 05:59:38 +00:00
Daniel Stenberg
975e240a0c
if MEM is not set, set it to 2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3377 a1c6a512-1295-4272-9138-f99709370657
2003-03-04 05:49:53 +00:00
Uwe Freese
21130ebc29
Found the only one point that led to imcompatibility of the CVS code with a 8MB AJB. Finally, CVS is 8 MB-mod compliant. :-)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3374 a1c6a512-1295-4272-9138-f99709370657
2003-03-03 14:05:47 +00:00
Uwe Freese
63e97b66e0
estimate 22 percent longer runtime when having 8 MB, assuming 192 kbps files again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3372 a1c6a512-1295-4272-9138-f99709370657
2003-03-03 13:23:11 +00:00
Uwe Freese
4846ce8654
export MEM variable in firmware and apps
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3371 a1c6a512-1295-4272-9138-f99709370657
2003-03-03 13:17:49 +00:00
Linus Nielsen Feltzing
680b12c0c2
Even more return code checking when recording
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3366 a1c6a512-1295-4272-9138-f99709370657
2003-03-02 23:04:39 +00:00
Linus Nielsen Feltzing
cc136c5c60
Now correctly skips ID3V1 tags to avoid gaps between tracks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3365 a1c6a512-1295-4272-9138-f99709370657
2003-03-02 03:58:54 +00:00
Björn Stenberg
6da56d9f08
Added three new channel modes: Stereo narrow, Stereo wide, and Karaoke (voice filter). Patch by Remo Hofer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3356 a1c6a512-1295-4272-9138-f99709370657
2003-02-27 15:02:20 +00:00
Björn Stenberg
b1079200d3
New option: Invert display. Patch by Mark Hillebrand.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3355 a1c6a512-1295-4272-9138-f99709370657
2003-02-27 14:22:30 +00:00
Björn Stenberg
6a58106e97
An attempt to get rid of the "red freeze" problem: Perform a soft reset on read error.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3351 a1c6a512-1295-4272-9138-f99709370657
2003-02-27 13:26:09 +00:00
Robert Hak
648ccc8f0f
code police
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3350 a1c6a512-1295-4272-9138-f99709370657
2003-02-26 21:39:13 +00:00
Daniel Stenberg
1bacfaf540
set mp3end correctly depending on memory size
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3349 a1c6a512-1295-4272-9138-f99709370657
2003-02-26 16:45:10 +00:00
Daniel Stenberg
97d88c32ba
not used anymore, see app.lds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3348 a1c6a512-1295-4272-9138-f99709370657
2003-02-26 16:06:01 +00:00
Daniel Stenberg
b0c6276b40
Moved to one single .lds file for ALL builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3347 a1c6a512-1295-4272-9138-f99709370657
2003-02-26 16:05:30 +00:00
Daniel Stenberg
a0086b61e1
The new preprocessed version of this file allows us to use #defines
...
and macros, and we now take advantage of that to set DRAM size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3346 a1c6a512-1295-4272-9138-f99709370657
2003-02-26 09:18:13 +00:00
Daniel Stenberg
b2b376539a
this is not being used anymore
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3343 a1c6a512-1295-4272-9138-f99709370657
2003-02-26 08:24:08 +00:00
Linus Nielsen Feltzing
96f519999d
Enhanced error codes for better error tracking
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3341 a1c6a512-1295-4272-9138-f99709370657
2003-02-26 03:02:49 +00:00
Linus Nielsen Feltzing
a077e271ee
rename() didn't close the file if the target name exists, and didn't return a negative error code
...
Enhanced the return codes to make it easier to track panics.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3340 a1c6a512-1295-4272-9138-f99709370657
2003-02-26 02:08:52 +00:00
Linus Nielsen Feltzing
561a06ed75
Faster shutoff with OFF key on FM Recorder
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3331 a1c6a512-1295-4272-9138-f99709370657
2003-02-25 03:03:55 +00:00
Björn Stenberg
df194b0fc7
Code Police is never wrong. Ugh!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3325 a1c6a512-1295-4272-9138-f99709370657
2003-02-23 19:02:31 +00:00
Linus Nielsen Feltzing
490085aa7d
Lame debug output
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3322 a1c6a512-1295-4272-9138-f99709370657
2003-02-22 01:54:03 +00:00
Linus Nielsen Feltzing
94dea1e020
Safer recording, now closes the file after each successful buffer save
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3321 a1c6a512-1295-4272-9138-f99709370657
2003-02-22 01:40:57 +00:00
Linus Nielsen Feltzing
70e3331fa1
Fixed bug #688807 , now the Idle poweroff works on FM recorder. Also disabled ATA-poweroff.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3312 a1c6a512-1295-4272-9138-f99709370657
2003-02-21 01:12:00 +00:00
Linus Nielsen Feltzing
400a13f468
Decreased the thread context table size to save space in IRAM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3311 a1c6a512-1295-4272-9138-f99709370657
2003-02-21 01:05:04 +00:00
Daniel Stenberg
5d9c45ae4f
moved the single-letter wildcard to a single line to prevent the tarball-
...
generating script from outputting a minor warning! ;-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3285 a1c6a512-1295-4272-9138-f99709370657
2003-02-17 14:15:28 +00:00
Daniel Stenberg
c97056d9ed
include "standard" files with <> and not ""
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3266 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 23:38:21 +00:00
Felix Arends
e3403ecd9f
this fixes the win32 simulator compilation
...
the simulator does not use the firmare\include path, instead it uses standard header files
those header files that do not exist in the SDK are placed in the win32 directory (dir.h, sprintf.h)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3264 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 20:51:10 +00:00
Björn Stenberg
84eb9ce4a8
Allow simulators to use battery constants
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3262 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 15:09:12 +00:00
Björn Stenberg
c4d8d970f6
The power-saving SLEEP patch by Simon Elén.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3259 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 09:44:34 +00:00
Björn Stenberg
f116d450e2
Fixed dependency on moved thread.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3256 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 08:54:04 +00:00
Linus Nielsen Feltzing
1fcd31d3ff
Fixed the 3-hour time display bug, plus some cosmetic changes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3253 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 02:48:12 +00:00
Linus Nielsen Feltzing
ebe0752469
Correct saving of channel config (patch by Remo Hofer)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3252 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 01:49:50 +00:00
Uwe Freese
cc9b62f6b2
Mike Holden's patch that corrects the FM charger plugged symbol
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3251 a1c6a512-1295-4272-9138-f99709370657
2003-02-13 21:45:19 +00:00
Daniel Stenberg
efbc61b26f
these are now present in export/
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3249 a1c6a512-1295-4272-9138-f99709370657
2003-02-13 19:29:11 +00:00
Linus Nielsen Feltzing
bf0ac613ea
Killed a nasty bug that could leave the recorded file open. This will cause the file to be 0 bytes long.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3247 a1c6a512-1295-4272-9138-f99709370657
2003-02-13 16:25:36 +00:00
Uwe Freese
e04a3a02ac
guessed battery scale factor for FM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3244 a1c6a512-1295-4272-9138-f99709370657
2003-02-13 12:05:06 +00:00
Björn Stenberg
77d457c71c
Changed to use new firmware/export/ directory
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3243 a1c6a512-1295-4272-9138-f99709370657
2003-02-13 08:21:52 +00:00
Björn Stenberg
049ab4ff12
Added export/ directory
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3242 a1c6a512-1295-4272-9138-f99709370657
2003-02-13 08:15:25 +00:00
Uwe Freese
4d4b116236
disable charge control for FM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3241 a1c6a512-1295-4272-9138-f99709370657
2003-02-12 22:28:08 +00:00
Uwe Freese
5e44a56b65
disable charge control for FM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3239 a1c6a512-1295-4272-9138-f99709370657
2003-02-12 22:21:07 +00:00
Björn Stenberg
5b1644336c
Initialize genre to 0xff since 0 is a valid value.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3233 a1c6a512-1295-4272-9138-f99709370657
2003-02-11 15:00:56 +00:00
Björn Stenberg
b4902aff71
Better simulator mpeg emulation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3232 a1c6a512-1295-4272-9138-f99709370657
2003-02-11 14:20:54 +00:00
Linus Nielsen Feltzing
c43a307011
Added some debugging info to chase the 3-hour time display bug
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3227 a1c6a512-1295-4272-9138-f99709370657
2003-02-08 02:59:47 +00:00
Daniel Stenberg
cb2de174c1
more moves
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3221 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 10:13:23 +00:00
Daniel Stenberg
e597ca4732
Move publicly (from apps) accessed files from drivers/ to export/.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3219 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 10:08:02 +00:00
Daniel Stenberg
70e59ede4e
not used, removed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3218 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 09:56:08 +00:00
Daniel Stenberg
bd654cdfbc
not used. removed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3217 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 09:52:31 +00:00
Daniel Stenberg
f9b4490066
Include File Cleanup And Move-Around Party 2003.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3213 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 09:41:57 +00:00
Daniel Stenberg
b6bf9b768d
Public firmware header files should now be put in firmware/include/ directory
...
while firmware-private header files may remain in firmware/
First out: kernel.h is moved
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3209 a1c6a512-1295-4272-9138-f99709370657
2003-02-05 11:57:04 +00:00
Daniel Stenberg
7b9edd6090
bring back the functionality with the conditional update on remove cursor
...
in the sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3192 a1c6a512-1295-4272-9138-f99709370657
2003-01-29 17:34:28 +00:00
Daniel Stenberg
0c4a35fbcf
Major Code Police raid strike-down.
...
Fix yellow build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3191 a1c6a512-1295-4272-9138-f99709370657
2003-01-29 17:31:55 +00:00
Björn Stenberg
38bc30b0d6
The dir code is now reentrant.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3184 a1c6a512-1295-4272-9138-f99709370657
2003-01-29 12:33:23 +00:00
Kjell Ericson
9d40f7ebc4
Player changes: Added lcd_remove_cursor() and updated the cursor functionality.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3182 a1c6a512-1295-4272-9138-f99709370657
2003-01-29 11:48:35 +00:00
Daniel Stenberg
edf4d8ce0f
Scrolling business is my name and scrolling is what I do when I don't crash
...
because of silly people doing silly programming and not setting the variables
to correct values.
Now, any other WPS-related scrolling bugs left?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3175 a1c6a512-1295-4272-9138-f99709370657
2003-01-28 15:23:48 +00:00
Björn Stenberg
b8f5759d96
tm_mon starts at 0
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3173 a1c6a512-1295-4272-9138-f99709370657
2003-01-27 14:43:32 +00:00
Kjell Ericson
565505abd4
Added a "cursor"-function for the keyvoard.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3171 a1c6a512-1295-4272-9138-f99709370657
2003-01-27 14:37:03 +00:00
Björn Stenberg
cc11e885d1
Corrected get_time(). This should fix the bad file date bug. Also changed status.c to use get_time() instead of reading directly from RTC.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3170 a1c6a512-1295-4272-9138-f99709370657
2003-01-27 14:24:40 +00:00
Uwe Freese
8ed1a3a409
LiIon values for FM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3169 a1c6a512-1295-4272-9138-f99709370657
2003-01-27 11:27:44 +00:00
Uwe Freese
2dc923a346
FM has LiIon battery
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3168 a1c6a512-1295-4272-9138-f99709370657
2003-01-27 11:23:25 +00:00
Björn Stenberg
184fd55411
Directories can now be renamed too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3167 a1c6a512-1295-4272-9138-f99709370657
2003-01-27 09:32:17 +00:00
Daniel Stenberg
b6a4f2fb2c
removed old emacs file, added new ones
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3166 a1c6a512-1295-4272-9138-f99709370657
2003-01-27 08:38:59 +00:00
Uwe Freese
b1b968a71e
LiIon voltages for FM recorder
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3164 a1c6a512-1295-4272-9138-f99709370657
2003-01-26 17:33:56 +00:00
Mats Lidell
7e610c12a5
Use of rockbox-mode.el in local variables list removed. Replaced by
...
rockbox-style.el in tools folder. Use it!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3159 a1c6a512-1295-4272-9138-f99709370657
2003-01-24 11:08:53 +00:00
Mats Lidell
74cc9e41fa
Remove use of rockbox-mode.el in local variables list.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
2003-01-24 10:56:06 +00:00
Kjell Ericson
f5d9584eac
Removed lcd_scroll_pause() and lcd_scroll_resume().
...
lcd_stop_scroll() doesn't redraw the screen anymore.
lcd_clear_display() stops and forgets all scrolls.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3153 a1c6a512-1295-4272-9138-f99709370657
2003-01-23 14:24:52 +00:00
Daniel Stenberg
8f1d3c944b
Ludovic Lange's patch to make the ROLO feature work on the FM Recorder.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3151 a1c6a512-1295-4272-9138-f99709370657
2003-01-22 18:47:35 +00:00
Uwe Freese
86352ccc3f
Code for alarm mod. Enable with adding -DHAVE_ALARM_MOD in Makefile (EXTRA_DEFINES).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3150 a1c6a512-1295-4272-9138-f99709370657
2003-01-22 12:50:34 +00:00
Kjell Ericson
7f9d71363a
Changed name of lcd_do_puts() to lcd_puts_cont_scroll().
...
It is still just an local function, but it's a more describing name.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3148 a1c6a512-1295-4272-9138-f99709370657
2003-01-22 12:16:14 +00:00
Daniel Stenberg
ba56e03381
Ludovic Lange's ADC-fix for the FM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3147 a1c6a512-1295-4272-9138-f99709370657
2003-01-22 12:14:34 +00:00
Daniel Stenberg
1387b08f68
actually USE the fm file!!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3146 a1c6a512-1295-4272-9138-f99709370657
2003-01-22 12:08:23 +00:00
Daniel Stenberg
aaa8443af9
Based on Ludovic Lange excellent work, I've modified things to increase
...
likeliness that this works on an FM Recorder.
Reports please!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3143 a1c6a512-1295-4272-9138-f99709370657
2003-01-21 19:37:29 +00:00
Daniel Stenberg
1774d4d885
define the CPU frequency in the config-*.h file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3142 a1c6a512-1295-4272-9138-f99709370657
2003-01-21 19:15:12 +00:00
Kjell Ericson
d618fb0cb2
Added lcd_do_puts() as a static function and made lcd_puts() stop any scroll at that line.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3140 a1c6a512-1295-4272-9138-f99709370657
2003-01-21 14:25:24 +00:00
Linus Nielsen Feltzing
9a9d9d046d
Decreased the DMA transfer size, as proposed by Gerald Clark
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3138 a1c6a512-1295-4272-9138-f99709370657
2003-01-21 00:11:10 +00:00
Mats Lidell
bd1fa21cc0
Export info about the charset.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3133 a1c6a512-1295-4272-9138-f99709370657
2003-01-20 12:24:43 +00:00
Uwe Freese
8ee6275a06
Start new charge cycle should be possible in trickle mode. This should fix the battries getting empty in USB mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3129 a1c6a512-1295-4272-9138-f99709370657
2003-01-19 20:42:09 +00:00
Björn Stenberg
1855cdb7f0
Added table for converting unicode page 1 and 2 into ISO 8859-2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3123 a1c6a512-1295-4272-9138-f99709370657
2003-01-17 10:08:48 +00:00
Daniel Stenberg
d7b4645f5c
Ludovic Lange's initial code for FM Recorder, edited and adjusted by me.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3110 a1c6a512-1295-4272-9138-f99709370657
2003-01-16 15:11:29 +00:00
Daniel Stenberg
fc716a71b7
Use the correct defines to #ifdef on, so that the FM version builds fine too
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3107 a1c6a512-1295-4272-9138-f99709370657
2003-01-16 14:38:39 +00:00
Daniel Stenberg
6c0818f3d2
Accept ARCHOS_FMRECORDER when building for FM Recorder
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3104 a1c6a512-1295-4272-9138-f99709370657
2003-01-16 13:27:06 +00:00
Daniel Stenberg
3ff8f10fb2
reverted kjer's lcd_clear_display() change that stops the scroll
...
we're now more sparse with lcd_update(), it is a slow operation and we
should avoid calling it if we don't need to use it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3088 a1c6a512-1295-4272-9138-f99709370657
2003-01-14 17:57:39 +00:00
Björn Stenberg
4b6a1f2566
Made unicode2iso() static.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3087 a1c6a512-1295-4272-9138-f99709370657
2003-01-14 15:07:19 +00:00
Björn Stenberg
32bfc9940c
Added unicode conversion from cyrillic, greek, hebrew, arabic and thai.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3086 a1c6a512-1295-4272-9138-f99709370657
2003-01-14 14:49:19 +00:00
Kjell Ericson
75361e5e44
Stop scrolling text when lcd_clear_display() has been called.
...
Added call to lcd_update() for Recorder simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3084 a1c6a512-1295-4272-9138-f99709370657
2003-01-14 13:51:09 +00:00
Mats Lidell
4c7f70fe9a
Bidirectional scroll ala recorder.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3080 a1c6a512-1295-4272-9138-f99709370657
2003-01-14 10:45:57 +00:00
Kjell Ericson
fd07b6932f
Fixed the mapping between software mapped patterns and hardware LCD.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3079 a1c6a512-1295-4272-9138-f99709370657
2003-01-13 13:21:13 +00:00
Mats Lidell
1a4fd1f3a4
Resolved last_pat and last_used_pat.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3078 a1c6a512-1295-4272-9138-f99709370657
2003-01-13 13:09:54 +00:00
Kjell Ericson
b113073170
Bugfix2 of the bidirectional scroll. Sorry...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3067 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 14:48:53 +00:00
Kjell Ericson
ac984edda6
Bugfix of the bidirectional scrolling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3066 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 14:45:15 +00:00
Kjell Ericson
febc62388e
Fixed spelling misstakes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3065 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 13:30:08 +00:00
Kjell Ericson
4a197ec29a
Function lcd_allow_bidirectictional_scrolling() implemented so we can turn it off.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3064 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 13:26:12 +00:00
Kjell Ericson
54c8c71d85
Bidirectional scrolling implemented. The text will go back and forth
...
when more than 4 characters are outside the LCD.
Small texts will wrap as normal.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3063 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 13:22:07 +00:00
Kjell Ericson
dc88e23700
Fixed the scroll_delay.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3062 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 12:23:36 +00:00
Kjell Ericson
3639325a2b
Changed debug code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3059 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 10:13:48 +00:00
Kjell Ericson
a33d6b2409
Removed warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3058 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 10:12:17 +00:00
Kjell Ericson
a309014f49
First official version.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3053 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 09:58:44 +00:00
Kjell Ericson
dd7f2948e4
Implementing the Rocklatin character set for Rockbox player.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3052 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 09:58:04 +00:00
Kjell Ericson
ddefd1ebfc
Added a thread for the simulator that counts the time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3049 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 09:19:10 +00:00
Uwe Freese
430a354dfe
better estimated running time for usb mode
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3047 a1c6a512-1295-4272-9138-f99709370657
2003-01-09 20:16:37 +00:00
Hardeep Sidhu
85d8b85de9
Fixed win32 simulator warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3042 a1c6a512-1295-4272-9138-f99709370657
2003-01-09 03:05:59 +00:00
Björn Stenberg
989a3ec28c
set_elapsed() bug fix by Simon Elén
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3041 a1c6a512-1295-4272-9138-f99709370657
2003-01-09 01:02:40 +00:00
Hardeep Sidhu
96a6874ac4
Signal track change if no tracks in playlist are valid so wps updates and exits properly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3036 a1c6a512-1295-4272-9138-f99709370657
2003-01-04 07:16:36 +00:00
Hardeep Sidhu
8fd18e9b8d
Prev was going back too many tracks if more than one track was loaded in memory.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3035 a1c6a512-1295-4272-9138-f99709370657
2003-01-03 22:54:02 +00:00
Hardeep Sidhu
d3d1b98d58
Don't signal track change until all id3 entries have been updated. Also, correctly set new write index after removing all tracks. Both changes fix potential resume bugs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3024 a1c6a512-1295-4272-9138-f99709370657
2002-12-19 00:58:11 +00:00
Hardeep Sidhu
d2f90c9a74
Use flush_cache() when writing headbytes to disk to make sure we are on the correct sector.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3023 a1c6a512-1295-4272-9138-f99709370657
2002-12-19 00:51:39 +00:00
Uwe Freese
4bc287d34a
battery level 100% when trickle chg, only 1% per minute change allowed, ignore 25 min. after charge start/stop, get rid of old lazyness table (I hope this makes the battery display less confusing to the user, charging algo. is not affected\!)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3017 a1c6a512-1295-4272-9138-f99709370657
2002-12-18 18:55:50 +00:00
Björn Stenberg
c3fd67c6c9
Killed a dozen global variables
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3015 a1c6a512-1295-4272-9138-f99709370657
2002-12-18 14:57:45 +00:00
Kjell Ericson
51f18b083a
Fixed a simulator stub for set_battery_capacity()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3012 a1c6a512-1295-4272-9138-f99709370657
2002-12-17 09:26:51 +00:00
Uwe Freese
0bf70e65e8
battery capacity (1500-2400 in 50mAh steps) saved to disk
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3008 a1c6a512-1295-4272-9138-f99709370657
2002-12-16 22:58:48 +00:00
Uwe Freese
ae1ba1d5de
stupid bug, trickle setting in menu didn't work
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3007 a1c6a512-1295-4272-9138-f99709370657
2002-12-16 15:02:23 +00:00
Uwe Freese
f3d010a057
charger on if battery low at boot time, battery capacity settings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3000 a1c6a512-1295-4272-9138-f99709370657
2002-12-15 18:08:06 +00:00
Uwe Freese
c29b538440
battery capacity setting function
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2997 a1c6a512-1295-4272-9138-f99709370657
2002-12-14 22:46:00 +00:00
Uwe Freese
e2a6aee661
we don't want battery symbol flickering while trickle charging
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2996 a1c6a512-1295-4272-9138-f99709370657
2002-12-14 22:20:56 +00:00
Uwe Freese
207f4d20f2
no inclusion of apps/settings.h anymore (simulator build error), new enable_trickle_charge function
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2995 a1c6a512-1295-4272-9138-f99709370657
2002-12-14 22:05:01 +00:00
Uwe Freese
86ddabf75d
added backlight_get_timeout and backlight_get_on_when_charging
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2994 a1c6a512-1295-4272-9138-f99709370657
2002-12-14 22:01:27 +00:00
Uwe Freese
0f30f66c6c
max charge duration now depends on batt. capacity and is a little longer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2992 a1c6a512-1295-4272-9138-f99709370657
2002-12-14 21:01:32 +00:00
Uwe Freese
48e8e98efa
using the new charge state variable instead of trickle_enable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2991 a1c6a512-1295-4272-9138-f99709370657
2002-12-14 15:48:08 +00:00
Uwe Freese
82785295f9
new charge state variable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2990 a1c6a512-1295-4272-9138-f99709370657
2002-12-14 15:47:34 +00:00
Uwe Freese
5f02797b2e
added trickle charge
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2982 a1c6a512-1295-4272-9138-f99709370657
2002-12-14 12:10:29 +00:00
Björn Stenberg
a2e98c1cd9
Merged Uwe Freese's bidirectional scrolling patch. Added configurable scroll step size and scroll start delay.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2974 a1c6a512-1295-4272-9138-f99709370657
2002-12-12 15:20:37 +00:00
Linus Nielsen Feltzing
00b2aada9f
Fixed a few recording glitches, and *maybe* the 30-minute recording bug
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2971 a1c6a512-1295-4272-9138-f99709370657
2002-12-12 02:22:01 +00:00
Björn Stenberg
b17fe5a727
Added recalculation of free disk space. Press PLAY in Debug->Disk Info->Free to run it. Takes ~30 sec on my 40GB Toshiba.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2968 a1c6a512-1295-4272-9138-f99709370657
2002-12-09 15:39:32 +00:00
Björn Stenberg
cf1317c336
Added id3 version wps tag: %iv. Fixed id3v1 parsing bug.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2967 a1c6a512-1295-4272-9138-f99709370657
2002-12-09 15:01:37 +00:00
Linus Nielsen Feltzing
fd25bbd8ff
Corrected ATA_ADDRESS macro
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2966 a1c6a512-1295-4272-9138-f99709370657
2002-12-09 10:47:03 +00:00
Linus Nielsen Feltzing
a946156151
Even more complicated MAS driver to handle MP2 streams, due to undocumented MAS behaviour. Now delays dma_tick() 1ms after /EOD goes active. (Recorder)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2960 a1c6a512-1295-4272-9138-f99709370657
2002-12-06 21:41:46 +00:00
Björn Stenberg
efd90770a0
Bug fix: Don't cut the power during spinup...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2959 a1c6a512-1295-4272-9138-f99709370657
2002-12-06 15:17:30 +00:00
Björn Stenberg
bd0da0e822
Fixed a race condition between sleep thread and spinup code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2958 a1c6a512-1295-4272-9138-f99709370657
2002-12-06 13:08:42 +00:00
Linus Nielsen Feltzing
c9feaafcf6
Even safer watermark margins, in wait for an accurate disk spinup time measurement
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2956 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 23:02:36 +00:00
Linus Nielsen Feltzing
672479c373
Less aggressive dynamic watermark calculation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2955 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 21:56:53 +00:00
Linus Nielsen Feltzing
7fed4a0f35
Faster start of playback
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2953 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 17:14:35 +00:00
Linus Nielsen Feltzing
ce882bba24
Better update of the watermark when changing tracks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2951 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 15:23:46 +00:00
Björn Stenberg
a5587d0298
Added ID3 tag 'genre': %ig
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2950 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 15:21:18 +00:00
Björn Stenberg
345f7c62ba
Added ID3 tag 'year': %iy
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2949 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 14:55:14 +00:00
Linus Nielsen Feltzing
d29248d992
More fine-tuned buffer handling, and better debug info
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2948 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 14:11:48 +00:00
Linus Nielsen Feltzing
d199e691e2
Slightly improved swap handling in lowwater situations
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2944 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 13:36:08 +00:00
Linus Nielsen Feltzing
4851a2a939
The lowest watermark debug info wasn't correctly updated
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2941 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 13:23:12 +00:00
Linus Nielsen Feltzing
f1f7b6150a
...and the usual simulator corrections
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2940 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 13:16:23 +00:00
Linus Nielsen Feltzing
b8ff5f8971
Added MP3 buffer margin setting
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2939 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 13:09:51 +00:00
Linus Nielsen Feltzing
f4233e482d
Watermark = average bitrate * 1.5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2938 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 12:38:59 +00:00
Linus Nielsen Feltzing
2df262c23d
The low watermark level is now dynamically calculated
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2937 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 12:18:22 +00:00
Linus Nielsen Feltzing
8344437de0
Better handling of DMA underrun. Now maybe the stopping audio is history...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2936 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 11:09:52 +00:00
Björn Stenberg
ba0438e78d
Fixed spinup clocking. Also updating last_disk_activity more frequently, to avoid shutdown race condition.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2935 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 09:35:01 +00:00
Linus Nielsen Feltzing
62c3ba8204
Fixed a bug that prevented recording if music was playing when entering the recording screen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2929 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 00:28:28 +00:00
Björn Stenberg
b070dd55be
Added disk spinup clocking
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2927 a1c6a512-1295-4272-9138-f99709370657
2002-12-04 14:58:48 +00:00
Linus Nielsen Feltzing
d41942e12f
Sleeptimer now reboots instead of poweroff when charger is attached
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2926 a1c6a512-1295-4272-9138-f99709370657
2002-12-04 12:53:10 +00:00
Linus Nielsen Feltzing
b43dba8760
Sleep timer, inspired by Jim Hagani
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2918 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 22:41:50 +00:00
Björn Stenberg
d1f8001984
Don't waste time loading v1 tag if a v2 tag was found.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2916 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 15:38:39 +00:00
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
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
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
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
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
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
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
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
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
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