Commit graph

749 commits

Author SHA1 Message Date
Jens Arnold
969b246f76 Corrected placement of parentheses.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6624 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 22:40:57 +00:00
Tomas Salfischberger
70fca2f6fc Oops! Compile error on ondio and gmini... fixed now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6620 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 18:01:14 +00:00
Tomas Salfischberger
5b338bd8a7 Bugfix: It was impossible to shut the iriver down with the remote.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6619 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 17:10:27 +00:00
Tomas Salfischberger
d23cec298d Killed a warning :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6616 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 16:08:38 +00:00
Tomas Salfischberger
6c999a9b53 More optimized fix (doing GPIO1_READ just once)
Formatting as amiconn wanted :)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6615 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 15:55:19 +00:00
Tomas Salfischberger
1e5ff8ad0a Fixed bug, the remote play/pause button (BUTTON_RC_ON) worked with hold on.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6614 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 15:49:21 +00:00
Linus Nielsen Feltzing
ead61c1d18 Slightly better error handling in the iRiver I2C driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6607 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 11:47:16 +00:00
Jens Arnold
1cae074668 HD power must not default to off in rockbox itself, only in the bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6569 a1c6a512-1295-4272-9138-f99709370657
2005-06-04 23:42:02 +00:00
Jens Arnold
5690f78fb2 Multiple choice LED configuration instead of HAVE_LED. Removes erroneous MMC icon display on iriver, and saves some code on Ondio. Removed invert_led() as it is no longer used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6568 a1c6a512-1295-4272-9138-f99709370657
2005-06-04 23:15:52 +00:00
Linus Nielsen Feltzing
794220c116 iRiver: The hard drive power is now OFF by default
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6551 a1c6a512-1295-4272-9138-f99709370657
2005-06-02 21:40:52 +00:00
Linus Nielsen Feltzing
1c5374fe79 iRiver remote LCD start line adjustment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6546 a1c6a512-1295-4272-9138-f99709370657
2005-06-01 13:09:59 +00:00
Linus Nielsen Feltzing
88f3a53b7e iRiver remote LCD is only 128x64
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6542 a1c6a512-1295-4272-9138-f99709370657
2005-05-31 12:37:05 +00:00
Christian Gmeiner
d4c1464d15 some small fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6541 a1c6a512-1295-4272-9138-f99709370657
2005-05-31 09:03:42 +00:00
Daniel Stenberg
ac31e6af87 Remote LCD support added to the x11 simulator, take 1. The win32 simulator
still builds, but shows no remote LCD yet.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6510 a1c6a512-1295-4272-9138-f99709370657
2005-05-23 16:23:25 +00:00
Daniel Stenberg
13cad904ae if __CONFIG_H__ is defined, don't include config.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6507 a1c6a512-1295-4272-9138-f99709370657
2005-05-23 12:04:30 +00:00
Jens Arnold
8f1ace7525 Ondio: Fix multivolume and hotswap for the old MMC clock circuit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6502 a1c6a512-1295-4272-9138-f99709370657
2005-05-22 00:42:00 +00:00
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
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
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
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
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
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
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
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
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
Linus Nielsen Feltzing
769af0e3d7 Updated H100 remote LCD driver by Rick
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6288 a1c6a512-1295-4272-9138-f99709370657
2005-04-15 06:39:56 +00:00
Linus Nielsen Feltzing
14c7900383 Low-level driver for the H100 remote control LCD, by Richard S. La Charite III
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6283 a1c6a512-1295-4272-9138-f99709370657
2005-04-14 11:40:41 +00:00
Linus Nielsen Feltzing
81bd369288 Wrong setting of AUDIOSEL caused double pitch 120MHz playback
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6282 a1c6a512-1295-4272-9138-f99709370657
2005-04-14 05:56:36 +00:00
Linus Nielsen Feltzing
e6bc6c4829 iRiver: Implemented S/PDIF transmit power control. The optical LED is now off by default.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6268 a1c6a512-1295-4272-9138-f99709370657
2005-04-11 11:17:31 +00:00
Linus Nielsen Feltzing
43bf39edb7 First lame attempt to show correct battery level on the iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6258 a1c6a512-1295-4272-9138-f99709370657
2005-04-06 23:53:19 +00:00
Linus Nielsen Feltzing
68482bbed2 Patch #868645 by Philipp Pertermann, volume triggered recording for the Archos recording devices
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6243 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 09:12:12 +00:00
Michiel Van Der Kolk
451dd48adc Sound api improvements, rockboy sound, contributed by xshock.
Playback of sound currently only works in boost mode, needs fixing.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6226 a1c6a512-1295-4272-9138-f99709370657
2005-03-28 00:00:24 +00:00
Linus Nielsen Feltzing
a79cb485b6 iRiver: ATA timing is now setup by set_cpu_frequency()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6207 a1c6a512-1295-4272-9138-f99709370657
2005-03-18 11:37:33 +00:00
Linus Nielsen Feltzing
c11aa538bd Dummy i2c_init() for iRiver not needed anymore
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6205 a1c6a512-1295-4272-9138-f99709370657
2005-03-18 11:35:52 +00:00
Linus Nielsen Feltzing
b8577dd582 iRiver UDA1380 driver by Andy Young
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6204 a1c6a512-1295-4272-9138-f99709370657
2005-03-18 11:35:11 +00:00