Commit graph

295 commits

Author SHA1 Message Date
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