Linus Nielsen Feltzing
a4b15a4f1f
H300 FM radio support, with help from Peter D'Hoye
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8237 a1c6a512-1295-4272-9138-f99709370657
2005-12-15 01:11:19 +00:00
Dave Chapman
e066a20b67
iPod: Cleanup of i2c code and addition of RTC driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8219 a1c6a512-1295-4272-9138-f99709370657
2005-12-11 10:52:17 +00:00
Dave Chapman
790b365595
Reworking of Archos RTC code to create a (slightly) more abstract RTC api
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8216 a1c6a512-1295-4272-9138-f99709370657
2005-12-11 00:47:40 +00:00
Linus Nielsen Feltzing
6ddfac0806
Patch #1377879 by Anders Kagerin - faster lcd_update_rect() for h300
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8215 a1c6a512-1295-4272-9138-f99709370657
2005-12-11 00:30:15 +00:00
Linus Nielsen Feltzing
a4ef8e0a6f
PCF50606 I2C timing is now more on spec
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8207 a1c6a512-1295-4272-9138-f99709370657
2005-12-09 00:40:51 +00:00
Marcoen Hirschberg
b0fee17d6e
waiting is over: initial unicode commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8169 a1c6a512-1295-4272-9138-f99709370657
2005-12-06 13:27:15 +00:00
Dave Chapman
8c800cf59a
Replace references to HAVE_RTC with CONFIG_RTC and remove the HAVE_RTC defines from config-*.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8147 a1c6a512-1295-4272-9138-f99709370657
2005-12-04 15:23:47 +00:00
Marcoen Hirschberg
40d22093c0
revert scroll pause in continuous scrolling mode
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8115 a1c6a512-1295-4272-9138-f99709370657
2005-11-30 15:37:48 +00:00
Marcoen Hirschberg
ad31ad4d1c
add a delay when continually scrolling and reaching the beginning of the line
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8114 a1c6a512-1295-4272-9138-f99709370657
2005-11-30 14:48:24 +00:00
Jens Arnold
1d6eeea1e1
16bit LCD driver: faster drawing routines.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8098 a1c6a512-1295-4272-9138-f99709370657
2005-11-28 10:05:45 +00:00
Linus Nielsen Feltzing
e5ce01f056
Proper UDA1380 reset for H300
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8075 a1c6a512-1295-4272-9138-f99709370657
2005-11-27 01:10:02 +00:00
Dave Chapman
1946922c61
iPod: Fix the lcd_update_rect() function for the Color LCD, ensure rect is word-aligned and minor cosmetic cleanup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8066 a1c6a512-1295-4272-9138-f99709370657
2005-11-25 23:11:01 +00:00
Daniel Stenberg
1a29cfb23e
Initial gcc4 warning cleanup (and some minor policing)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8063 a1c6a512-1295-4272-9138-f99709370657
2005-11-25 00:10:12 +00:00
Jens Arnold
8790056691
Fixed yellow iPod builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8062 a1c6a512-1295-4272-9138-f99709370657
2005-11-24 00:51:57 +00:00
Jens Arnold
548755adf1
Fixed disk icon display in remote status bar on iriver. * Rolled back led.c changes, introducing a changed #if condition only. Reduces code size on targets with real controllable LED.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8059 a1c6a512-1295-4272-9138-f99709370657
2005-11-24 00:10:14 +00:00
Magnus Holmgren
33289d090f
fix yellow builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8058 a1c6a512-1295-4272-9138-f99709370657
2005-11-23 22:34:11 +00:00
Magnus Holmgren
a04b1d418d
iriver: only show remote lock icon if remote is locked and plugged.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8057 a1c6a512-1295-4272-9138-f99709370657
2005-11-23 21:50:09 +00:00
Jens Arnold
a6d409d9db
Replaced the booolean 'Backlight On When Plugged' setting with a complete alternative 'Backlight When Plugged' timeout setting. * Yield during poweroff to make backlight_off() work. * Bumped config version, save your settings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8053 a1c6a512-1295-4272-9138-f99709370657
2005-11-23 20:12:33 +00:00
Jens Arnold
d726592900
Some minor tweaks for iriver button_read()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8049 a1c6a512-1295-4272-9138-f99709370657
2005-11-23 01:01:25 +00:00
Jens Arnold
b51f7dfc9b
Backlight handling: * Added 'Caption Backlight' and 'Backlight On When Charging' for the iriver remote LCD. * Enabled the backlight code for the simulator, and prepared backlight simulation. It's only a stub atm, writing messages to the console window. * Added tick task handling to the simulators for this to work. * Code cleanup in backlight.c, less dead code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8034 a1c6a512-1295-4272-9138-f99709370657
2005-11-21 23:55:39 +00:00
Dave Chapman
d60aac9243
iPod: We are not going to implement ATA power-off control (Rockbox will still use the ATA hardware's power handling)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8031 a1c6a512-1295-4272-9138-f99709370657
2005-11-21 22:44:15 +00:00
Linus Nielsen Feltzing
dcb8df5180
Added proper clock-stretching to the pcf50606 I2C driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8018 a1c6a512-1295-4272-9138-f99709370657
2005-11-21 02:13:14 +00:00
Kevin Ferrare
1a1abf25f4
removed old statusbar and buttonbar code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8004 a1c6a512-1295-4272-9138-f99709370657
2005-11-20 01:02:14 +00:00
Anton Oleynikov
c94557e0b9
refactored radio status code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7999 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 19:23:44 +00:00
Dave Chapman
fbfb7db4b7
Correct typo that prevented Nano from building
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7990 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 11:30:49 +00:00
Miika Pekkarinen
93d8ca53c3
Fixed the simulator builds and added HAVE_REMOTE_LCD_TICKING define.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7987 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 09:26:02 +00:00
Miika Pekkarinen
05fdb1ad30
Added option to reduce (and almost prevent) the remote lcd ticking
...
problem with a cost slightly more CPU usage.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7985 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 07:58:20 +00:00
Dave Chapman
97df7cacea
Fix button problems - disable button_flip for the iPod and disable software poweroff
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7981 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 02:26:54 +00:00
Linus Nielsen Feltzing
b4984492ef
H300: remote backlight on GPO33
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7973 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 01:09:38 +00:00
Linus Nielsen Feltzing
bd0d12c43e
H300: The FM tuner uses different port pins
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7963 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 14:33:06 +00:00
Linus Nielsen Feltzing
64d9ee70c2
H300: power_init() adjustments
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7962 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 14:21:08 +00:00
Linus Nielsen Feltzing
f4c2b96daa
H300 has no ATA LED
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7961 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 14:06:50 +00:00
Jens Arnold
6a5cc3a767
16bit LCD driver: Optimised native bitmap drawing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7929 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 18:33:50 +00:00
Dave Chapman
a436a7497d
Minor cleaning of the iPod LCD driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7927 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 10:00:27 +00:00
Jens Arnold
5236ca9886
Moved some often-used parts of the LCD driver into IRAM.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7921 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 00:37:16 +00:00
Linus Nielsen Feltzing
73a35a1aa4
Reverted erroneous commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7918 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 23:42:19 +00:00
Linus Nielsen Feltzing
df0e5effc5
Cleaned up bootloader linker control file and added the H300 target
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7916 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 23:15:59 +00:00
Jens Arnold
5b2cba17aa
Changed the LCD_COLOR pixel value format to packed RGB (unsigned int). Now all LCDs with depth > 1 use the same datatype. Added macros for easy pixel value definition.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7912 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 21:09:23 +00:00
Linus Nielsen Feltzing
76b75efa06
H300 button driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7908 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 14:26:18 +00:00
Linus Nielsen Feltzing
91c4873253
H300: ADC driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7906 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 13:28:10 +00:00
Linus Nielsen Feltzing
ffe0b23902
Added single-byte read/write functions for the PCF50606 driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7905 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 13:27:07 +00:00
Jens Arnold
5d8c1529a7
16bit LCD driver: * The colour get/set functions now use the native ranges for red/green/blue as intended. * Fixed lcd_fillrect(). * Properly working lcd_mono_bitmap_part(). * Implemented lcd_bitmap_part(). * Some optimisations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7900 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 01:41:46 +00:00
Jens Arnold
3be6cf1574
16bit colour support (H300) for the win32 simulator.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7898 a1c6a512-1295-4272-9138-f99709370657
2005-11-15 23:37:21 +00:00
Dave Chapman
c267866675
Small optimisation to the lcd_update_rect function - read the framebuffer data as a 32-bit word
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7895 a1c6a512-1295-4272-9138-f99709370657
2005-11-15 15:37:00 +00:00
Dave Chapman
1a316d655b
Ensure the 16-bit framebuffer is aligned on a 4-byte boundary
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7894 a1c6a512-1295-4272-9138-f99709370657
2005-11-15 15:37:00 +00:00
Dave Chapman
f5aebf7848
Fixes for new 16-bit framebuffer type
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7883 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 21:54:23 +00:00
Dave Chapman
ae7c55c12c
Fix compile error on iPod build - RGB_PACK resolves to a function on the iPod, so can't be used in an initialiser.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7882 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 21:54:16 +00:00
Linus Nielsen Feltzing
b6c0f95960
Added pcf50606 init
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7881 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 20:49:21 +00:00
Linus Nielsen Feltzing
63dc8c14b0
The 16-bit LCD driver is now 16-bit for real
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7880 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 20:48:34 +00:00
Linus Nielsen Feltzing
dbc8c2c14c
First version of the H300 LCD driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7875 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 20:41:49 +00:00
Linus Nielsen Feltzing
3b0e8f89ab
H300: First lame attempt to a pcf50606 driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7873 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 19:50:16 +00:00
Linus Nielsen Feltzing
85559de7d9
No assembler LCD driver yet for H300
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7867 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 15:41:04 +00:00
Dave Chapman
622f9334db
Use ICODE_ATTR instead of __attribute__ ((section(".icode")))
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7820 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 14:48:52 +00:00
Andy
e6e5496535
iRiver: Initial support for wav-recording in recording menu. Supports mic/line-in (and radio), monitor mode, time-splitting (and byte-splitting), pause/resume etc. Things todo: Prerecording, peakmeter (should be simple), frequency other than 44.1 kHz, etc..
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7818 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 04:00:56 +00:00
Dave Chapman
d31a32c501
iPod: Code cleanup - the bootloader now compiles with zero warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7812 a1c6a512-1295-4272-9138-f99709370657
2005-11-11 17:51:35 +00:00
Thom Johansen
94c67365aa
I meant that to be static.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7808 a1c6a512-1295-4272-9138-f99709370657
2005-11-10 01:27:56 +00:00
Thom Johansen
2fce981722
Moved all iPod specific code from lcd-16bit.c to lcd-ipod.c.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7807 a1c6a512-1295-4272-9138-f99709370657
2005-11-10 01:08:09 +00:00
Jens Arnold
bfe28d9ecc
H1x0: Put lcd_blit() intermediate buffers in IRAM instead of the current thread stack. Speeds up the grayscale library.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7806 a1c6a512-1295-4272-9138-f99709370657
2005-11-09 23:24:33 +00:00
Thom Johansen
c83216ad89
Fix #define names.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7804 a1c6a512-1295-4272-9138-f99709370657
2005-11-09 18:00:46 +00:00
Thom Johansen
8c75c4a763
A couple of fixes for Nanos.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7803 a1c6a512-1295-4272-9138-f99709370657
2005-11-09 17:54:31 +00:00
Linus Nielsen Feltzing
d903733809
Quick fix to make the h300 build work
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7796 a1c6a512-1295-4272-9138-f99709370657
2005-11-08 23:32:59 +00:00
Jens Arnold
6da4e33aac
H1x0: Assembler optimised remote lcd driver routine, used for low CPU 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-08 22:46:31 +00:00
Dave Chapman
64c4f19811
Remove #warning left over from debugging. Sorry about that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7790 a1c6a512-1295-4272-9138-f99709370657
2005-11-08 12:10:37 +00:00
Miika Pekkarinen
f6c8058695
Fixed the bug in ata.c preventing files from being read correctly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7789 a1c6a512-1295-4272-9138-f99709370657
2005-11-08 11:41:56 +00:00
Jens Arnold
a8c1c20305
Removed unused ata_standby(), changed return type of ata_sleep() to void, removed misleading comment from ata.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7782 a1c6a512-1295-4272-9138-f99709370657
2005-11-07 23:19:06 +00:00
Dave Chapman
77372d1218
Initial commit of work-in-progress iPod port
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7781 a1c6a512-1295-4272-9138-f99709370657
2005-11-07 23:07:19 +00:00
Jens Arnold
4ab919e5d8
Enable bidirectional text support for remote lcd.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7774 a1c6a512-1295-4272-9138-f99709370657
2005-11-07 01:36:12 +00:00
Jens Arnold
71bc504e5f
The const police strikes and hits itself.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7772 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 23:49:29 +00:00
Jens Arnold
ec8f328d89
Set remote LCD invert state in a clean way.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7760 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 01:26:42 +00:00
Jens Arnold
abd9f83e92
Two new sections for IRAM usage: .irodata (selectable with the ICONST_ATTR 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-19 19:35:24 +00:00
Jens Arnold
f9cc638efd
Fixed non-working treble & bass settings in radio mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7625 a1c6a512-1295-4272-9138-f99709370657
2005-10-13 00:32:34 +00:00
Dave Chapman
207c9500aa
Cosmetic correction (doesn't affect compiled code) - use letohNN instead of htoleNN in update_fat_entry()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7586 a1c6a512-1295-4272-9138-f99709370657
2005-10-06 21:23:59 +00:00
Dave Chapman
9e19c95d8e
Replace SWAB16 and SWAB32 with a comprehensive set of byte-swap macros - 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-10-06 19:27:43 +00:00
Jens Arnold
a1de081a1b
Ooops, forgot to fix that comment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7572 a1c6a512-1295-4272-9138-f99709370657
2005-09-30 20:11:31 +00:00
Jens Arnold
1a40e10933
H1x0: Changed lcd_blit() and the grayscale library to use the same internal 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-30 20:10:27 +00:00
Jens Arnold
d7ad24ed39
H1x0 radio: Fixed the volume changing issue with non-flat tone controls.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7554 a1c6a512-1295-4272-9138-f99709370657
2005-09-24 09:42:55 +00:00
Jonas Häggqvist
8026f0fe05
Reverse previous commit - it had uneffected side-effects.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7546 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 21:38:22 +00:00
Jonas Häggqvist
aafb343d10
Fix to remote-hold check by Stephan Wezel - it always returned true when the remote wasn't present.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7538 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 11:31:40 +00:00
Linus Nielsen Feltzing
91216a5edc
The power thread now monitors the shutdown process and forces a poweroff if it takes more than 8 seconds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7517 a1c6a512-1295-4272-9138-f99709370657
2005-09-14 09:08:26 +00:00
Linus Nielsen Feltzing
7dec69dbce
Safety net for devices with no hardware poweroff mechanism - hold STOP for 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-12 11:03:14 +00:00
Jonas Häggqvist
98143f5291
Adds a filename sanity check to add_dir_entry that at the moment only checks 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-07 01:35:15 +00:00
Jens Arnold
b2964cad0c
For targets without an RTC, use the rockbox build date as the start date in 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-09-06 18:03:50 +00:00
Jens Arnold
d6c054575b
Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and SWCODEC, respectively.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-29 21:15:27 +00:00
Miika Pekkarinen
d7170b7542
iRiver: Reduced pops from the line out connector.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7411 a1c6a512-1295-4272-9138-f99709370657
2005-08-28 15:33:37 +00:00
Linus Nielsen Feltzing
53d2fc3c0a
CONFIG_TUNER is a bitmask
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7321 a1c6a512-1295-4272-9138-f99709370657
2005-08-13 18:13:56 +00:00
Linus Nielsen Feltzing
cc5d96f8a9
The iriver FM radio I2C cannot use the I2C controller, so we do the good old bitbanging instead
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7316 a1c6a512-1295-4272-9138-f99709370657
2005-08-13 17:32:15 +00:00
Linus Nielsen Feltzing
dc4a6b828e
iriver: Moved the I2C prescaler setting to i2c_init(), and removed it from 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-11 19:00:55 +00:00
Linus Nielsen Feltzing
41a53d2c1c
Patch #783877 by Gadi Cohen updated by Naftali Goldstein - Bidirectional text support for Hebrew and Arabic
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7292 a1c6a512-1295-4272-9138-f99709370657
2005-08-08 19:23:28 +00:00
Christian Gmeiner
14e80671af
iAudio: First unfinished attempt for tlv320 driver and rockbox integration
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7286 a1c6a512-1295-4272-9138-f99709370657
2005-08-06 10:12:19 +00:00
Christian Gmeiner
102faf473c
oops... fixes red build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7272 a1c6a512-1295-4272-9138-f99709370657
2005-07-31 17:52:55 +00:00
Christian Gmeiner
4894a06a15
iAudio, iRiver: As both platforms use the same i2c interface i have renamed 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-31 17:31:33 +00:00
Jens Arnold
05af28036e
Fixed scroll step settings >127 pixels not working (reported on irc). 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-28 08:36:24 +00:00
Linus Nielsen Feltzing
e8da7e6b15
iriver: let the boot loader decide when to power on the hard drive
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7191 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 07:04:40 +00:00
Jens Arnold
2ef8a8722d
Fixed lcd_blit().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7170 a1c6a512-1295-4272-9138-f99709370657
2005-07-16 02:09:22 +00:00
Jens Arnold
bf9f28b03b
Greyscale graphics driver: Added missing function.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7141 a1c6a512-1295-4272-9138-f99709370657
2005-07-14 18:11:36 +00:00
Linus Nielsen Feltzing
b3437ecbfe
More atomic GPIO
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7123 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 12:16:17 +00:00
Linus Nielsen Feltzing
192a604cd4
Atomic GPIO access
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7114 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 07:25:01 +00:00
Linus Nielsen Feltzing
3382abaf58
added uda1380_reset()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7112 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 05:25:03 +00:00
Linus Nielsen Feltzing
56fb177111
Inverted S/PDIF control on H110
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7111 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 04:53:14 +00:00
Jens Arnold
b5fc2530a7
Removed the XYZ_PIXEL() macros. They are no longer needed, and they did only work correctly for b&w.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7074 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 19:09:17 +00:00
Jens Arnold
3a5bd7acb6
Enabled scrolling on the remote LCD in the simulator. Some small shortcuts 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-07 21:03:58 +00:00
Jens Arnold
f894a4c269
4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and 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-06 22:58:02 +00:00
Jens Arnold
f89f011508
Converted to use the IRAM defines, and some small optimisations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7007 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 06:20:50 +00:00
Miika Pekkarinen
349f39a7f4
Fixed pops when starting playback.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6993 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 15:25:06 +00:00
Jens Arnold
bb3ed3cda9
Use the central IDATA_ATTR define.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6992 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 15:09:11 +00:00
Jens Arnold
a8cadd8181
Iriver: atomic I/O port manipulation macros, to avoid interference between 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-02 12:18:10 +00:00
Jens Arnold
3291ae6bfa
A couple of optimisations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6981 a1c6a512-1295-4272-9138-f99709370657
2005-07-02 07:21:21 +00:00
Miika Pekkarinen
45d6fa916c
Fixed pops from headphone audio output.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6977 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 21:23:07 +00:00
Jens Arnold
0ec97339ae
Check for features, not for models.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6966 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 16:22:56 +00:00
Daniel Stenberg
50264b243e
the h300 models have hold too
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6962 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 09:46:48 +00:00
Linus Nielsen Feltzing
8782bc8392
New config option for optical out on iriver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6960 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 09:42:39 +00:00
Marcoen Hirschberg
e02a1a534d
- enable S/PDIF optical output
...
- set the proper noise shape filter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6959 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 07:55:19 +00:00
Jens Arnold
a142d4d79f
Graphics: Lowlevel block function are in IRAM now as they're called often. Switched the masking logic for better readability. Draw modes and lowlevel function types are now defined for all platforms.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6952 a1c6a512-1295-4272-9138-f99709370657
2005-06-30 18:42:24 +00:00
Daniel Stenberg
e8e953f5d5
I believe this is more likely to reflect the h300 keypad
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6942 a1c6a512-1295-4272-9138-f99709370657
2005-06-30 10:27:29 +00:00
Jens Arnold
7f8cc3f1c6
Ooops...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6935 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 21:33:36 +00:00
Christi Scarborough
9e8918b086
Resume rework. With the new resume function, 'Ask' and 'Ask Once' are redundant options, since you can resume after any startup using the resume key. These have been stripped out, and the resume code has been streamlined. A small bug in button handler initialisation has been fixed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6911 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 12:23:09 +00:00
Jens Arnold
ce19ce00b7
Oops, that was no optimisation, but a bug.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6908 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 01:54:21 +00:00
Jens Arnold
576908d36a
Third part of graphics api rework. Some small but effective optimisations. Ported remote lcd driver to new api. Preparations for including the low-level functions in the plugin api.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6907 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 01:39:50 +00:00
Jens Arnold
7e11acbce9
Second part of graphics api rework. Bitmap drawing and text output converted; some code cleanup and more optimisations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
2005-06-28 23:15:47 +00:00
Jens Arnold
492424bce0
H1x0: Reordered lcd init sequence to match the datasheet, including the recommended pause.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6897 a1c6a512-1295-4272-9138-f99709370657
2005-06-27 19:28:55 +00:00
Jens Arnold
1224d578e8
Oops, the XYZ_PIXEL() macros are used elsewhere, so bring them back.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6860 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 01:06:24 +00:00
Jens Arnold
934941294b
Core functions taking advantage of the new, optimised lcd_hline() and lcd_vline() functions. Some cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6859 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 00:28:09 +00:00
Jens Arnold
24a1f94cd7
Fixed yellow FM builds, and changed the function type names according to the rockbox coding style.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6858 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 23:06:06 +00:00
Jens Arnold
04daef17a1
First part of graphics api rework. Special functions, parameter handling, pixel functions, lines and filled primitives done for black & white core, main display.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 22:33:21 +00:00
Christi Scarborough
7600708a7a
BUTTON_RC_VOL relabeled as BUTTON_RC_MODE for consistency with main unit. RC keymappings changed to be consistent with main unit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6853 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 13:19:16 +00:00
Jens Arnold
29b83559cc
Fixed a warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6847 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 17:48:46 +00:00
Jens Arnold
9cedf39430
Fix red builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6845 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 17:13:05 +00:00
Jens Arnold
6a556c1740
Preparations for implementing the new graphics api: Ordered lcd bitmap driver defines, variables and functions by function groups. Centralised some definitions, code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6844 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 16:53:54 +00:00
Jens Arnold
12a0e221de
iriver: Prescale the digital volume when boosting treble/bass by decreasing the mixer volume.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6770 a1c6a512-1295-4272-9138-f99709370657
2005-06-19 23:33:23 +00:00
Andy
e5d08722f8
Iriver: First attempt at recording. Use Info->Debug->PCM recording to test recording of wav-files. Seams to work fine except occasional 100 ms noise at pos 100 ms (not later) so initialization or synch problem..
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6763 a1c6a512-1295-4272-9138-f99709370657
2005-06-19 03:05:53 +00:00
Daniel Stenberg
33d4c33504
Made the (iriver) use of GPIO1 depend on the presense of a coldfire cpu instead
...
of comparing for exact player model. This assumption might not be correct, it
might been to check for some other hardware-specific feature.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6753 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 21:16:51 +00:00
Jens Arnold
4c7da88618
Iriver UDA1380 volume and balance handling is now done in sound.c, similar to archos player; removed pcm_set_volume(). Implemented a dB-linear scale. Sorted & bumped plugin api. Removed audio test from the debug menu.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6741 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 01:25:47 +00:00
Jens Arnold
bd1bb5f009
iriver: LCD flip for H1x0 remote, some code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6739 a1c6a512-1295-4272-9138-f99709370657
2005-06-17 21:43:00 +00:00
Jens Arnold
ba7dccf15a
Fixed graphical glitch occuring in flipped lcd mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6738 a1c6a512-1295-4272-9138-f99709370657
2005-06-17 20:02:05 +00:00
Linus Nielsen Feltzing
752c34c1a2
Proper handling of the UDA1380 RESET signal
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6737 a1c6a512-1295-4272-9138-f99709370657
2005-06-17 12:00:37 +00:00
Thom Johansen
a4a1a5523b
Let's actually take volume into account this time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6732 a1c6a512-1295-4272-9138-f99709370657
2005-06-16 21:42:37 +00:00
Thom Johansen
3828c7d982
Balance support for UDA1380 based players.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6730 a1c6a512-1295-4272-9138-f99709370657
2005-06-16 20:16:58 +00:00
Andy
3de5e74aba
uda1380: Added bass/treble and recording functions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6729 a1c6a512-1295-4272-9138-f99709370657
2005-06-16 00:04:47 +00:00
Miika Pekkarinen
6ab53ba458
Even more quiet audio initialization.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6705 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 07:54:09 +00:00
Marcoen Hirschberg
37f59a0f6f
- add Andy Young's patch to make sound init more quiet
...
- add myself to the credits at the spot of my first commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6704 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 00:15:16 +00:00
Jens Arnold
23797afb0b
Hot-plug support for iriver remote.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6625 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 22:48:23 +00:00
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
Linus Nielsen Feltzing
a3176e4d82
iRiver I2C driver by Andy Young
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6203 a1c6a512-1295-4272-9138-f99709370657
2005-03-18 11:34:26 +00:00
Jörg Hohensohn
3ea9aa4626
non-ambiguous error code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6192 a1c6a512-1295-4272-9138-f99709370657
2005-03-12 12:35:06 +00:00
Jörg Hohensohn
fe0e368d5c
Don't panic on read attempts past end of card, just exit with error. Such can happen when mounting superfloppy MMC, without valid partition table.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6179 a1c6a512-1295-4272-9138-f99709370657
2005-03-10 05:43:44 +00:00
Jean-Philippe Bernardy
d1c459c746
Little fix, when debug is disabled clusterchain length was incorrectly computed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6163 a1c6a512-1295-4272-9138-f99709370657
2005-03-07 14:38:30 +00:00
Linus Nielsen Feltzing
e734017e2f
iRiver: more relaxed LCD timing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6091 a1c6a512-1295-4272-9138-f99709370657
2005-03-01 14:32:17 +00:00
Linus Nielsen Feltzing
8444632da4
iRiver: more relaxed default timing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6090 a1c6a512-1295-4272-9138-f99709370657
2005-03-01 14:31:37 +00:00
Jean-Philippe Bernardy
06ded52f3c
long policy fixes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6082 a1c6a512-1295-4272-9138-f99709370657
2005-02-28 10:52:28 +00:00
Jean-Philippe Bernardy
a83214d16f
couple of fixes for 16 bits archs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6073 a1c6a512-1295-4272-9138-f99709370657
2005-02-27 20:44:26 +00:00
Jean-Philippe Bernardy
5da99ed570
long policy
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6071 a1c6a512-1295-4272-9138-f99709370657
2005-02-26 21:18:05 +00:00