Commit graph

1310 commits

Author SHA1 Message Date
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
Hardeep Sidhu
f9e7ed4694 Data at end of file was not being read if last sector fell on cluster boundary
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1968 a1c6a512-1295-4272-9138-f99709370657
2002-08-24 17:00:10 +00:00
Björn Stenberg
518e1ec1e4 New measurements show ATA_SLEEP saves us 30-40 mA over ATA_STANDBY.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1932 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 21:53:10 +00:00
Mats Lidell
6866cef936 Added icons for charcell simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1857 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 10:43:31 +00:00
Markus Braun
bcbb8046f8 Fixed lcd_getstringsize() for prop fonts. Now also counts the blank columns
after each character.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1834 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 06:22:02 +00:00
Markus Braun
eef970428b added functions to get the current margins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1821 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 19:33:55 +00:00
Björn Stenberg
9315282b1e Fall back to fixed font if loadable font is not present
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1801 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 12:03:02 +00:00
Björn Stenberg
6224cdb166 Added resume. Works in dirs and playlists, shuffled or not. Resumes mid-song, but press pause on players before you shutdown so they get a chance to store the position on disk. Recorders use RTC ram. Todo: Time display is wrong after mid-track resume and ffd/rew is not handled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1787 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:41:47 +00:00
Linus Nielsen Feltzing
bd7fc37984 No DAC3550A in the recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1774 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 07:16:52 +00:00
Björn Stenberg
6ee90d9366 Removed warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1763 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 12:54:52 +00:00
Björn Stenberg
c9d98ca927 Added delayed write for settings. Doesn't write until someone else accesses the disk.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1762 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 12:42:37 +00:00
Markus Braun
e2a9fe1943 time/date setting works now with loadable and proportional fonts
code makeup


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1749 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 06:36:25 +00:00
Björn Stenberg
30033df6fa fat_read() now reads multiple sectors per ATA command
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1737 a1c6a512-1295-4272-9138-f99709370657
2002-08-14 16:39:39 +00:00
Björn Stenberg
63457c5c63 Added support for reading/writing 256 sectors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1736 a1c6a512-1295-4272-9138-f99709370657
2002-08-14 16:37:28 +00:00
Björn Stenberg
9ab90eabd1 Removed verbose debug message
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1735 a1c6a512-1295-4272-9138-f99709370657
2002-08-14 14:36:26 +00:00
Björn Stenberg
ed027a9d59 Allow (slow) reading to odd address
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1734 a1c6a512-1295-4272-9138-f99709370657
2002-08-14 14:34:54 +00:00
Linus Nielsen Feltzing
5407edc5ad Another strike against the evil distortion problem
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1732 a1c6a512-1295-4272-9138-f99709370657
2002-08-14 12:54:38 +00:00
Björn Stenberg
509b425616 Removed warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1725 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 21:02:09 +00:00
Björn Stenberg
c9ebbaf07e Replaced busy loop with sleep()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1724 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 20:58:03 +00:00
Björn Stenberg
5e3e8162ec If we're having loadable/proportional fonts, use them for everything
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1722 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 20:29:09 +00:00
Björn Stenberg
113fffaa86 Don't save settings on disk if it has no partition table
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1712 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 13:21:55 +00:00
Linus Nielsen Feltzing
638184f1a2 Added LCD contrast setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1710 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 11:10:11 +00:00
Mats Lidell
b2a691a2b2 Big lcd_width only for simulator without HAVE_LCD_BITMAP.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1691 a1c6a512-1295-4272-9138-f99709370657
2002-08-12 22:41:55 +00:00
Mats Lidell
176db6baa3 Changed lcd_width for simulator to match size of big font.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1689 a1c6a512-1295-4272-9138-f99709370657
2002-08-12 22:14:35 +00:00
Björn Stenberg
18239b831d Remote control support added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1685 a1c6a512-1295-4272-9138-f99709370657
2002-08-12 12:44:18 +00:00
Björn Stenberg
5ba6f01bde Code makeup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1680 a1c6a512-1295-4272-9138-f99709370657
2002-08-12 08:47:09 +00:00
Björn Stenberg
7af418611c Removed extra pixel btwn chars
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1673 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 16:45:12 +00:00
Björn Stenberg
cd225736f9 First version of loadable fonts patch by Alex Gitelman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1666 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 09:17:47 +00:00
Justin Heiner
2a5712238b Added lcd_scroll_pause/resume
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1649 a1c6a512-1295-4272-9138-f99709370657
2002-08-09 19:17:14 +00:00
Markus Braun
8761231ee1 reindented
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1647 a1c6a512-1295-4272-9138-f99709370657
2002-08-09 14:10:09 +00:00
Markus Braun
e67db77d6a made lcd_invertrect() working
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1644 a1c6a512-1295-4272-9138-f99709370657
2002-08-09 12:29:46 +00:00
Daniel Stenberg
6985f34beb Added lcd_update_rect(), for updating only a part of the LCD. This was
written "blindly". I've not tested this on hardware (yet).

