Commit graph

231 commits

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