summaryrefslogtreecommitdiff
path: root/firmware/drivers
AgeCommit message (Collapse)Author
2005-11-09A couple of fixes for Nanos.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7803 a1c6a512-1295-4272-9138-f99709370657
2005-11-08Quick fix to make the h300 build workLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7796 a1c6a512-1295-4272-9138-f99709370657
2005-11-08H1x0: Assembler optimised remote lcd driver routine, used for low CPU ↵Jens Arnold
frequencies, e.g. during radio operation. Reduces the scroll lag when using the radio preset list with the remote plugged. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7791 a1c6a512-1295-4272-9138-f99709370657
2005-11-08Remove #warning left over from debugging. Sorry about that.Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7790 a1c6a512-1295-4272-9138-f99709370657
2005-11-08Fixed the bug in ata.c preventing files from being read correctly.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7789 a1c6a512-1295-4272-9138-f99709370657
2005-11-07Removed unused ata_standby(), changed return type of ata_sleep() to void, ↵Jens Arnold
removed misleading comment from ata.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7782 a1c6a512-1295-4272-9138-f99709370657
2005-11-07Initial commit of work-in-progress iPod portDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7781 a1c6a512-1295-4272-9138-f99709370657
2005-11-07Enable bidirectional text support for remote lcd.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7774 a1c6a512-1295-4272-9138-f99709370657
2005-11-06The const police strikes and hits itself.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7772 a1c6a512-1295-4272-9138-f99709370657
2005-11-06Set remote LCD invert state in a clean way.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7760 a1c6a512-1295-4272-9138-f99709370657
2005-10-19Two new sections for IRAM usage: .irodata (selectable with the ICONST_ATTR ↵Jens Arnold
attribute macro), allowing to put 'const' data into IRAM without causing a section type conflict, and .ibss (selectable with the IBSS_ATTR attribute macro) for uninitialised data. * Rockbox core: Adjusted the linker scripts and init code to not include the .ibss section in the binary, it is cleared instead. Saves ~500 bytes on archos and ~30KB on iriver. Codecs and plugins don't handle .ibss in a special way yet. * The init code properly handles empty sections now (except .stack, which should never be empty). * Unified the init code for SH1 and coldfire a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7644 a1c6a512-1295-4272-9138-f99709370657
2005-10-13Fixed non-working treble & bass settings in radio mode.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7625 a1c6a512-1295-4272-9138-f99709370657
2005-10-06Cosmetic correction (doesn't affect compiled code) - use letohNN instead of ↵Dave Chapman
htoleNN in update_fat_entry() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7586 a1c6a512-1295-4272-9138-f99709370657
2005-10-06Replace SWAB16 and SWAB32 with a comprehensive set of byte-swap macros - ↵Dave Chapman
letoh16, letoh32, htole16, htole32, betoh16, betoh32, htobe16 and htobe32 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7584 a1c6a512-1295-4272-9138-f99709370657
2005-09-30Ooops, forgot to fix that comment.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7572 a1c6a512-1295-4272-9138-f99709370657
2005-09-30H1x0: Changed lcd_blit() and the grayscale library to use the same internal ↵Jens Arnold
format as on archos (1bpp). While the slowdown of the ISR is minimal (the intermediate buffers are in IRAM), the planar grayscale buffer takes only half the space for a given depth, and gray_update[_rect]() and unbuffered drawing/scrolling are faster because less data needs to be moved. It should also make porting of video.rock somewhat easier. * Archos recorders, Ondios: Some slight optimisations of the grayscale library. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7571 a1c6a512-1295-4272-9138-f99709370657
2005-09-24H1x0 radio: Fixed the volume changing issue with non-flat tone controls.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7554 a1c6a512-1295-4272-9138-f99709370657
2005-09-22Reverse previous commit - it had uneffected side-effects.Jonas Häggqvist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7546 a1c6a512-1295-4272-9138-f99709370657
2005-09-22Fix to remote-hold check by Stephan Wezel - it always returned true when the ↵Jonas Häggqvist
remote wasn't present. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7538 a1c6a512-1295-4272-9138-f99709370657
2005-09-14The power thread now monitors the shutdown process and forces a poweroff if ↵Linus Nielsen Feltzing
it takes more than 8 seconds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7517 a1c6a512-1295-4272-9138-f99709370657
2005-09-12Safety net for devices with no hardware poweroff mechanism - hold STOP for ↵Linus Nielsen Feltzing
several seconds to force a poweroff if the normal shutdown fails git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7512 a1c6a512-1295-4272-9138-f99709370657
2005-09-07Adds a filename sanity check to add_dir_entry that at the moment only checks ↵Jonas Häggqvist
for names ending in a period, but can easily be extended. Changes the error codes for add_dir_entry. Fixes bug #782248. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7487 a1c6a512-1295-4272-9138-f99709370657
2005-09-06For targets without an RTC, use the rockbox build date as the start date in ↵Jens Arnold
the FAT driver. No more 2003-08-01 files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7478 a1c6a512-1295-4272-9138-f99709370657
2005-08-29Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and ↵Jens Arnold
SWCODEC, respectively. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-28iRiver: Reduced pops from the line out connector.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7411 a1c6a512-1295-4272-9138-f99709370657
2005-08-13CONFIG_TUNER is a bitmaskLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7321 a1c6a512-1295-4272-9138-f99709370657
2005-08-13The iriver FM radio I2C cannot use the I2C controller, so we do the good old ↵Linus Nielsen Feltzing
bitbanging instead git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7316 a1c6a512-1295-4272-9138-f99709370657
2005-08-11iriver: Moved the I2C prescaler setting to i2c_init(), and removed it from ↵Linus Nielsen Feltzing
set_cpu_frequency(). The Coldfire I2C controller can't handle on-the-fly prescaler changes. Also removed the unnecessary slave address setting in i2c_init. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7304 a1c6a512-1295-4272-9138-f99709370657
2005-08-08Patch #783877 by Gadi Cohen updated by Naftali Goldstein - Bidirectional ↵Linus Nielsen Feltzing
text support for Hebrew and Arabic git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7292 a1c6a512-1295-4272-9138-f99709370657
2005-08-06iAudio: First unfinished attempt for tlv320 driver and rockbox integrationChristian Gmeiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7286 a1c6a512-1295-4272-9138-f99709370657
2005-07-31oops... fixes red buildChristian Gmeiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7272 a1c6a512-1295-4272-9138-f99709370657
2005-07-31iAudio, iRiver: As both platforms use the same i2c interface i have renamed ↵Christian Gmeiner
i2c-h100.c/h to i2c-coldfire.c/h. Also i have changed some stuff in config.h and config-xx.h. Hope everybody agrees with this patch, else we can unroll and improve it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7271 a1c6a512-1295-4272-9138-f99709370657
2005-07-28Fixed scroll step settings >127 pixels not working (reported on irc). ↵Jens Arnold
Changed some other LCD driver variables to the natural 'int', cuts down binary size on coldfire a bit. Cleaned up some more settings bits. Bumped config block version, so save your settings to a file before upgrading. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7247 a1c6a512-1295-4272-9138-f99709370657
2005-07-19iriver: let the boot loader decide when to power on the hard driveLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7191 a1c6a512-1295-4272-9138-f99709370657
2005-07-16Fixed lcd_blit().Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7170 a1c6a512-1295-4272-9138-f99709370657
2005-07-14Greyscale graphics driver: Added missing function.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7141 a1c6a512-1295-4272-9138-f99709370657
2005-07-12More atomic GPIOLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7123 a1c6a512-1295-4272-9138-f99709370657
2005-07-12Atomic GPIO accessLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7114 a1c6a512-1295-4272-9138-f99709370657
2005-07-12added uda1380_reset()Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7112 a1c6a512-1295-4272-9138-f99709370657
2005-07-12Inverted S/PDIF control on H110Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7111 a1c6a512-1295-4272-9138-f99709370657
2005-07-08Removed the XYZ_PIXEL() macros. They are no longer needed, and they did only ↵Jens Arnold
work correctly for b&w. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7074 a1c6a512-1295-4272-9138-f99709370657
2005-07-07Enabled scrolling on the remote LCD in the simulator. Some small shortcuts ↵Jens Arnold
in the H1x0 remote LCD driver and the recorder LCD driver. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7057 a1c6a512-1295-4272-9138-f99709370657
2005-07-064-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and ↵Jens Arnold
light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-07-04Converted to use the IRAM defines, and some small optimisations.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7007 a1c6a512-1295-4272-9138-f99709370657
2005-07-03Fixed pops when starting playback.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6993 a1c6a512-1295-4272-9138-f99709370657
2005-07-03Use the central IDATA_ATTR define.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6992 a1c6a512-1295-4272-9138-f99709370657
2005-07-02Iriver: atomic I/O port manipulation macros, to avoid interference between ↵Jens Arnold
normal and interrupt code. Todo: all other places that do port manipulation on ports which may also be changed from an intterupt should use that as well. It even decreases binary size a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6985 a1c6a512-1295-4272-9138-f99709370657
2005-07-02A couple of optimisations.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6981 a1c6a512-1295-4272-9138-f99709370657
2005-07-01Fixed pops from headphone audio output.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6977 a1c6a512-1295-4272-9138-f99709370657
2005-07-01Check for features, not for models.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6966 a1c6a512-1295-4272-9138-f99709370657