The simulators will need to get this funtion added as well.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1643 a1c6a512-1295-4272-9138-f99709370657
2002-08-09 12:20:54 +00:00
Heikki Hannikainen
39243bceed Made battery_level() use the power history table to get an average battery level over the last 3 minutes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1585 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 11:22:26 +00:00
Markus Braun
de8fbf00a8 Added status bar to file browser and wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1582 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 10:35:26 +00:00
Linus Nielsen Feltzing
3c67c0a512 Added button_get_w_tmo()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1576 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 07:22:44 +00:00
Heikki Hannikainen
3f809e716d Added battery charger code for the recorder and battery voltage statistics keeping for all platforms.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1546 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 10:50:50 +00:00
Linus Nielsen Feltzing
50f1ea16c5 rtc_init() takes care of both the ST and HT bits
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1541 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 08:13:06 +00:00
Linus Nielsen Feltzing
a25d7ce126 Added rtc_init()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1540 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 08:12:29 +00:00
Linus Nielsen Feltzing
047174872a rtc_read() now sends a stop condition. This hopefully fixes the stopping clock updates.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1539 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 06:21:53 +00:00
Linus Nielsen Feltzing
513e8510cc Cleaned up the sleep options a little
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1514 a1c6a512-1295-4272-9138-f99709370657
2002-08-02 06:01:22 +00:00
Daniel Stenberg
57e2fb1f37 Markus Braun's progressbar and slidebar code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1510 a1c6a512-1295-4272-9138-f99709370657
2002-08-01 13:29:30 +00:00
Linus Nielsen Feltzing
7769ad2982 Moved some time critical functions to internal RAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1509 a1c6a512-1295-4272-9138-f99709370657
2002-08-01 13:09:38 +00:00
Linus Nielsen Feltzing
9d589401c1 Now uses CMD_STANDBY again. CMD_SLEEP used more power than CMD_STANDBY for some reason
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1507 a1c6a512-1295-4272-9138-f99709370657
2002-08-01 12:00:03 +00:00
Linus Nielsen Feltzing
c3d52b41ea Moved LCD frame buffer to internal RAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1503 a1c6a512-1295-4272-9138-f99709370657
2002-08-01 08:17:42 +00:00
Linus Nielsen Feltzing
364783a3d5 Moved ata_read_sectors() to internal RAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1501 a1c6a512-1295-4272-9138-f99709370657
2002-08-01 08:15:58 +00:00
Linus Nielsen Feltzing
416870d781 Commented the ADC channels
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1490 a1c6a512-1295-4272-9138-f99709370657
2002-07-29 12:56:22 +00:00
Linus Nielsen Feltzing
ec370c70fe charger_inserted() used the wrong ADC channel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1489 a1c6a512-1295-4272-9138-f99709370657
2002-07-29 12:54:57 +00:00
Linus Nielsen Feltzing
f1e9de5d38 Now uses HAVE_MASxxxxx macros instead of RECORDER
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1487 a1c6a512-1295-4272-9138-f99709370657
2002-07-29 09:34:44 +00:00
Linus Nielsen Feltzing
47c0388f75 Enabled ata_write_sectors()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1481 a1c6a512-1295-4272-9138-f99709370657
2002-07-28 15:51:26 +00:00
Linus Nielsen Feltzing
5cf6b411ac Added battery_level_safe() function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1480 a1c6a512-1295-4272-9138-f99709370657
2002-07-28 15:17:24 +00:00
Linus Nielsen Feltzing
ad8ac5c3ce Added ata_disk_is_active() function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1479 a1c6a512-1295-4272-9138-f99709370657
2002-07-28 15:16:36 +00:00
Linus Nielsen Feltzing
5c682fb0cd mas_run() didn't work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1477 a1c6a512-1295-4272-9138-f99709370657
2002-07-28 11:45:52 +00:00
Linus Nielsen Feltzing
01fd2a093b Corrected debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1474 a1c6a512-1295-4272-9138-f99709370657
2002-07-27 22:44:52 +00:00
Linus Nielsen Feltzing
3cb353eb0d Removed some debugging code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1463 a1c6a512-1295-4272-9138-f99709370657
2002-07-27 19:40:06 +00:00
Linus Nielsen Feltzing
e1a97288fc Reworked the button code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1462 a1c6a512-1295-4272-9138-f99709370657
2002-07-27 19:38:20 +00:00
Linus Nielsen Feltzing
42df584960 Spindown mode is STANDBY when debugging
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1461 a1c6a512-1295-4272-9138-f99709370657
2002-07-27 19:24:27 +00:00
Linus Nielsen Feltzing
406edc298d Added key-release event masking
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1460 a1c6a512-1295-4272-9138-f99709370657
2002-07-27 11:24:22 +00:00
Linus Nielsen Feltzing
96763eadce New voltage levels for full and empty battery
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1457 a1c6a512-1295-4272-9138-f99709370657
2002-07-26 14:54:25 +00:00
Linus Nielsen Feltzing
d731cdd0db Automatic Volume Control for Recorder by Heikki Hannikainen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1447 a1c6a512-1295-4272-9138-f99709370657
2002-07-25 15:55:22 +00:00
Linus Nielsen Feltzing
0ec3bc98a7 Oh, those simulator compiler errors...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1442 a1c6a512-1295-4272-9138-f99709370657
2002-07-25 06:39:52 +00:00
Linus Nielsen Feltzing
f8e017be8f Faster display updates on recorder, 36ms instead of 54ms
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1441 a1c6a512-1295-4272-9138-f99709370657
2002-07-25 06:32:23 +00:00
Linus Nielsen Feltzing
9d4c0e398e Added multi-button read for recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1434 a1c6a512-1295-4272-9138-f99709370657
2002-07-24 16:30:34 +00:00
Linus Nielsen Feltzing
51065bbaee Added key repeat control
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1433 a1c6a512-1295-4272-9138-f99709370657
2002-07-24 15:21:08 +00:00
Linus Nielsen Feltzing
b899494a7b Scroll garbage bug fix by Stuart Tedford
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1427 a1c6a512-1295-4272-9138-f99709370657
2002-07-24 07:51:31 +00:00
Linus Nielsen Feltzing
a36439ebce fat_seek() end-of-file bug fix by Hardeep Sidhu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1426 a1c6a512-1295-4272-9138-f99709370657
2002-07-24 07:19:01 +00:00
Linus Nielsen Feltzing
669edf680d Now reports key release events
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1423 a1c6a512-1295-4272-9138-f99709370657
2002-07-23 22:23:06 +00:00
Linus Nielsen Feltzing
2f4b88e9bb Possibly better USB handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1419 a1c6a512-1295-4272-9138-f99709370657
2002-07-23 15:02:25 +00:00
Linus Nielsen Feltzing
d78a1422cd Still more simulator compiler error killing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1417 a1c6a512-1295-4272-9138-f99709370657
2002-07-23 09:03:48 +00:00
Linus Nielsen Feltzing
90f839cd3d Killed simulator compile error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1415 a1c6a512-1295-4272-9138-f99709370657
2002-07-23 08:39:01 +00:00
Linus Nielsen Feltzing
cc22cd0736 Added icon functions for the Player model
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1404 a1c6a512-1295-4272-9138-f99709370657
2002-07-22 22:37:03 +00:00
Linus Nielsen Feltzing
e0d88a11d9 Loudness and Superbass patch by Heikki Hannikainen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1400 a1c6a512-1295-4272-9138-f99709370657
2002-07-22 16:38:02 +00:00
Linus Nielsen Feltzing
703704d4f6 Slightly different battery level range
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1396 a1c6a512-1295-4272-9138-f99709370657
2002-07-22 15:33:14 +00:00
Björn Stenberg
208cb91192 battery_level() would sometimes return wrong value
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1375 a1c6a512-1295-4272-9138-f99709370657
2002-07-17 11:13:56 +00:00
Björn Stenberg
11968a429a Removed use of internal harddisk standby timer and instead added software sleep timer.
This gives lower power use and slightly faster boot, plus a more fine-grained timeout setting (1s steps instead of 5s).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1372 a1c6a512-1295-4272-9138-f99709370657
2002-07-16 14:07:47 +00:00
Björn Stenberg
c4b285027b Faster, deeper disk sleep. Should save us some power.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1370 a1c6a512-1295-4272-9138-f99709370657
2002-07-16 12:18:17 +00:00
Björn Stenberg
42b7645532 Only one pixel clearing necessary
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1369 a1c6a512-1295-4272-9138-f99709370657
2002-07-16 12:08:57 +00:00
Björn Stenberg
afa0c097f0 Removed warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1368 a1c6a512-1295-4272-9138-f99709370657
2002-07-16 11:21:59 +00:00
Björn Stenberg
d1de4f8d38 Fixed name garbling bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1363 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 23:39:06 +00:00
Linus Nielsen Feltzing
76b4096be7 Added thread names
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1357 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 22:19:49 +00:00
Linus Nielsen Feltzing
b62b0b6699 The Player button_read used Port C. It now uses ANx instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1338 a1c6a512-1295-4272-9138-f99709370657
2002-07-05 07:11:20 +00:00
Linus Nielsen Feltzing
4edf8aebf5 Added power_off() and lowered the FULL limit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1337 a1c6a512-1295-4272-9138-f99709370657
2002-07-05 07:10:22 +00:00
Linus Nielsen Feltzing
7cafe7aa2f First version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1333 a1c6a512-1295-4272-9138-f99709370657
2002-07-04 16:09:23 +00:00
Linus Nielsen Feltzing
b7beef2dba Added Battery scale factor
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1328 a1c6a512-1295-4272-9138-f99709370657
2002-07-04 13:36:54 +00:00
Linus Nielsen Feltzing
93ce7d0bee Increased the scroll thread stack
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1327 a1c6a512-1295-4272-9138-f99709370657
2002-07-04 07:01:55 +00:00
Linus Nielsen Feltzing
51da9dfcdb Increased the scroll line buffer to 257
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1323 a1c6a512-1295-4272-9138-f99709370657
2002-07-03 19:55:56 +00:00
Linus Nielsen Feltzing
1639e98202 Added some debug information
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1298 a1c6a512-1295-4272-9138-f99709370657
2002-07-02 14:23:30 +00:00
Linus Nielsen Feltzing
a550b07886 Removed TAB chars
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1280 a1c6a512-1295-4272-9138-f99709370657
2002-07-01 10:55:47 +00:00
Linus Nielsen Feltzing
756e74538f New voltage levels
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1279 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 20:45:46 +00:00
Linus Nielsen Feltzing
d1c88e728b Now uses adc_read()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1276 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 20:24:57 +00:00
Linus Nielsen Feltzing
3189353946 Corrected ADC channel C registers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1275 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 20:24:12 +00:00
Linus Nielsen Feltzing
f725641ff9 First version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1273 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 20:22:25 +00:00
Linus Nielsen Feltzing
57a59e038b Made button_queue global
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1261 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 13:12:14 +00:00
Linus Nielsen Feltzing
2012e1ec28 Some cleanup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1260 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 13:10:42 +00:00
Björn Stenberg
458a3436c2 lcd_putspropxy() now clears drawing area before drawing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1239 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 17:26:04 +00:00
Linus Nielsen Feltzing
a8f141978d Added left/right/deemphasis functionality of dac_volume
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1227 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 08:28:51 +00:00
Linus Nielsen Feltzing
8296cd16f9 Added STOP key reboot for Players as well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1208 a1c6a512-1295-4272-9138-f99709370657
2002-06-26 21:47:21 +00:00
Linus Nielsen Feltzing
d1d752554b Bug 574204 fixed. Now reboots when OFF is pressed while charging.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1207 a1c6a512-1295-4272-9138-f99709370657
2002-06-26 21:31:47 +00:00
Linus Nielsen Feltzing
d1d63960b9 Added mas_reset()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1196 a1c6a512-1295-4272-9138-f99709370657
2002-06-26 12:39:49 +00:00
Linus Nielsen Feltzing
1a5032e7ed Added old_recorder variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1195 a1c6a512-1295-4272-9138-f99709370657
2002-06-26 12:36:29 +00:00
Felix Arends
28859c52d5 fixed lcd_bitmap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1193 a1c6a512-1295-4272-9138-f99709370657
2002-06-26 11:39:27 +00:00
Linus Nielsen Feltzing
417685fff3 wrong return code in mas_direct_config_write()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1185 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 14:12:37 +00:00
Linus Nielsen Feltzing
6dc368a133 dac_config() return the wrong error code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1180 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 11:22:53 +00:00
Alan Korr
c81f9b78ac remove tabs :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1160 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 17:03:06 +00:00
Felix Arends
3bce07ff62 fixed propfonts bug which was related to illegal memory accesing of lcd_bitmap function called by lcd_clearrect.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1158 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 15:24:28 +00:00
Linus Nielsen Feltzing
8007828d71 Added backlight control
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1154 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 13:50:39 +00:00
Linus Nielsen Feltzing
740eb36c10 Added first RTC functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1151 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 13:23:01 +00:00
Linus Nielsen Feltzing
bdeed1ae62 Removed dac_volume
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1149 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 12:38:09 +00:00
Linus Nielsen Feltzing
985c86108e mas_devread is now static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1148 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 12:36:42 +00:00
Linus Nielsen Feltzing
e1cb054fa0 Now uses i2c_begin/end
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1147 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 12:35:37 +00:00
Linus Nielsen Feltzing
b922a96ae3 Added functions for exclusive I2C access
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1144 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 10:34:24 +00:00
Daniel Stenberg
01a264fb83 fixed a missing unsigned
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1140 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 08:10:13 +00:00
Daniel Stenberg
28e1d414b1 strings should be 'unsigned char *' or we will get problemos
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1139 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 07:57:44 +00:00
Daniel Stenberg
c66efb702e more proportional font fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1137 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 07:38:27 +00:00
Daniel Stenberg
94f0b55c64 the scroll loop could end up scrolling forever!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1135 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 06:55:20 +00:00
Daniel Stenberg
848c2cd733 slightly improved fix for proportional font scrolling, but it still isn't
really as good as it should be


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1134 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 06:41:19 +00:00
Daniel Stenberg
c5ddb150d9 made the putspropxy() use the exetended charset Magnus has made, forgot
to change this last week


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1133 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 05:59:31 +00:00
Felix Arends
7ce440a166 fixed the horizontal scroll graphics error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1132 a1c6a512-1295-4272-9138-f99709370657
2002-06-21 13:06:28 +00:00
Felix Arends
d3f373f7cb nx was undefined for the first execution of the while statement
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1131 a1c6a512-1295-4272-9138-f99709370657
2002-06-21 12:30:08 +00:00
Daniel Stenberg
714cca067d extended charset by Magnus Öman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1127 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 14:06:57 +00:00
Björn Stenberg
57aa1f4de4 Clear area for proportional scroll
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1126 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 12:48:24 +00:00
Daniel Stenberg
788f1ceae2 added lcd_getstringsize() within the propfonts test define
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1124 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 11:30:25 +00:00
Daniel Stenberg
9468e1b93e Magnus Oman brought a test set proportional font
#define LCD_PROPFONTS to try


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1112 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 08:20:12 +00:00
Linus Nielsen Feltzing
b73481edeb mas_writereg() was broken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1109 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 05:54:02 +00:00
Björn Stenberg
702dd052ae Ignore volume ID
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1096 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 17:31:35 +00:00
Björn Stenberg
ae6d598213 Fixed bounce bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1093 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 16:24:22 +00:00
Björn Stenberg
258919cc55 We don't need time unless we're writing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1085 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 14:34:54 +00:00
Daniel Stenberg
e1bea8954b when simulating a player, move down the text 8 pixels to make room for
"icons"


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1078 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 12:59:21 +00:00
Linus Nielsen Feltzing
9c0e5d8a26 Added Recorder code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1072 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 12:03:41 +00:00
Linus Nielsen Feltzing
9d937e9c23 Recorder modifications
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1071 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 12:00:37 +00:00
Linus Nielsen Feltzing
1b8bb1e05e Killed warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1066 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 13:19:25 +00:00
Linus Nielsen Feltzing
a422b8381b Better ATA I/O detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1065 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 12:53:02 +00:00
Daniel Stenberg
3d1c27f4d1 Added lcd_clearline() - the opposite of drawline. We need this to make funny
graphical stuff.
lcd_bitmap() with the last argument set to 'false' now only OR the bitmap to
the background instead of using XOR as it did previously. I really can't see
the point in XORing...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1011 a1c6a512-1295-4272-9138-f99709370657
2002-06-15 13:26:57 +00:00
Daniel Stenberg
16c3c127ba typecast array indexing to int from char to prevent compiler warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@985 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 18:02:18 +00:00
Björn Stenberg
4b422aaa36 Fixed tighter looping scroll.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@977 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 15:15:51 +00:00
Linus Nielsen Feltzing
8169c8f5bd Added I/O address detection for CONTROL/ALT_STATUS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@976 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 13:51:31 +00:00
Linus Nielsen Feltzing
a4058ec28a ata_read_sectors() couldn't read more that one sector
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@974 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 09:28:22 +00:00
Björn Stenberg
4dea91fbcb Tighter scrolling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@971 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 08:24:03 +00:00
Björn Stenberg
14dc57c6d0 Skip initing LCD. Make scroll delay 1s.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@957 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 11:03:48 +00:00
Björn Stenberg
8db6e4a63f Removed leftover int
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@955 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 10:39:14 +00:00
Björn Stenberg
1ef2d66052 Changed to new chartable arrays
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@954 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 10:36:50 +00:00
Björn Stenberg
92e46622e5 Don't scroll lines shorter than the screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@949 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 07:55:43 +00:00
Linus Nielsen Feltzing
7bccab7400 Slower scroll speed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@944 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 14:45:09 +00:00
Björn Stenberg
f6a296929e lcd_init() for player too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@941 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 13:44:29 +00:00
Björn Stenberg
a45675aaa2 Added #include <thread.h>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@939 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 13:31:12 +00:00
Björn Stenberg
f40a826000 Added delay before starting scroll
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@938 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 13:25:03 +00:00
Björn Stenberg
874fccbbc9 Moved declarations to top
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@932 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 12:41:12 +00:00
Björn Stenberg
e2b92ebeed Added scrolling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@931 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 12:36:54 +00:00
Linus Nielsen Feltzing
5a687d0377 Changed default contrast to power-on default
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@916 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 14:39:52 +00:00
Linus Nielsen Feltzing
5aacc8872c Removed some warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@911 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 13:09:44 +00:00
Linus Nielsen Feltzing
16ff7be475 Fixed poll interval handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@909 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 13:00:33 +00:00
Björn Stenberg
49c46a7f7c Removed old recorder debounce code. Increased repeat speed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@904 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 11:13:26 +00:00
Linus Nielsen Feltzing
8b1168bc94 Wrong command address for Recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@902 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 07:48:08 +00:00
Daniel Stenberg
82078e4a59 the truncate lcd_puts() stuff in simulator only concerns player-style LCDs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@900 a1c6a512-1295-4272-9138-f99709370657
2002-06-06 12:50:34 +00:00
Daniel Stenberg
f43490a86e when doing lcd_puts() on a simulated player, we now truncate the string at
the right edge instead of wrapping down to the next line, as the target
will not behave that way!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@899 a1c6a512-1295-4272-9138-f99709370657
2002-06-06 12:47:03 +00:00
Björn Stenberg
3f7d6d5217 Untranslated chars should be pass-through
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@847 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 09:01:57 +00:00
Björn Stenberg
eacbef9466 Umm, bpb must be static to be local :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@833 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 19:49:15 +00:00
Björn Stenberg
827cee37d7 struct bpb does not have to be global
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@832 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 19:47:56 +00:00
Daniel Stenberg
44624521ff removed char(un)def.h includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@828 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 14:50:28 +00:00
Daniel Stenberg
565f3b27f2 lcd_clear_display() now works when player-simulated the same way the
lcd_puts() does, it runs lcd_update() immediately itself


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@826 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 14:11:50 +00:00
Daniel Stenberg
af51791692 removed the ugly use of char(un)def.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@824 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 14:09:33 +00:00
Daniel Stenberg
c346991af8 when building a simulator for the player, we do lcd_update() from within
the lcd_puts() call.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@823 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 14:08:27 +00:00
Daniel Stenberg
43d96f9c41 lcd_getfontsize() now takes an unsigned font size as first argument
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@810 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 06:55:48 +00:00
Daniel Stenberg
7ec047c3a4 The recorder's lcd_putsxy() will now output '?' instead of just skipping
unknown characters.

