Commit graph

1353 commits

Author SHA1 Message Date
Jörg Hohensohn
118d45eb92 ATA io_address_detect() now doesn't probe any more, but uses the h/w mask. Probing failed for some flash users. I hope this works for everybody, we have to try to find out.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3946 a1c6a512-1295-4272-9138-f99709370657
2003-09-01 05:48:42 +00:00
Hardeep Sidhu
4160b75456 Pass actual time instead of offset to mpeg_ff_rewind. Fixes ff/rew to wrong time when mpeg thread is busy loading data.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3943 a1c6a512-1295-4272-9138-f99709370657
2003-08-29 04:36:35 +00:00
Linus Nielsen Feltzing
53ee344743 Slightly more correct initialization of the power/charging code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3940 a1c6a512-1295-4272-9138-f99709370657
2003-08-25 08:57:49 +00:00
Uwe Freese
056439e59d Measured voltages for LiIon. I found rockbox-liion.gif
somewhere, didn't know where anymore. Thanks to the one who measured the values.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3936 a1c6a512-1295-4272-9138-f99709370657
2003-08-21 08:49:57 +00:00
Hardeep Sidhu
18261c94ca Reset playing variables when usb connected
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3935 a1c6a512-1295-4272-9138-f99709370657
2003-08-20 02:11:00 +00:00
Mats Lidell
37982493c2 Smarter jumpscroll.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3931 a1c6a512-1295-4272-9138-f99709370657
2003-08-18 05:27:13 +00:00
Jörg Hohensohn
e9b12dd9eb The other end of my diagnostic code: Rolo now tries to load the file "/startup_io.bin" and restores the I/O space from there, if present. Use a file created from not-flashed for testing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3917 a1c6a512-1295-4272-9138-f99709370657
2003-08-04 18:41:13 +00:00
Daniel Stenberg
acbd9bd0c8 TP Diffenbach pointed out the risk here. Added a check for bad input values
here, and I also made the argument named 'index' and made it unsigned to
better match what it actually is used for.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3899 a1c6a512-1295-4272-9138-f99709370657
2003-07-28 09:08:49 +00:00
Linus Nielsen Feltzing
4bb3f80f27 Setting the lowest mic gain no longer turns off the mic (bug #774349)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3865 a1c6a512-1295-4272-9138-f99709370657
2003-07-22 18:34:23 +00:00
Mats Lidell
bd49e5f83b ide_power_enable for simulator added.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3851 a1c6a512-1295-4272-9138-f99709370657
2003-07-20 00:08:47 +00:00
Mats Lidell
177b8cbd47 usb_detect for simulator added.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3850 a1c6a512-1295-4272-9138-f99709370657
2003-07-20 00:08:09 +00:00
Linus Nielsen Feltzing
68125796b8 Another go at the disk-full FAT driver fix. Now it skips the reserved sectors at all times.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3847 a1c6a512-1295-4272-9138-f99709370657
2003-07-19 00:34:22 +00:00
Jörg Hohensohn
f4b677eb3c report sleeping disk while not initialized, needed for changing before ata_init()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3844 a1c6a512-1295-4272-9138-f99709370657
2003-07-18 21:55:06 +00:00
Jörg Hohensohn
bfaf757db7 Magnus Holmgren: Just realized one thing: doing AN0-3 last is slightly better, as AN0
will then remain valid for the first execution of the tick task function.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3842 a1c6a512-1295-4272-9138-f99709370657
2003-07-17 20:40:16 +00:00
Jörg Hohensohn
782e2370e8 when rebooting, de-init such that the coldstart detection would kick in again (fixes Rombox ATA problems when shutting off with charger)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3840 a1c6a512-1295-4272-9138-f99709370657
2003-07-17 20:19:01 +00:00
Jörg Hohensohn
61750ac07d one more missing init, prevented powering down the disk
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3839 a1c6a512-1295-4272-9138-f99709370657
2003-07-17 20:15:57 +00:00
Linus Nielsen Feltzing
a2134422d4 Removed a compiler warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3837 a1c6a512-1295-4272-9138-f99709370657
2003-07-16 22:39:15 +00:00
Linus Nielsen Feltzing
41249b7059 Fixed a bug that included the reserved clusters 0 and 1 in the search for available clusters. That could in some cases lead to a bogus disk-full error.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3836 a1c6a512-1295-4272-9138-f99709370657
2003-07-16 22:28:24 +00:00
Jörg Hohensohn
d8a4bf3ec6 Patch 772577 by Magnus Holmgren: measure all ADC channels within adc_init(), so afterwards adc_read() can be used right away.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3834 a1c6a512-1295-4272-9138-f99709370657
2003-07-16 21:07:53 +00:00
Björn Stenberg
9cb5e0e9f9 Initalize last_disk_activity
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3830 a1c6a512-1295-4272-9138-f99709370657
2003-07-11 19:11:06 +00:00
Linus Nielsen Feltzing
f6811b008e A more complete serial port setup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3829 a1c6a512-1295-4272-9138-f99709370657
2003-07-11 07:30:59 +00:00
Björn Stenberg
c695f26c9f Fixed spindown bug: last_disk_activity was set 10 seconds into the future, which resulted in too long spindown delays.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3826 a1c6a512-1295-4272-9138-f99709370657
2003-07-10 13:32:15 +00:00
Björn Stenberg
4b392cd105 Added dependency to the tools dir, so it's automatically built with the rest. Updated build docs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3825 a1c6a512-1295-4272-9138-f99709370657
2003-07-10 11:52:42 +00:00
Björn Stenberg
067262dbf0 Moved lcd default contrast knowledge from settings.c to lcd driver. Now lcd_init sets default contrast until settings are read.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3824 a1c6a512-1295-4272-9138-f99709370657
2003-07-09 23:07:49 +00:00
Björn Stenberg
9f372f1f59 Cold start fixes: master_slave_select() now checks for BSY as well as RDY (since disks are BSY during powerup). Also, wait_for_bsy() looks at ATA_STATUS instead of ATA_ALT_STATUS, since the address of ATA_ALT_STATUS is not determined until later.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3822 a1c6a512-1295-4272-9138-f99709370657
2003-07-09 22:04:31 +00:00
Björn Stenberg
efd2f356c7 Removed warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3821 a1c6a512-1295-4272-9138-f99709370657
2003-07-09 16:46:46 +00:00
Jörg Hohensohn
bbfaf26e11 again different coldstart, ata_init() now has non-ambiguous return codes for better diagnostics
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3820 a1c6a512-1295-4272-9138-f99709370657
2003-07-09 07:18:47 +00:00
Jörg Hohensohn
adef8fb17e better place and method for the spinup wait code, still I'd welcome comments on this
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3815 a1c6a512-1295-4272-9138-f99709370657
2003-07-08 06:33:30 +00:00
Björn Stenberg
92b1d85b48 Fix for incorrect genre default value, by Benjamin Metzler
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3810 a1c6a512-1295-4272-9138-f99709370657
2003-07-04 08:23:39 +00:00
Jörg Hohensohn
d4735224bb I needed a function to return the physical USB detect
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3807 a1c6a512-1295-4272-9138-f99709370657
2003-07-03 22:11:14 +00:00
Jörg Hohensohn
d1a3a3e148 When starting from flash, we have to wait for the disk to get ready. (Quite a new situation ;-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3803 a1c6a512-1295-4272-9138-f99709370657
2003-07-03 00:02:15 +00:00
Björn Stenberg
1a658f0c4e Only recorders use PA11 for /PR. Players use it for the STOP button...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3801 a1c6a512-1295-4272-9138-f99709370657
2003-07-02 19:44:15 +00:00
Hardeep Sidhu
9e4262081b Added dynamic playlists. ON+PLAY->Playlist on a track, directory, or playlist from file browser to see available options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3796 a1c6a512-1295-4272-9138-f99709370657
2003-07-01 21:05:43 +00:00
Jörg Hohensohn
3a36a57005 Another port init fixes the silent play problem, Rockbox is now ready for FLASH!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3793 a1c6a512-1295-4272-9138-f99709370657
2003-07-01 07:03:27 +00:00
Linus Nielsen Feltzing
82e44bb53c The mono recording fix was braindead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3791 a1c6a512-1295-4272-9138-f99709370657
2003-07-01 01:19:56 +00:00
Jörg Hohensohn
5604b97502 missing port init prevented recording with Rockbox from flash
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3790 a1c6a512-1295-4272-9138-f99709370657
2003-06-30 21:04:28 +00:00
Linus Nielsen Feltzing
9c6abb19ae Mono recording with Line In now mixes the left and right channel. Fixes bug #753084.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3786 a1c6a512-1295-4272-9138-f99709370657
2003-06-30 01:49:55 +00:00
Kjell Ericson
6185fa251b * Added the plugin icon for the old lcd.
* Updated comments.
* Defined the substitute character to be ")".


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3775 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 20:08:38 +00:00
Björn Stenberg
ba371fb595 Added plugin loader. Moved games, demos and the text viewer to loadable plugins. Copy your *.rock files to /.rockbox/rocks/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3769 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 16:33:04 +00:00
Björn Stenberg
9bcbe3fd72 Added restart option to system exception screen (press ON)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3768 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 15:09:01 +00:00
Björn Stenberg
0dcc4a6fb9 Added multiple inclusion protection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3767 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 14:57:44 +00:00
Björn Stenberg
a4baacd3ec Renamed flush() to fsync() to be more in line with POSIX/unix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3766 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 13:17:19 +00:00
Jörg Hohensohn
545efb6c28 port inits for cold start ability
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3764 a1c6a512-1295-4272-9138-f99709370657
2003-06-26 21:29:13 +00:00
Jörg Hohensohn
d3fba4644d init the LCD, needed for cold start (from flash)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3762 a1c6a512-1295-4272-9138-f99709370657
2003-06-26 06:49:34 +00:00
Linus Nielsen Feltzing
9fb2d34447 Default contrast is now autodetected on recorders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3761 a1c6a512-1295-4272-9138-f99709370657
2003-06-25 23:24:47 +00:00
Hardeep Sidhu
df34e6b71a In flush_reload, don't reset swapwrite if we're still swapping current track. Fixes a silent play bug.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3760 a1c6a512-1295-4272-9138-f99709370657
2003-06-25 15:17:04 +00:00
Linus Nielsen Feltzing
c6db7870ef Slightly better handling of disk-full situations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3756 a1c6a512-1295-4272-9138-f99709370657
2003-06-19 12:08:22 +00:00
Linus Nielsen Feltzing
474c4b5427 Now handles a full disk a little better, and it doesn't trust the fsinfo anymore
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3755 a1c6a512-1295-4272-9138-f99709370657
2003-06-19 12:03:36 +00:00
Björn Stenberg
2bcb3dfccc Report max 99% battery level during charging
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3738 a1c6a512-1295-4272-9138-f99709370657
2003-06-09 21:02:13 +00:00
Daniel Stenberg
75fdb2aab3 bug 749951, ooops. We made the number function too generic and forgot to
make the year tags work... Thanks to Jeremy Zoss for finding and reporting.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3737 a1c6a512-1295-4272-9138-f99709370657
2003-06-06 07:54:50 +00:00