Commit graph

482 commits

Author SHA1 Message Date
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
Linus Nielsen Feltzing
8b01f614a8 Moved the LCD frame buffer back to DRAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2212 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 12:30:30 +00:00
Eric Linenberg
5bed6e648a changed REPEAT_INTERVAL_START back to 4 as it originally was
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2210 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 10:04:24 +00:00
Eric Linenberg
99a8a40990 added button repeat acceleration
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2193 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 22:41:22 +00:00
Björn Stenberg
8ccbc766a4 Now uses READ MULTIPLE command. Also corrected some return values.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2186 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 15:25:08 +00:00
Björn Stenberg
e65b65eeb0 Increased BSY & RDY timeouts to 10 seconds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2174 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 20:15:45 +00:00
Linus Nielsen Feltzing
0f387e913a Added (disabled) screendump feature
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2172 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 12:34:13 +00:00
Björn Stenberg
abe11fd910 Added quick-set screens to F2 (play modes) and F3 (screen settings) in dir browser and wps. Fixed minor propfont issues in lcd.c. Exported icons outside of icons.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2154 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 15:58:47 +00:00
Linus Nielsen Feltzing
3d641c92a5 Added lcd_putc()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2148 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 09:39:52 +00:00
Linus Nielsen Feltzing
00c1e0533b Ooops! perform_soft_reset() unlocked the mutex...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2132 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 12:48:08 +00:00
Linus Nielsen Feltzing
c0a53eabca STANDBY mode works again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2115 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 06:26:00 +00:00
Linus Nielsen Feltzing
5d154f9723 wait_for_rdy() now actually waits for RDY
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2057 a1c6a512-1295-4272-9138-f99709370657
2002-08-29 11:50:57 +00:00
Linus Nielsen Feltzing
9b1d1d46e1 Now uses STANDBY_IMMEDIATE instead of STANDBY
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2052 a1c6a512-1295-4272-9138-f99709370657
2002-08-29 11:34:46 +00:00
Markus Braun
513044fe58 Changed lcd_drawrect() to use upper left corner and height/width as parameters
Added function lcd_invertpixel()


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2037 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 14:21:25 +00:00
Björn Stenberg
ea8deec51c Repearied LOADABLE_FONTS, which was broken by the recent propfonts scroll fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2025 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 10:41:49 +00:00
Linus Nielsen Feltzing
0a3ab38ada Adjusted the key sense voltage levels a little
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2013 a1c6a512-1295-4272-9138-f99709370657
2002-08-27 21:11:15 +00:00
Linus Nielsen Feltzing
22e09a3fb8 Fixed some nasty mutex glitches
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2012 a1c6a512-1295-4272-9138-f99709370657
2002-08-27 21:06:48 +00:00
Björn Stenberg
f0599be133 Don't call perform_sleep() while already sleeping
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1988 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 22:05:47 +00:00
Björn Stenberg
457b8a0a67 Added configurable disk spindown. The disk will also now not spin down while you are running around in the dir browser or pressing buttons in the wps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1987 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 13:21:14 +00:00
Björn Stenberg
b5aceb8d2b Propfont fix/kludge for the scroll code. Now doesn't garble the line and should start scrolling the lines that need it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1981 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 10:30:11 +00:00
Hardeep Sidhu
e60a999ca0 Fixed minor bug in previous change: 0 is a valid sector
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1969 a1c6a512-1295-4272-9138-f99709370657
2002-08-24 18:36:08 +00:00