I think we will need a rather full ISO-8859-1 character set.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@809 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 06:49:39 +00:00
Björn Stenberg
56f7202328 Stopped writting outsite screen. Removed LCD_ASCII macro.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@801 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 16:29:17 +00:00
Björn Stenberg
3ad66b95fb FAT cache now uses static memory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@789 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 11:56:42 +00:00
Linus Nielsen Feltzing
95a323cbb1 getack didn't clean up after a NAK
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@768 a1c6a512-1295-4272-9138-f99709370657
2002-05-28 15:07:45 +00:00
Björn Stenberg
f008567379 Added 'block' parameter to button_get()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@759 a1c6a512-1295-4272-9138-f99709370657
2002-05-28 12:09:30 +00:00
Linus Nielsen Feltzing
14a20d54b3 fat_seek couldn't seek in the first cluster
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@751 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 14:04:18 +00:00
Björn Stenberg
ff351c1fcc Added lcd_double_height()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@715 a1c6a512-1295-4272-9138-f99709370657
2002-05-26 20:54:52 +00:00
Björn Stenberg
50a33f06cf Clear 16 bytes per row
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@701 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 15:47:55 +00:00
Björn Stenberg
a95d956316 Disable USB before enabling ATA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@692 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 11:32:53 +00:00
Björn Stenberg
a97c4419ed Fixed wrong reset pin. Removed unnecessary reset from init.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@691 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 11:25:24 +00:00
Daniel Stenberg
1eea4a5ade lcd_update() is a function for bitmap LCD targets too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@683 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 09:03:08 +00:00
Daniel Stenberg
18663e0fd1 more data needed by the Recorder build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@679 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 08:49:55 +00:00
Björn Stenberg
7a112a7204 Added repeat handling. Removed CRLF newlines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@664 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 11:59:30 +00:00
Björn Stenberg
2549234bd7 Added timer-interrupt polling and button queue
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@659 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 09:26:20 +00:00
Björn Stenberg
5c7847c501 Check for master/slave disk. Active 5s spindown timeout.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@655 a1c6a512-1295-4272-9138-f99709370657
2002-05-22 14:37:36 +00:00
Robert Hak
5d8e4c2156 trying to clean up Recorder vs Player issues
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@640 a1c6a512-1295-4272-9138-f99709370657
2002-05-21 08:50:46 +00:00
Björn Stenberg
2571912b35 Added dummy lcd_update() to player code, to avoid #ifdef everywhere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@634 a1c6a512-1295-4272-9138-f99709370657
2002-05-20 21:30:26 +00:00
Björn Stenberg
833556c2e7 Doh! Button signals are active low
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@624 a1c6a512-1295-4272-9138-f99709370657
2002-05-17 19:23:04 +00:00
Linus Nielsen Feltzing
afd30bb4cd More readable comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@609 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 21:32:04 +00:00
Linus Nielsen Feltzing
3922466486 Added mutex protection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@608 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 21:28:21 +00:00
Linus Nielsen Feltzing
250c3b65df Now yields when waiting for flow control
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@607 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 21:20:52 +00:00
Linus Nielsen Feltzing
0e085999d5 Changed default_read prototype
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@606 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 21:12:57 +00:00
Linus Nielsen Feltzing
a2b0490060 First version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@604 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 21:03:57 +00:00
Björn Stenberg
e5992829d7 Fixed compiler warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@574 a1c6a512-1295-4272-9138-f99709370657
2002-05-14 12:28:48 +00:00
Linus Nielsen Feltzing
e14e13df5c C99 booleans
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@568 a1c6a512-1295-4272-9138-f99709370657
2002-05-13 19:22:38 +00:00
Björn Stenberg
7ae053a6e9 Changing to C99 'bool'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@562 a1c6a512-1295-4272-9138-f99709370657
2002-05-13 12:45:46 +00:00
Björn Stenberg
2382044ffc Changing to C99 'bool' type
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@561 a1c6a512-1295-4272-9138-f99709370657
2002-05-13 12:29:34 +00:00
Linus Nielsen Feltzing
f70f06cc6b GRA1 was wrongly defined
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@546 a1c6a512-1295-4272-9138-f99709370657
2002-05-11 21:48:03 +00:00
Björn Stenberg
71cda11e65 Changed puts() to take 'character position'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@540 a1c6a512-1295-4272-9138-f99709370657
2002-05-10 14:54:56 +00:00
Linus Nielsen Feltzing
564bb3edb0 Removed a few annoying debugf calls
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@534 a1c6a512-1295-4272-9138-f99709370657
2002-05-09 23:11:44 +00:00
Linus Nielsen Feltzing
01ede91cbe Removed a few debugf calls
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@528 a1c6a512-1295-4272-9138-f99709370657
2002-05-09 22:58:54 +00:00
Linus Nielsen Feltzing
8083e7a227 get_next_cluster forgot to byteswap the FAT entry, among others
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@527 a1c6a512-1295-4272-9138-f99709370657
2002-05-09 22:57:54 +00:00
Linus Nielsen Feltzing
114fce01dd New cache algorithm
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@526 a1c6a512-1295-4272-9138-f99709370657
2002-05-09 21:27:49 +00:00
Björn Stenberg
1c3217909b Added lseek()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@518 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 15:16:02 +00:00
Björn Stenberg
7dd442b7c3 Fixed EOF handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@512 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 12:02:42 +00:00
Linus Nielsen Feltzing
b900a83046 Fixed lame timeout handling and wrong return codes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@508 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 08:27:44 +00:00
Linus Nielsen Feltzing
3fd7fe9bb2 Fixed some debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@506 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 08:26:38 +00:00
Linus Nielsen Feltzing
dc4977d98c Killed a few bugs. Tested in target. Works fairly good.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@501 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 22:59:03 +00:00
Björn Stenberg
802740cd88 Create correct shortnames
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@499 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 18:56:32 +00:00
Linus Nielsen Feltzing
551d8368aa corrected a few errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@454 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 22:14:07 +00:00
Daniel Stenberg
c8b6119b38 Added weird circumvention macros for SIMULATOR builds. When we build a
charcell LCD simulator, we keep the bitmap LCD functions too, as we use
the bitmap functionality to put characters on screen. But since the charcell
LCD api and the bitmap LCD api use the same function names for a few
functions, we include redef and undef files to fix that...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@419 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 12:19:36 +00:00
Björn Stenberg
924164e6a7 Changed to global 'bpb' struct
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@411 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 15:35:51 +00:00
Linus Nielsen Feltzing
0bd77a6a80 Added a few functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@408 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 13:12:21 +00:00
Björn Stenberg
c7f7934e8f Added disk/partition handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@405 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 11:59:53 +00:00
Robert Hak
1118c88639 lcd_drawrect added
I was tired of calling lcd_drawline 4 times on my own.  This acts
as a wrapper around that.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@399 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 06:23:30 +00:00
Linus Nielsen Feltzing
611a7c55e2 Added mas_run function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@393 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 23:01:10 +00:00
Björn Stenberg
697dd70ac4 Changed debug to DEBUGF and panic to panicf.
Also some linking changes.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@383 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 14:05:51 +00:00
Daniel Stenberg
72aa3cfb02 Reverted the 1.10 and 1.11 changes, as they don't work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@376 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 10:06:45 +00:00
Felix Arends
fea4cfa41a fixed lcd_bitmap, again. Works for y%8 != 0 as well now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@374 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 17:05:55 +00:00
Felix Arends
fa16227b25 fixed lcd_bitmap code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@373 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 16:08:21 +00:00
Daniel Stenberg
d31188fc6e corrected the load-file path
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@362 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 10:12:28 +00:00
Daniel Stenberg
2877995956 lcd_puts() uses the new fontheight table now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@361 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 09:59:15 +00:00
Daniel Stenberg
0b81b35b7a Added lcd_fontsize() that returns the size of a given font
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@360 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 09:56:38 +00:00
Felix Arends
dc64ef99d1 removed WIN32 compiler directive
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@358 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 09:46:34 +00:00
Felix Arends
3d2999c911 Win32 Simulator compability:
needed to include windows.h for memcpy operations.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@352 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 21:17:27 +00:00
Björn Stenberg
3df8650a97 Renamed get_bpb() into fat_mount() and added it to the API.
Fixed a bug in fat_seek().
Added comment about unicode->iso8859-1 for longnames.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@312 a1c6a512-1295-4272-9138-f99709370657
2002-04-29 08:03:59 +00:00
Björn Stenberg
21594a4e2a Slight simplification
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@277 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 22:45:23 +00:00
Björn Stenberg
24a2de64ac Added longname handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@276 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 22:32:37 +00:00
Björn Stenberg
2cf3b5dfd6 Adapted to changed led API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@272 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 20:14:01 +00:00
Björn Stenberg
0ea9f3772a Added fat_seek()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@271 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 20:03:05 +00:00
Björn Stenberg
e8bcc01edf Added fat_open() and fat_read().
Renamed BLOCK_SIZE to SECTOR_SIZE.
Added #ifdef DISK_WRITE to all write code.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@269 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 19:37:41 +00:00
Björn Stenberg
6c9e57810d Added ata_spindown() and use of ALT_STATUS instead of STATUS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@259 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 14:19:00 +00:00
Björn Stenberg
5661b2332f Cluster chaining now works.
Moved all implementation details in .h to .c file.
Changed all printfs to DEBUG macros.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@256 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 01:25:22 +00:00
Björn Stenberg
1dff4b65f7 FAT update
Added fat test code


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@254 a1c6a512-1295-4272-9138-f99709370657
2002-04-26 16:44:58 +00:00
Björn Stenberg
cfc2bbeef2 Removed erroneous lcd_start call
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@253 a1c6a512-1295-4272-9138-f99709370657
2002-04-26 16:41:51 +00:00
Björn Stenberg
9b113d5ac3 Simpler API and remove interrupt code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@250 a1c6a512-1295-4272-9138-f99709370657
2002-04-26 09:05:36 +00:00
Björn Stenberg
29db1a9e72 Cleaned up lcd API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@236 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 15:09:03 +00:00
Björn Stenberg
30e8c03a42 Cleaning up the lcd API; not finished
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@233 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 13:45:23 +00:00
Daniel Stenberg
dba2b45255 fixed the emacs load-file thing in the bottom
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@207 a1c6a512-1295-4272-9138-f99709370657
2002-04-24 08:14:41 +00:00
Björn Stenberg
7de1fceaa0 Moved sh7034.h into 'drivers'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@194 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 11:04:12 +00:00
Björn Stenberg
c6773e1436 Moved driver to 'drivers' subdir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@189 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 09:13:23 +00:00