Commit graph

1389 commits

Author SHA1 Message Date
Linus Nielsen Feltzing
eefab57a1e USB polarity is now taken from the HW info and not by checking the port pin state at boot
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3682 a1c6a512-1295-4272-9138-f99709370657
2003-05-17 22:12:11 +00:00
Linus Nielsen Feltzing
159d04d3f9 Experiment: enable ATA STANDBY when switching to USB mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3668 a1c6a512-1295-4272-9138-f99709370657
2003-05-10 01:55:23 +00:00
Linus Nielsen Feltzing
f70a41cdc6 Removed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3667 a1c6a512-1295-4272-9138-f99709370657
2003-05-09 22:05:26 +00:00
Linus Nielsen Feltzing
20d031f9c7 Configurable dir browser file buffer size. No more 400-file limit. No more whining.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3661 a1c6a512-1295-4272-9138-f99709370657
2003-05-09 16:01:21 +00:00
Linus Nielsen Feltzing
23b0fdaca1 Idle poweroff fix for FM radio, as suggested by Mike Holden
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3645 a1c6a512-1295-4272-9138-f99709370657
2003-05-03 15:39:40 +00:00
Linus Nielsen Feltzing
0a12f4e296 Stop radio when playing mp3 files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3641 a1c6a512-1295-4272-9138-f99709370657
2003-05-03 10:03:30 +00:00
Linus Nielsen Feltzing
331c7d9255 Finally, FM radio support on the FM Recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3640 a1c6a512-1295-4272-9138-f99709370657
2003-05-03 02:40:09 +00:00
Linus Nielsen Feltzing
c7e0ebc282 Spin down disk directly after buffer saves when recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3630 a1c6a512-1295-4272-9138-f99709370657
2003-04-30 01:41:11 +00:00
Björn Stenberg
674b632df8 Corrected wrong write return code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3623 a1c6a512-1295-4272-9138-f99709370657
2003-04-28 12:02:14 +00:00
Daniel Stenberg
2723531ff3 remove the ifdef for simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3616 a1c6a512-1295-4272-9138-f99709370657
2003-04-25 13:35:31 +00:00
Daniel Stenberg
012d1f86cc use size_t and not int as the prototype says so
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3614 a1c6a512-1295-4272-9138-f99709370657
2003-04-25 12:43:44 +00:00
Daniel Stenberg
ed155ccc39 include the sprintf.h header, basicly for simulator purposes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3612 a1c6a512-1295-4272-9138-f99709370657
2003-04-25 12:36:52 +00:00
Björn Stenberg
272a505a61 Added word alignment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3606 a1c6a512-1295-4272-9138-f99709370657
2003-04-24 20:25:10 +00:00
Linus Nielsen Feltzing
cc6183e73c More detailed error codes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3605 a1c6a512-1295-4272-9138-f99709370657
2003-04-24 18:33:32 +00:00
Björn Stenberg
28cce684a3 Changed remote control button events to separate codes. Now the remote control works while keys are locked.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3586 a1c6a512-1295-4272-9138-f99709370657
2003-04-23 09:21:37 +00:00
Björn Stenberg
86587527f5 Added caption backlight: Turns on backlight briefly at the start and end of each track.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3585 a1c6a512-1295-4272-9138-f99709370657
2003-04-23 09:17:34 +00:00
Daniel Stenberg
da5e7196fc better treatment if no toolsdir define was set, use the old one then
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3583 a1c6a512-1295-4272-9138-f99709370657
2003-04-22 22:22:07 +00:00
Daniel Stenberg
77fabf86f4 use the TOOLSDIR as passed-in from the top-level Makefile, you need to
run 'configure update' in your build dirs for everything to work


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3581 a1c6a512-1295-4272-9138-f99709370657
2003-04-22 22:20:00 +00:00
Linus Nielsen Feltzing
126a7b3f6d Fixed compiler error on debug builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3573 a1c6a512-1295-4272-9138-f99709370657
2003-04-20 22:09:23 +00:00
Linus Nielsen Feltzing
478da628f0 Xing headers now support mono better, added the 'editable files' option
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3572 a1c6a512-1295-4272-9138-f99709370657
2003-04-20 22:00:30 +00:00
Linus Nielsen Feltzing
6d522179dc Stupid compiler...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3570 a1c6a512-1295-4272-9138-f99709370657
2003-04-19 02:24:52 +00:00
Linus Nielsen Feltzing
1b466e0e58 Removed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3568 a1c6a512-1295-4272-9138-f99709370657
2003-04-19 02:09:56 +00:00
Linus Nielsen Feltzing
7fdef57d57 Better generation of Xing headers, now they contain the correct MPEG version and sample rate info.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3567 a1c6a512-1295-4272-9138-f99709370657
2003-04-19 01:59:23 +00:00
Linus Nielsen Feltzing
1c32bd0f48 Increased the buffer size for get_mp3file_info(). This is supposed to fix bugs #722233, #722521 and #723922
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3566 a1c6a512-1295-4272-9138-f99709370657
2003-04-19 00:27:15 +00:00
Linus Nielsen Feltzing
e43b78ac46 Magnus Öman's long awaited inverted cursor patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3565 a1c6a512-1295-4272-9138-f99709370657
2003-04-16 00:12:31 +00:00
Linus Nielsen Feltzing
1cc6d829a1 Safer low water mark when recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3557 a1c6a512-1295-4272-9138-f99709370657
2003-04-15 08:16:27 +00:00
Björn Stenberg
631b8d3bb8 Update fileoffset and cacheoffset on error.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3556 a1c6a512-1295-4272-9138-f99709370657
2003-04-15 08:07:50 +00:00
Linus Nielsen Feltzing
d5304e5af0 Changed some debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3547 a1c6a512-1295-4272-9138-f99709370657
2003-04-13 15:05:46 +00:00
Linus Nielsen Feltzing
b5401749cb ata_write_sectors() didn't handle odd buffer addresses
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3544 a1c6a512-1295-4272-9138-f99709370657
2003-04-12 23:02:58 +00:00
Linus Nielsen Feltzing
35c417f1d4 Fixed the dreaded 'silent play' bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3541 a1c6a512-1295-4272-9138-f99709370657
2003-04-12 09:38:33 +00:00
Linus Nielsen Feltzing
6fc0df9ebb Now creates an empty ID3 header to not confuse MP3 editors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3539 a1c6a512-1295-4272-9138-f99709370657
2003-04-11 23:45:38 +00:00
Björn Stenberg
a9302fd1e8 Corrected win1251 -> iso 8859-5 conversion (Alex)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3532 a1c6a512-1295-4272-9138-f99709370657
2003-04-11 08:39:12 +00:00
Björn Stenberg
cf92db153f Don't enter cpu sleep during disk operations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3530 a1c6a512-1295-4272-9138-f99709370657
2003-04-11 07:43:04 +00:00
Linus Nielsen Feltzing
9d860e19d2 Better handling of next/prev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3528 a1c6a512-1295-4272-9138-f99709370657
2003-04-11 00:29:15 +00:00
Björn Stenberg
46dea9080b Added missing gain setting code (Henrik Backe)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3521 a1c6a512-1295-4272-9138-f99709370657
2003-04-09 11:58:36 +00:00
Linus Nielsen Feltzing
4502e982af The newest ATA driver fixes broke the ata_spinup_time information
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3515 a1c6a512-1295-4272-9138-f99709370657
2003-04-05 22:25:21 +00:00
Linus Nielsen Feltzing
9218481199 Ooops, forgot to check for frame count overflow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3508 a1c6a512-1295-4272-9138-f99709370657
2003-04-01 21:58:50 +00:00
Linus Nielsen Feltzing
a67e8ec52f Killed a warning (saving 417 bytes in the process :-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3507 a1c6a512-1295-4272-9138-f99709370657
2003-04-01 21:27:31 +00:00
Linus Nielsen Feltzing
2bf4a05410 Recorded files shorter than 3 hours now show correct average bitrate even without VBRFix.
Moved some code around.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3505 a1c6a512-1295-4272-9138-f99709370657
2003-04-01 20:58:31 +00:00
Björn Stenberg
fd9ce90a4c Better led control. Added status read delay. Fixed potential last_disk_activity race.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3501 a1c6a512-1295-4272-9138-f99709370657
2003-03-31 14:14:07 +00:00
Linus Nielsen Feltzing
d0c193d159 Finally, S/PDIF monitoring works
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3499 a1c6a512-1295-4272-9138-f99709370657
2003-03-25 02:13:54 +00:00
Björn Stenberg
aa78324fde Another attempt to stop the red led dead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3498 a1c6a512-1295-4272-9138-f99709370657
2003-03-24 16:19:54 +00:00
Linus Nielsen Feltzing
f8979dae58 The Xing flag word wasn't correctly generated
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3495 a1c6a512-1295-4272-9138-f99709370657
2003-03-24 12:48:33 +00:00
Linus Nielsen Feltzing
27539aa828 Fixed silly overflow in recalculate_watermark()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3494 a1c6a512-1295-4272-9138-f99709370657
2003-03-24 11:40:59 +00:00
Linus Nielsen Feltzing
df4cf2edc4 Reverted last change
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3493 a1c6a512-1295-4272-9138-f99709370657
2003-03-24 11:35:53 +00:00
Björn Stenberg
8ab8d7d8ac Don't fail on bitrate 0. Our own recordings have bitrate 0...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3492 a1c6a512-1295-4272-9138-f99709370657
2003-03-24 10:31:50 +00:00
Linus Nielsen Feltzing
6b6f97ddda Tidied up the ID3V2 parser a little
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3475 a1c6a512-1295-4272-9138-f99709370657
2003-03-18 01:31:35 +00:00
Linus Nielsen Feltzing
372ad33d35 Faster ID3 parsing with the new filesize() function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3474 a1c6a512-1295-4272-9138-f99709370657
2003-03-18 00:45:27 +00:00
Linus Nielsen Feltzing
e98bad5b38 Added the filesize() function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3473 a1c6a512-1295-4272-9138-f99709370657
2003-03-18 00:39:57 +00:00
Björn Stenberg
7682d46713 Don't spin down disk while retrying
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3457 a1c6a512-1295-4272-9138-f99709370657
2003-03-17 13:42:30 +00:00
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