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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
4382c68b3f
Greg's improved fat_cache_sector() function, now updates the second FAT
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2814 a1c6a512-1295-4272-9138-f99709370657
2002-11-09 09:23:43 +00:00
Linus Nielsen Feltzing
81449d9642
fat_cache_sector() wrote to the wrong sector when flushing an entry. Thanks to Greg Haerr for finding the bug.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2813 a1c6a512-1295-4272-9138-f99709370657
2002-11-08 19:31:19 +00:00
Björn Stenberg
f9fed8152a
Changed return code of ata_write_sectors() to be the same as for ata_read_sectors(). (0 == Success)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2811 a1c6a512-1295-4272-9138-f99709370657
2002-11-07 22:40:24 +00:00
Björn Stenberg
0e51fefda6
Bug fixes: fat_seek(0) would sometimes start at sector 1. find_free_cluster() didn't find all free clusters.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2806 a1c6a512-1295-4272-9138-f99709370657
2002-11-05 14:46:27 +00:00
Björn Stenberg
c9fb098250
Bugfix: lseek() did not invalidate sector cache when seeking to start of file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2803 a1c6a512-1295-4272-9138-f99709370657
2002-11-04 14:59:46 +00:00
Björn Stenberg
6a8900b528
Bugfix: If last sector of a requested transfer was nonconsecutive, it would not be written.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2802 a1c6a512-1295-4272-9138-f99709370657
2002-11-04 13:52:47 +00:00
Björn Stenberg
307f5d846e
Added remove()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2801 a1c6a512-1295-4272-9138-f99709370657
2002-11-01 15:26:06 +00:00
Björn Stenberg
aa25f0962c
Removed warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2799 a1c6a512-1295-4272-9138-f99709370657
2002-11-01 08:31:55 +00:00
Björn Stenberg
675d258575
Fixed lseek().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2796 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 20:41:36 +00:00
Björn Stenberg
08356fb50a
More graceful handling when running out of space.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2793 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 19:05:25 +00:00
Björn Stenberg
a5e77d8f94
Fat writing update. File creation now works, though still only short filenames.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2790 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 16:09:28 +00:00
Linus Nielsen Feltzing
a02ffd5afa
Some peak meter optimizations
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2784 a1c6a512-1295-4272-9138-f99709370657
2002-10-30 23:01:27 +00:00
Björn Stenberg
d2df3c01dc
Improved find_free_cluster(). Split readwrite() in two to simplify debugging.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2783 a1c6a512-1295-4272-9138-f99709370657
2002-10-30 16:16:47 +00:00
Kjell Ericson
c2280c1617
The lcd_ascii-pointer is global for a while in order to be reachable from
...
the simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2765 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:12:17 +00:00
Kjell Ericson
3714f468c1
New height for teh player simulator. The default is pixels of 4x4 in order to
...
make it more readable and better icons.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2759 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 19:53:44 +00:00
Björn Stenberg
7c62863fbe
Fixed bug where first sector was skipped on reads.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2746 a1c6a512-1295-4272-9138-f99709370657
2002-10-23 14:05:30 +00:00
Björn Stenberg
46ddacf533
Fat32 write updates: Nixed some bugs. Basic file creation now works. Todo: Long filenames and extensive test cases.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2742 a1c6a512-1295-4272-9138-f99709370657
2002-10-22 15:06:08 +00:00
Kjell Ericson
a52896878a
Dubbled the size of player bitmap. The double height/width will be used to
...
make the icons in double resolution (and who wants to look at that old tiny
simulated player window anyway?)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2736 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:21:43 +00:00
Markus Braun
bc254fe95f
Added multiline scroll support.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2729 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 13:14:25 +00:00
Björn Stenberg
b7b48fea02
Snapshot of file writing code. Bugs remain. Only short names are supported yet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2726 a1c6a512-1295-4272-9138-f99709370657
2002-10-20 22:50:58 +00:00
Mats Lidell
8ca78b6665
Undefined functions supplied for simulator in lcd-playersim.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2717 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 09:24:23 +00:00
Kjell Ericson
84d7d70c63
New size for the player window.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2709 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 18:44:02 +00:00
Linus Nielsen Feltzing
e45c069d69
Removed all traces of the repeat and release masks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2684 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 13:17:26 +00:00
Linus Nielsen Feltzing
7ec35e7828
Don't reboot unless we are connected to a charger
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2683 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 12:40:30 +00:00
Linus Nielsen Feltzing
0a4b247080
The player firmware now autodetects the LCD type. No need for two player versions anymore
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2658 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 12:25:57 +00:00
Robert Hak
8a2bd30baa
BUTTON_OFF was set in the player. my last changed made it apparent
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2597 a1c6a512-1295-4272-9138-f99709370657
2002-10-12 06:12:52 +00:00
Robert Hak
501e012832
I forgot to fix button masks (thanks hardeep)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2596 a1c6a512-1295-4272-9138-f99709370657
2002-10-12 05:20:57 +00:00
Daniel Stenberg
8279abe38e
declare the lcd_framebuffer "nicer" in the #ifdef
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2593 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 22:17:34 +00:00
Mats Lidell
9138282f5c
Simulator icons not needed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2578 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 11:09:48 +00:00
Linus Nielsen Feltzing
902c43a968
Filters out AN5 keys if UP is pressed. Solves bug #619028 .
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2545 a1c6a512-1295-4272-9138-f99709370657
2002-10-09 09:29:04 +00:00
Linus Nielsen Feltzing
ef5b2bb8f5
New analog button levels (again)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2531 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 13:44:49 +00:00
Linus Nielsen Feltzing
d0b5f9613c
Remote control now sends both key-down and key-up events
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2476 a1c6a512-1295-4272-9138-f99709370657
2002-10-02 11:51:45 +00:00
Björn Stenberg
8fcdede340
Support getting width OR height of string
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2461 a1c6a512-1295-4272-9138-f99709370657
2002-10-01 08:51:47 +00:00
Linus Nielsen Feltzing
cfec25bb9e
A lot more stable remote control handling
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2447 a1c6a512-1295-4272-9138-f99709370657
2002-09-30 08:55:22 +00:00
Linus Nielsen Feltzing
bb572c4412
Philip Pertermanns peak meter
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2436 a1c6a512-1295-4272-9138-f99709370657
2002-09-27 09:31:31 +00:00
Linus Nielsen Feltzing
297a256729
More sensible (but probably still not working) power off
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2419 a1c6a512-1295-4272-9138-f99709370657
2002-09-25 19:28:01 +00:00
Björn Stenberg
7526cf70c3
Improved retry handling
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2415 a1c6a512-1295-4272-9138-f99709370657
2002-09-25 14:10:50 +00:00
Björn Stenberg
d34fbd0250
New scroll code by Björn Fischer.
...
Fixed >8 pixel font support for it.
Changed speed setting to step setting, do we need both?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2407 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 22:44:59 +00:00
Björn Stenberg
a4c3b03f15
Removed lcd_getfontsize(). Removed font parameters to lcd_putsxy and lcd_getstringsize.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2403 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 18:04:15 +00:00
Björn Stenberg
c909b4b42e
Check status register for error
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2400 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 17:10:03 +00:00
Björn Stenberg
70747f9bf3
Added read retry.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2397 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 14:23:18 +00:00
Linus Nielsen Feltzing
a4d9fe3954
Corrected the ones[] and zeros[] arrays
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2387 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 12:38:08 +00:00
Linus Nielsen Feltzing
040e80c3ad
Now exports last_disk_activity, for auto-poweroff
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2373 a1c6a512-1295-4272-9138-f99709370657
2002-09-23 11:39:21 +00:00
Linus Nielsen Feltzing
2aee04366f
Added timestamps of key presses, for auto-poweroff
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2372 a1c6a512-1295-4272-9138-f99709370657
2002-09-23 11:33:04 +00:00
Björn Stenberg
86f9a8410b
Split lcd driver into lcd-player and lcd-recorder. Player simulator still needs fixing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2370 a1c6a512-1295-4272-9138-f99709370657
2002-09-23 11:17:52 +00:00
Björn Stenberg
5c530c5227
Bug fix: The LED was not on during writes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2368 a1c6a512-1295-4272-9138-f99709370657
2002-09-23 06:45:46 +00:00
Björn Stenberg
bed3d3f7e0
New full ISO-8859-1 system font.
...
Added font loading from dir browser.
Changed default font location to /.rockbox/default.fnt.
Code-policed font code.
Removed old font tools.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2347 a1c6a512-1295-4272-9138-f99709370657
2002-09-20 08:07:51 +00:00
Björn Stenberg
4da04f3bf3
Added Philipp Pertermanns oscillograph demo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2334 a1c6a512-1295-4272-9138-f99709370657
2002-09-19 10:28:10 +00:00
Daniel Stenberg
d45a1dbe1f
no longer include unicode.h, we've removed that file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2273 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:51:54 +00:00
Daniel Stenberg
93b231c693
Greg Haerr's new loadable font. No more #ifdef font-style, removed old
...
propfont and loadable font code. New font file format.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2269 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:33:59 +00:00
Daniel Stenberg
359b6954fa
define away lcd_update_rect() too on players
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2257 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 08:42:03 +00:00
Björn Stenberg
3b97474978
lcd_puts() now clears to end-of-line
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2252 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 23:57:00 +00:00
Björn Stenberg
8e96c47ff0
Made the sleep code a little bit less aggressive.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2220 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 23:55:52 +00:00
Björn Stenberg
34fa70e321
Now runs SET_MULTIPLE_MODE after usb disconnect, since the windows driver sets it to a non-default value.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2214 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 17:20:44 +00:00
Linus Nielsen Feltzing
e82f701fa4
Optimized ata_read_sectors() a little
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2213 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 16:02:19 +00:00