Jens Arnold
27abc2a641
(1) Early USB detection on boot, before trying to mount the partitions. Cleaner & quicker; removes the need for the extra USB check at the top of ask_resume() which caused a deadlock in screenshot mode (see patch #1110332 ). On Ondio, this allows to leave an MMC in the slot when booting with USB connected for instant access. (2) Ondio: Track MMC status, only ask to remove the card if required. Probe MMC status if unknown.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6488 a1c6a512-1295-4272-9138-f99709370657
2005-05-17 22:10:51 +00:00
Jens Arnold
fe1ce9d842
Hotswap: Better placement for switching the MMC monitor off/on.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6480 a1c6a512-1295-4272-9138-f99709370657
2005-05-16 15:21:09 +00:00
Jens Arnold
15d7077c3a
Hotswap: Avoid mount race at startup and after returning from USB mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6479 a1c6a512-1295-4272-9138-f99709370657
2005-05-16 13:25:02 +00:00
Jens Arnold
268f0b4337
Some code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6471 a1c6a512-1295-4272-9138-f99709370657
2005-05-14 17:23:13 +00:00
Jens Arnold
6b16d0e817
Fix simulator and iriver builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6464 a1c6a512-1295-4272-9138-f99709370657
2005-05-13 00:53:33 +00:00
Jens Arnold
03d08ecc25
(1) Wait for the MAS to run out of buffered data on fade out. Fixes bug #778930/#1189756. (2) Fade in/out from/to zero. (3) Always fade in 30 steps, independent of the global volume.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6463 a1c6a512-1295-4272-9138-f99709370657
2005-05-13 00:16:14 +00:00
Jens Arnold
97599d3e47
This should (hopefully) fix the long-standing RLD problem once and for all.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6452 a1c6a512-1295-4272-9138-f99709370657
2005-05-10 22:39:53 +00:00
Jens Arnold
bbf73dfaa7
Removed unused variable.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6445 a1c6a512-1295-4272-9138-f99709370657
2005-05-08 22:44:26 +00:00
Michiel Van Der Kolk
70e25fe72a
undo >.>;
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6438 a1c6a512-1295-4272-9138-f99709370657
2005-05-08 16:21:57 +00:00
Michiel Van Der Kolk
e59a383da3
Argh! this is driving meh crazy.
...
On iriver, BUTTON_PLAY = BUTTON_ON. yushyush.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6437 a1c6a512-1295-4272-9138-f99709370657
2005-05-08 16:03:40 +00:00
Jens Arnold
a559cf2e39
Disabled unused constants.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6431 a1c6a512-1295-4272-9138-f99709370657
2005-05-08 13:41:24 +00:00
Jens Arnold
642ac35940
More dead code...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6430 a1c6a512-1295-4272-9138-f99709370657
2005-05-08 13:24:30 +00:00
Jens Arnold
ba4df32100
Removed more dead code; bugfix for cursor display in player simulator.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6429 a1c6a512-1295-4272-9138-f99709370657
2005-05-08 13:03:57 +00:00
Jens Arnold
2629071b25
More dead code...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6428 a1c6a512-1295-4272-9138-f99709370657
2005-05-08 12:56:48 +00:00
Daniel Stenberg
b8a23f9e49
Fixed makefiles for autoconf.g include.
...
Fixed build output look in several Makefiles
Fixed code to include autoconf.h
Fixed code to use ROCKBOX_*_ENDIAN instead of previous attempts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6421 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 22:41:17 +00:00
Jens Arnold
c42a1a05bb
Moved unrelated stuff from i2c the driver to appropriate places. Minor optimisation in i2c driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6419 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 22:29:35 +00:00
Jens Arnold
a552ec298e
Unused variable.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6414 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 01:58:22 +00:00
Jens Arnold
b4861738c9
Bugfix: debug_fm_detection was defined twice. Removed it, since it only had a meaning for the Samsung tuner chip and is thus no longer needed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6411 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 01:09:09 +00:00
Jens Arnold
251deaa4ca
Improved bitfield handling for settings and MMC (more straigtforward, smaller code). This switches the order for fields crossing a longword boundary, so the config block version bump is necessary. Save your settings to a file before upgrading.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6404 a1c6a512-1295-4272-9138-f99709370657
2005-05-04 22:30:36 +00:00
Jens Arnold
116e4646b0
Proper 'battery level dangerous' handling for Ondio. Moved this info into an array, and removed unused #defines.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6403 a1c6a512-1295-4272-9138-f99709370657
2005-05-04 16:18:09 +00:00
Linus Nielsen Feltzing
f64b52ae38
Oops
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6402 a1c6a512-1295-4272-9138-f99709370657
2005-05-04 05:37:12 +00:00
Jens Arnold
1ba26b8a60
MMC driver: More flexible background copy & bitswap concept, using global variables - slightly less read latency when both partial and full blocks are involved. Some code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6393 a1c6a512-1295-4272-9138-f99709370657
2005-05-02 00:33:01 +00:00
Jens Arnold
74875ef37e
Speed optimisations: (1) Read, write: Use single/multiple block commands depending on the block count. (2) Write: Combine first partial sector transfer (after caching) & main loop into one block-transfer sequence.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6381 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 20:47:55 +00:00
Jens Arnold
a7f7781dca
MMC driver does now handle block sizes != 512 bytes, which is necessary to support cards > 1 GB. Changed error handling to use the same method as other parts of rockbox, allowing to trace the call chain. Long policy, code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6366 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 01:11:21 +00:00
Jens Arnold
fd83f521a9
Adding entries to the FAT16 root dir still failed under certain conditions. The shortcut check cannot work the way it was implemented - removed it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6363 a1c6a512-1295-4272-9138-f99709370657
2005-04-27 01:23:31 +00:00
Christian Gmeiner
7d9848186e
iRiver: extended remote lcd driver. displaying text works now - see start-up-screen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6355 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 23:47:51 +00:00
Jens Arnold
e4e1f2c0dd
create_dos_name() return value was meaningless.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6333 a1c6a512-1295-4272-9138-f99709370657
2005-04-23 13:15:25 +00:00
Jens Arnold
a07c73532c
Bugfixes: (1) add_dir_entry() always appended new entries, although the code intended to reuse deleted entries. New code reuses deleted entries whenever possible. (2) If the code could not extend the dir to append new entries (FAT16 root dir or disk full), it failed because of (1). (3) Even if reuse had worked, it would never have reused entry 0. (4) Shortname char 0xE5->0x05 replacement to avoid treatment as free entry was done for all chars although it should only be done for the first. The 0x05->0xE5 replacement on read was missing altogether. (5) Obey directory size limit (65536 entries == 2 MB). Improvements: (1) The (undocumented) flags used by WinNT derivates to store the case of a shortname's name and extension part are now supported for reading. (2) smaller code size.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6332 a1c6a512-1295-4272-9138-f99709370657
2005-04-22 22:26:13 +00:00
Jens Arnold
b5a507bbdc
Small fix for compilation under GCC4. Note: It still doesn't even fully compile for SH1, and coldfire builds are reported to crash, so ymmv.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6331 a1c6a512-1295-4272-9138-f99709370657
2005-04-22 19:34:01 +00:00
Jörg Hohensohn
9418e92eea
typo (ok, my commits get trivial)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6330 a1c6a512-1295-4272-9138-f99709370657
2005-04-22 19:18:01 +00:00
Linus Nielsen Feltzing
1c40d3cee5
Ooops. DRAM can't start at 0x30000000 on iRiver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6325 a1c6a512-1295-4272-9138-f99709370657
2005-04-20 06:48:17 +00:00
Christian Gmeiner
c3d0a229cc
make use of font_getstringsize
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6322 a1c6a512-1295-4272-9138-f99709370657
2005-04-19 12:50:02 +00:00
Christian Gmeiner
c6ec0f48a5
moved lcd_getstringsize into font.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6321 a1c6a512-1295-4272-9138-f99709370657
2005-04-19 12:47:16 +00:00
Christian Gmeiner
ed0c8764c4
iRiver: added support for hold-button on main unit and remote control
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6320 a1c6a512-1295-4272-9138-f99709370657
2005-04-19 11:34:22 +00:00
Jens Arnold
a02567db9e
64 sectors are 64 sectors...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6313 a1c6a512-1295-4272-9138-f99709370657
2005-04-18 18:48:13 +00:00
Björn Stenberg
ae2bf7ab72
Display return code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6312 a1c6a512-1295-4272-9138-f99709370657
2005-04-18 14:32:21 +00:00
Björn Stenberg
8776fc0ab8
rename() requires path on destination name now
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6311 a1c6a512-1295-4272-9138-f99709370657
2005-04-18 14:31:24 +00:00
Björn Stenberg
4d1757b042
Don't create /dir in buildimage
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6310 a1c6a512-1295-4272-9138-f99709370657
2005-04-18 14:22:49 +00:00
Björn Stenberg
b99551d1be
FAT test case builds again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6309 a1c6a512-1295-4272-9138-f99709370657
2005-04-18 14:16:35 +00:00
Linus Nielsen Feltzing
70ad08ccab
iRiver: Correct port pin setup for the local and remote keypad
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6308 a1c6a512-1295-4272-9138-f99709370657
2005-04-18 12:56:19 +00:00
Linus Nielsen Feltzing
19631f4552
iRiver: Independent backlight timers for the main and remote LCD
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6303 a1c6a512-1295-4272-9138-f99709370657
2005-04-15 16:16:26 +00:00
Christian Gmeiner
21aa3b135d
IRiver: show logo on startup at remote lcd
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6302 a1c6a512-1295-4272-9138-f99709370657
2005-04-15 14:34:58 +00:00
Christian Gmeiner
cf2b821a7a
IRiver: added remote backlight handling into backlight thread
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6299 a1c6a512-1295-4272-9138-f99709370657
2005-04-15 13:51:19 +00:00
Christian Gmeiner
d0a94912bd
corrected copyright infos
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6296 a1c6a512-1295-4272-9138-f99709370657
2005-04-15 12:58:01 +00:00
Christian Gmeiner
c63430e935
IRiver: extended plugin api with current remote lcd functions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6295 a1c6a512-1295-4272-9138-f99709370657
2005-04-15 12:55:31 +00:00
Linus Nielsen Feltzing
7e01562114
Some code policing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6294 a1c6a512-1295-4272-9138-f99709370657
2005-04-15 12:37:54 +00:00
Christian Gmeiner
394c2d9199
compile fix
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6293 a1c6a512-1295-4272-9138-f99709370657
2005-04-15 12:36:03 +00:00
Christian Gmeiner
7c1879bdd0
IRiver: (1)Setting some remote lcd settings via menu (2) added driver to main.c (3) updated english.lang
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6291 a1c6a512-1295-4272-9138-f99709370657
2005-04-15 12:08:49 +00:00
Linus Nielsen Feltzing
a6a01903e6
Even more updates to the remote LCD driver. Now it actually works...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6290 a1c6a512-1295-4272-9138-f99709370657
2005-04-15 09:42:12 +00:00
Christian Gmeiner
d1e89d6080
IRiver: some defines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6289 a1c6a512-1295-4272-9138-f99709370657
2005-04-15 08:21:03 +00:00