Linus Nielsen Feltzing
4dd6654bb2
Only Recorders have RTC
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2864 a1c6a512-1295-4272-9138-f99709370657
2002-11-20 00:26:55 +00:00
Linus Nielsen Feltzing
6100dd099b
New filename generation based on date/time
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2863 a1c6a512-1295-4272-9138-f99709370657
2002-11-20 00:02:52 +00:00
Linus Nielsen Feltzing
d3d1583adb
Added rtc_read_multiple()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2862 a1c6a512-1295-4272-9138-f99709370657
2002-11-20 00:00:56 +00:00
Linus Nielsen Feltzing
85969853d5
New time functions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2861 a1c6a512-1295-4272-9138-f99709370657
2002-11-20 00:00:25 +00:00
Linus Nielsen Feltzing
d703389780
More recording stability, plus some feedback
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2860 a1c6a512-1295-4272-9138-f99709370657
2002-11-19 21:07:44 +00:00
Linus Nielsen Feltzing
11055c0471
Now sets the correct frequency
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2859 a1c6a512-1295-4272-9138-f99709370657
2002-11-19 16:30:53 +00:00
Björn Stenberg
282c819a19
Removed some debug output.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2858 a1c6a512-1295-4272-9138-f99709370657
2002-11-19 12:58:45 +00:00
Björn Stenberg
c5f5be565e
Added rename()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2857 a1c6a512-1295-4272-9138-f99709370657
2002-11-19 12:48:50 +00:00
Linus Nielsen Feltzing
fde9b57f70
Fixed some sim build errors
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2856 a1c6a512-1295-4272-9138-f99709370657
2002-11-19 10:29:38 +00:00
Linus Nielsen Feltzing
0dcd47eb84
Now uses IRQ for DEMAND instead of polling. This should improve the playback performance a lot, for all bitrates
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2855 a1c6a512-1295-4272-9138-f99709370657
2002-11-19 09:50:19 +00:00
Björn Stenberg
0a488fb155
Bug fixes: 1) add_dir_entry() would update end-of-dir marker even when not supposed to. 2) create_dos_name() didn't treat spaces correctly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2854 a1c6a512-1295-4272-9138-f99709370657
2002-11-18 14:55:05 +00:00
Björn Stenberg
eee2c01697
Added longname handling to fat_remove().
...
Added proper 0xffff padding of last longname entry.
add_dir_entry() now makes sure shortname is unique.
Changed update_file_size() to use dir-as-file handling.
Simplified create_dos_name() since we never use shortnames.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2853 a1c6a512-1295-4272-9138-f99709370657
2002-11-18 11:58:43 +00:00
Björn Stenberg
7aabb1ab66
Long filename support added. (fat_remove() not updated yet.)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2852 a1c6a512-1295-4272-9138-f99709370657
2002-11-15 16:41:02 +00:00
Björn Stenberg
c442a68322
Cleaned up dir handling further.
...
Fixed a bug where a new dir cluster wasn't completely cleared.
Added freecount calculation if unset.
Removed a couple of signed mul/divs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2851 a1c6a512-1295-4272-9138-f99709370657
2002-11-15 11:20:33 +00:00
Björn Stenberg
a69e98d7cc
Added check to avoid FAT sector 0 panic.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2850 a1c6a512-1295-4272-9138-f99709370657
2002-11-14 22:17:41 +00:00
Björn Stenberg
4cde17d1ca
Flush sector cache before truncating.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2849 a1c6a512-1295-4272-9138-f99709370657
2002-11-14 15:50:07 +00:00
Björn Stenberg
dc9cdc40ed
Added close() return code checks, and an eof-write test.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2848 a1c6a512-1295-4272-9138-f99709370657
2002-11-14 15:32:34 +00:00
Arnaud de Bonald
72f2afbe71
Added translated disk strings & recording string
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2847 a1c6a512-1295-4272-9138-f99709370657
2002-11-14 08:54:47 +00:00
Björn Stenberg
7d8bbe71b6
creat() now includes the O_TRUNC flag.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2846 a1c6a512-1295-4272-9138-f99709370657
2002-11-13 23:25:46 +00:00
Linus Nielsen Feltzing
1521a1c38a
Slightly more correct saving when recording
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2845 a1c6a512-1295-4272-9138-f99709370657
2002-11-13 23:22:40 +00:00
Björn Stenberg
1f214f2732
Directories are now handled as files, using fat_readwrite() instead of ata_read/write_sector().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2844 a1c6a512-1295-4272-9138-f99709370657
2002-11-13 23:16:32 +00:00
Linus Nielsen Feltzing
71d346ce81
mpeg_stop() now yields to ensure that the mpeg is stopped when it returns
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2843 a1c6a512-1295-4272-9138-f99709370657
2002-11-13 08:43:49 +00:00
Linus Nielsen Feltzing
51fc9820c0
Forgot to set the gain when entering the recording screen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2842 a1c6a512-1295-4272-9138-f99709370657
2002-11-13 08:27:18 +00:00
Linus Nielsen Feltzing
5afd4aad26
No stops MP3 playback when entering the recording screen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2841 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 22:36:06 +00:00
Linus Nielsen Feltzing
84c6fd96a6
Fixed broken unicode_munge()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2840 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 22:35:32 +00:00
Björn Stenberg
099a6b58d1
Added extra safety checks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2839 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 20:02:23 +00:00
Daniel Stenberg
5a7548afba
Added dummy fat_size() to make it link
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2838 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 19:38:01 +00:00
Björn Stenberg
6fb512aba5
Added disk space to Info menu item. (Players press + to see it.)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2837 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 11:32:26 +00:00
Björn Stenberg
8a727cecdb
Fixed file creation test case for new flags.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2836 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 09:04:53 +00:00
Björn Stenberg
42510d9e78
Added '*PANIC*' string. Line is now wrapped on recorders. LED blinks slowly to indicate controlled state.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2835 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 09:04:06 +00:00
Robert Hak
bca1f64d13
will rockbox support other players?
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2834 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 07:01:53 +00:00
Daniel Stenberg
e94eebb355
use the protos on the simulator as well, this should kill a warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2833 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 23:10:57 +00:00
Linus Nielsen Feltzing
f844ab207f
Correct flags to the open() call when recording
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2832 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 22:43:41 +00:00
Björn Stenberg
94fb95f00b
Cosmetic: Replaced dozens of openfiles[fd] with 'file' pointers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2831 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 16:13:45 +00:00
Björn Stenberg
4059ea61d4
Bugfix: Flags work better when they're binary...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2830 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 16:08:28 +00:00
Björn Stenberg
4cde667659
Added a truckload of test code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2829 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 15:47:19 +00:00
Björn Stenberg
9f9c495662
Added support for O_CREAT, O_APPEND and O_TRUNC.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2828 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 15:45:43 +00:00
Björn Stenberg
68640edf90
Added ftruncate().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2827 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 14:40:18 +00:00
Björn Stenberg
228605dc7b
Added support for O_RDWR and lseek() while writing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2826 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 13:57:58 +00:00
Linus Nielsen Feltzing
1e524abd5b
Added a timeout debug panic for the recording DMA protocol
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2825 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 13:24:41 +00:00
Linus Nielsen Feltzing
ddcc25a141
Now reloads the dir when leaving the recording screen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2824 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 13:19:17 +00:00
Linus Nielsen Feltzing
d25a8e80e8
Mic gain was improperly saved
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2823 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 13:13:30 +00:00
Björn Stenberg
6dc77d881b
Bug fix for previous commit: write() always returned 0 on even sector writes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2822 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 11:16:49 +00:00
Björn Stenberg
11a09e632c
close() now does not truncate the file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2821 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 10:21:51 +00:00
Linus Nielsen Feltzing
7912a6d39d
Now the docs dir is mandatory when building rockbox
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2820 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 10:09:26 +00:00
Linus Nielsen Feltzing
1bee8d5117
Now applies the selected options properly when exiting the setup menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2819 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 08:16:18 +00:00
Linus Nielsen Feltzing
afe0da9e16
Recording settings are now persistent. Added a Recording Settings menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2818 a1c6a512-1295-4272-9138-f99709370657
2002-11-10 23:18:33 +00:00
Linus Nielsen Feltzing
8e4a0e0aab
An attempt to support older recorder models
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2817 a1c6a512-1295-4272-9138-f99709370657
2002-11-10 18:24:40 +00:00
Linus Nielsen Feltzing
1325c9d9fe
Added recording functionality
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2816 a1c6a512-1295-4272-9138-f99709370657
2002-11-10 16:42:31 +00:00
Linus Nielsen Feltzing
893095d4ce
Added recording functionality
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2815 a1c6a512-1295-4272-9138-f99709370657
2002-11-10 16:37:26 +00:00