Commit graph

3048 commits

Author SHA1 Message Date
Dave Chapman
71ee68e978 iPod 5G: Correctly implement mute when setting volume
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8863 a1c6a512-1295-4272-9138-f99709370657
2006-02-28 00:58:19 +00:00
Peter D'Hoye
55a7a5c060 Oops: clipping detection optimization broke pre-recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8861 a1c6a512-1295-4272-9138-f99709370657
2006-02-27 19:23:26 +00:00
Dave Chapman
285079138b Patch #3060 from Andrew Scott - iPod mini button driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8857 a1c6a512-1295-4272-9138-f99709370657
2006-02-27 12:35:05 +00:00
Linus Nielsen Feltzing
0bdf0c6342 Slight optimization of the X5 LCD driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8856 a1c6a512-1295-4272-9138-f99709370657
2006-02-27 08:48:12 +00:00
Linus Nielsen Feltzing
ef35080728 ATA power control on iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8855 a1c6a512-1295-4272-9138-f99709370657
2006-02-27 08:47:18 +00:00
Peter D'Hoye
a6b913fdfb Store recorded peak values in short; this should fix an issue where clipping wasn't always detected. Also removed an obsolete function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8852 a1c6a512-1295-4272-9138-f99709370657
2006-02-26 22:42:23 +00:00
Dave Chapman
a1e2a52e3e iPod 3G - small audio fixes, but it still isn't working.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8850 a1c6a512-1295-4272-9138-f99709370657
2006-02-26 20:29:29 +00:00
Dave Chapman
2f76763d73 iPod 3G - initial (completely untested) attempt at audio support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8847 a1c6a512-1295-4272-9138-f99709370657
2006-02-26 15:59:46 +00:00
Dave Chapman
603f87fe3c Foreground/Background colour settings. Based on patch #3050 by Jonathan Gordon, extended my me. The principle of the patch is that the three sliders contain the native ranges (currently 0..31, 0..63, 0..31), and the equivalent RGB888 colour is displayed underneath. The config block (and global_settings struct) contain the native value for the fg/bg colours (either RGB565 or RGB565SWAPPED), but the text .cfg files contain the RGB888 value written as 6 hex digits.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8840 a1c6a512-1295-4272-9138-f99709370657
2006-02-26 02:48:05 +00:00
Peter D'Hoye
9ace16f87f use all recorded samples for peak metering and clipping detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8837 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 22:28:57 +00:00
Dave Chapman
ac115693da Ooops. Fix warning in sims
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8836 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 21:09:34 +00:00
Dave Chapman
fb4e384367 More iPod 3G work from Seven Le Mesle
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8835 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 20:54:09 +00:00
Dave Chapman
6c2fafb98b Make pcm_playback.c compile for the iPod 3G - there is no playback implemented yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8833 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 19:02:55 +00:00
Marcoen Hirschberg
338e2bbb0c first gigabeat commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 15:42:52 +00:00
Linus Nielsen Feltzing
b902428180 Ooops. Forgot to remove some debug code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8830 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 15:40:55 +00:00
Linus Nielsen Feltzing
568ac3eb21 Button driver for iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8828 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 15:06:25 +00:00
Marcoen Hirschberg
f16c1f341a prevent rockbox from using the wrong includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8827 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 13:48:52 +00:00
Linus Nielsen Feltzing
df25cd5376 ADC driver for iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8812 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 16:45:53 +00:00
Linus Nielsen Feltzing
01ece88198 ADC driver for iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8811 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 16:40:41 +00:00
Linus Nielsen Feltzing
8e8e9c3990 Include the correct source files for iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8810 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 15:26:43 +00:00
Linus Nielsen Feltzing
4feb0fca80 PCF50606 driver for iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8809 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 15:24:45 +00:00
Linus Nielsen Feltzing
072744b4f4 Power driver for iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8808 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 15:24:04 +00:00
Linus Nielsen Feltzing
b528d0a879 LCD driver for iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8807 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 15:22:08 +00:00
Linus Nielsen Feltzing
563012c503 Optimized the PLLCR write
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8806 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 14:23:23 +00:00
Linus Nielsen Feltzing
368418585c Make sure PLL is off when booting on Coldfire targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8805 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 13:48:12 +00:00
Thom Johansen
52774bcfbc Shave off one instruction in fiq handler!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8804 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 11:31:55 +00:00
Linus Nielsen Feltzing
c71900c02f The iAudio bootloader needs to have the startup code first in memory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8802 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 10:40:14 +00:00
Thom Johansen
c85ad42c35 Didn't mean to commit this, revert.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8794 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 22:53:41 +00:00
Jens Arnold
c7ba2b518d Fix silly bug that made it crash on iPod.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8791 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 22:33:25 +00:00
Jens Arnold
e6dac9130d Made LCD_RGBPACK() macro more efficient when used with variable arguments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8789 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 21:41:44 +00:00
Linus Nielsen Feltzing
6922e80c9e Some corrections for MCF5250
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8788 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 20:48:27 +00:00
Thom Johansen
374647f478 Fix stupid mistake.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8787 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 19:34:42 +00:00
Thom Johansen
ff493e081f Commit correct file this time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8786 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 19:03:20 +00:00
Thom Johansen
e94d262795 ARM optimised memset from Linux.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8785 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 18:52:08 +00:00
Linus Nielsen Feltzing
2a2d346b08 Generic bitbang I2C driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8782 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 14:50:57 +00:00
Hristo Kovachev
b12bcecb29 Remove some unused/deprecated defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8777 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 11:48:58 +00:00
Jens Arnold
a13f847186 Optimised lcd_clear_display(), lcd_hline() and lcd_fillrect().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8774 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 01:28:19 +00:00
Jens Arnold
eb65f89f0e Added memset16() for filling memory regions with 16 bit values, needed for upcoming 16 bit LCD driver opts. ASM optimised for coldfire.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8773 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 01:20:45 +00:00
Jens Arnold
a875703e6e Slight optimisation for 1bit and 2bit (vp) LCD drivers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8772 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 00:20:28 +00:00
Linus Nielsen Feltzing
8850c61ee1 No X5 remote support just yet
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8769 a1c6a512-1295-4272-9138-f99709370657
2006-02-21 21:35:06 +00:00
Linus Nielsen Feltzing
88c57383fb Not only H300 has a PCF50606
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8768 a1c6a512-1295-4272-9138-f99709370657
2006-02-21 21:33:27 +00:00
Dave Chapman
d3bb5a11c4 Correct typo in comments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8766 a1c6a512-1295-4272-9138-f99709370657
2006-02-21 16:31:53 +00:00
Dave Chapman
8b51070f0f Forgot to add config file for iPod Mini.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8765 a1c6a512-1295-4272-9138-f99709370657
2006-02-21 16:17:15 +00:00
Dave Chapman
8b1297a0b6 Patch #1435744 from Andrew Scott - initial iPod Mini support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8764 a1c6a512-1295-4272-9138-f99709370657
2006-02-21 15:01:25 +00:00
Dave Chapman
800023bc4e iPod 5G: Bug fixes in DAC initialisation - playback is now stereo...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8755 a1c6a512-1295-4272-9138-f99709370657
2006-02-20 22:46:58 +00:00
Thom Johansen
ec93f4685c Correct the channel order in the ASM optimised fiq handler. Correct a
jump target.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8753 a1c6a512-1295-4272-9138-f99709370657
2006-02-20 20:23:21 +00:00
Hristo Kovachev
7f6fe6aa35 Multiple remote support for iriver Hxxx stage 2: now button_read() returns correct buttons for each remote type.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8752 a1c6a512-1295-4272-9138-f99709370657
2006-02-20 20:08:27 +00:00
Jens Arnold
5991f02e1c Oops, no potentially conflicting declarations please.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8749 a1c6a512-1295-4272-9138-f99709370657
2006-02-20 18:45:31 +00:00
Jens Arnold
2705a894f0 Make the driver work with LCD widths which aren't integer multiples of 4, i.e. the last byte of a row is only partially used (upcoming iPod mini build).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8748 a1c6a512-1295-4272-9138-f99709370657
2006-02-20 18:15:49 +00:00
Daniel Stenberg
abbdcacfbd minor adjustments for the x5 LCD, we're back at 16 bits for upper LCD layers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8746 a1c6a512-1295-4272-9138-f99709370657
2006-02-20 12:03:32 +00:00
Jens Arnold
3e496e3ecf Reworked player simulator icons to fit the changed charcell scale factor and look more like the actual icons. Adapted player sim display sizes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8745 a1c6a512-1295-4272-9138-f99709370657
2006-02-20 00:31:10 +00:00
Thom Johansen
4b98554083 Fix slow shutdown on ipod nano.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8741 a1c6a512-1295-4272-9138-f99709370657
2006-02-19 21:22:24 +00:00
Jens Arnold
237d3c4c4b Adaptive button repeat: adapts repeat rate depending on the ability of the application to cope. Avoids afterscroll and similar effects. * Yield while scrolling through lists.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8738 a1c6a512-1295-4272-9138-f99709370657
2006-02-19 13:34:12 +00:00
Dave Chapman
9e244e04a0 Fix red builds - only check for USB_POWERED status if HAVE_USB_POWER is defined.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8734 a1c6a512-1295-4272-9138-f99709370657
2006-02-19 12:27:21 +00:00
Linus Nielsen Feltzing
8f1db26863 Patch #1434442 by Mikael Magnusson - Prevent shutdown when charging from USB
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8733 a1c6a512-1295-4272-9138-f99709370657
2006-02-19 11:37:30 +00:00
Thom Johansen
2c3ae4a3ab Remove unneeded variable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8732 a1c6a512-1295-4272-9138-f99709370657
2006-02-19 01:05:06 +00:00
Thom Johansen
f761cec193 Added assembler FIQ handler for iPod. Remove unnecessary SIMULATOR check
and some debug code in pcm_playback.c.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8731 a1c6a512-1295-4272-9138-f99709370657
2006-02-19 00:57:27 +00:00
Dave Chapman
3ba5a0b24a iPods - implement button_hold() function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8727 a1c6a512-1295-4272-9138-f99709370657
2006-02-18 18:42:46 +00:00
Linus Nielsen Feltzing
00811840c9 Remote type autodetection on iriver, remote_type() returns REMOTETYPE_H100_LCD, REMOTETYPE_H300_LCD or REMOTETYPE_H300_NONLCD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8721 a1c6a512-1295-4272-9138-f99709370657
2006-02-17 22:38:38 +00:00
Dave Chapman
57654d443b iPod 5G: Change USB detection to use pin 1 on GPIOB instead of the USB status register. One user reported that USB_STATUS was giving false positives, and never changing when USB was inserted/removed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8713 a1c6a512-1295-4272-9138-f99709370657
2006-02-17 01:16:18 +00:00
Dave Chapman
bd203e02cb iPod 5G: Split lcd_bcm_finishup() function into two halves, and incorporate into the start and end of lcd_update_rect.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8712 a1c6a512-1295-4272-9138-f99709370657
2006-02-16 23:17:49 +00:00
Dave Chapman
72ea4f38ba iPod 5G: Put lcd_update_rect function in IRAM - increases speed from 52fps to 54fps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8708 a1c6a512-1295-4272-9138-f99709370657
2006-02-16 21:15:05 +00:00
Linus Nielsen Feltzing
a4504bc276 Revert the ATA/USB power fix until I find an even more correct way of doing it :-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8707 a1c6a512-1295-4272-9138-f99709370657
2006-02-16 20:44:38 +00:00
Jens Arnold
41e1aa888b Grayscale iPods: Fixed & optimised LCD driver. Further optimisation is possible. * LCD driver now uses proper native bitmaps resembling the LCD internal format. Mono bitmaps are still transposed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8706 a1c6a512-1295-4272-9138-f99709370657
2006-02-16 20:03:07 +00:00
Jens Arnold
fa41253f04 Important bugfix for lcd_bitmap_part(). * Some slight optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8703 a1c6a512-1295-4272-9138-f99709370657
2006-02-16 17:22:27 +00:00
Dave Chapman
333a22e73c iPod 5G: Another LCD optimisation, now at 52fps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8698 a1c6a512-1295-4272-9138-f99709370657
2006-02-16 00:52:47 +00:00
Dave Chapman
d935679ba6 iPod 5G: Further LCD driver optimisations - it is now working at 42fps for full-screen updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8696 a1c6a512-1295-4272-9138-f99709370657
2006-02-15 21:07:37 +00:00
Dave Chapman
0a8e6d1673 iPod 5G: Small LCD optimisation - make lcd_bcm_write32 inline. Increases LCD speed from 28fps to 31fps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8694 a1c6a512-1295-4272-9138-f99709370657
2006-02-15 14:13:51 +00:00
Dave Chapman
32df71851b iPod 5G: Add a yield() to the lcd_bcm_finishup() function. This function typically waits in a while loop for 14ms whilst the Broadcom DSP updates the LCD - yielding gives that time back to audio decoding.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8693 a1c6a512-1295-4272-9138-f99709370657
2006-02-15 11:54:56 +00:00
Linus Nielsen Feltzing
2612d371db More correct power handling of the HDD and ISD300 chips on the H300 platform
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8688 a1c6a512-1295-4272-9138-f99709370657
2006-02-13 22:49:59 +00:00
Dave Chapman
9581ad39ec iPod: Audio driver for iPod Video/5G. Rename wm8971_* functions to wmcodec_* to enable unification of the audio code for WM codecs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8676 a1c6a512-1295-4272-9138-f99709370657
2006-02-13 13:48:08 +00:00
Brandon Low
b55f20a12d Hopefully fix highly parallel build of recorder 8mb
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8675 a1c6a512-1295-4272-9138-f99709370657
2006-02-13 13:45:10 +00:00
Tomasz Malesinski
bf54647132 Fixed warnings in the iFP target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8671 a1c6a512-1295-4272-9138-f99709370657
2006-02-12 23:26:18 +00:00
Tomasz Malesinski
d1e55082ee Changed endpoint 0 max packet size to 64 in order to make the driver
work in highspeed mode. Changed debugging code a little.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8669 a1c6a512-1295-4272-9138-f99709370657
2006-02-12 23:18:36 +00:00
Tomasz Malesinski
e7f7c3d15c Mapped iFP DRAM to 0xc00000 and enabled caching in this area.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8668 a1c6a512-1295-4272-9138-f99709370657
2006-02-12 23:16:05 +00:00
Dave Chapman
6ffd3cfca4 Some cosmetic cleaning of the wm8975 audio driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8667 a1c6a512-1295-4272-9138-f99709370657
2006-02-12 17:18:47 +00:00
Dave Chapman
a1f87441de Disable ROLO for the iPods - it doesn't work and just confuses people.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8660 a1c6a512-1295-4272-9138-f99709370657
2006-02-11 11:44:42 +00:00
Dave Chapman
32ed0d80a9 Fix iPod 4G grayscale warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8651 a1c6a512-1295-4272-9138-f99709370657
2006-02-10 14:45:13 +00:00
Thom Johansen
1f8529708b Make the clickwheel driver stop buffering events if Rockbox is too busy
to handle them.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8650 a1c6a512-1295-4272-9138-f99709370657
2006-02-10 14:39:19 +00:00
Dave Chapman
b0ad4cfbb5 Implement contrast setting for iPod greyscale LCD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8643 a1c6a512-1295-4272-9138-f99709370657
2006-02-09 19:47:52 +00:00
Brandon Low
4872825ed2 Various build sytem cleanups
* Parallel build appears to work properly
* Use $(SILENT) instead of @ about everywhere
* Less calls to bash by using make builtin substitutions


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8638 a1c6a512-1295-4272-9138-f99709370657
2006-02-09 04:27:57 +00:00
Dave Chapman
8fee5282ba iPod grayscale LCD driver - fix bug preventing the inverse bar line selector from displaying
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8637 a1c6a512-1295-4272-9138-f99709370657
2006-02-09 01:05:08 +00:00
Dave Chapman
8ad2df8275 Create an SDL sim for the iPod 4G Grayscale and also create an IPOD_ARCH define for all iPods.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8636 a1c6a512-1295-4272-9138-f99709370657
2006-02-09 00:48:53 +00:00
Thom Johansen
ed9a73557b Commit additional defines needed by last commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8633 a1c6a512-1295-4272-9138-f99709370657
2006-02-08 21:32:19 +00:00
Thom Johansen
0a952512c3 Sleep PP5020 CPU on idle.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8632 a1c6a512-1295-4272-9138-f99709370657
2006-02-08 21:30:35 +00:00
Hristo Kovachev
db734b41d5 Patch #1403437 by Peter D'Hoye & Martin Scarratt: Recording gain.
Changes:
***1. all platforms:
1.1 corrects gain display bug;
1.2 allows combined setting of stereo gain without an extra
line on the display;

2. iRiver H1xx and H3xx specific:
2.1 correctly named the decimator variables, they were
called 'gain';
2.2 splitted decimator gain settings for mic and line-in so
that they are saved separately;
2.3 added combined analog and decimator gain setting giving a
smooth gain range with the best analog/decimator gain
combination


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8627 a1c6a512-1295-4272-9138-f99709370657
2006-02-08 13:08:55 +00:00
Dave Chapman
6099dc8b77 iPod: Re-written audio driver. This brings it in line with changes to pcm playback system, and also appears to fix all the ipod-specific playback glitches
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8614 a1c6a512-1295-4272-9138-f99709370657
2006-02-07 20:49:13 +00:00
Brandon Low
413da2a3d9 Rework PCM buffer
* Linked list instead of static array buffer pointers
* Variable sized chunks
* Improved mix handling
* Reduction in duplicated code
* Reduced IRAM usage w/o sacrificing performance
* Converted to almost entirely unsigned math
* Add pause function to reduce pcm_* exposure to playback.

This WILL break playback on the iPod until linuxstb makes a followup commit.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8612 a1c6a512-1295-4272-9138-f99709370657
2006-02-07 20:38:55 +00:00
Hristo Kovachev
14cfc65414 1. Updated battery_bench plugin:
1.1 Don't use the plugin_get_buffer() so the playlist viewer should work with this plugin running;
1.2 Added new columns for charger inserted, charging, usb powered;
1.3 Some other small improvements
2. charger_inserted() again returns only the AC/DC charger state on H3x0, doesn't include the usb state;
3. Some ifdefs corrected in power.c and power.h;


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8607 a1c6a512-1295-4272-9138-f99709370657
2006-02-07 14:46:03 +00:00
Jens Arnold
27f69db404 Fine-tuned ADC values for H300 button driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8605 a1c6a512-1295-4272-9138-f99709370657
2006-02-07 12:41:04 +00:00
Jens Arnold
85c0440ae9 Font cache now uses memmove().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8603 a1c6a512-1295-4272-9138-f99709370657
2006-02-06 17:24:47 +00:00
Jens Arnold
d036e97d38 Added memmove() to the rockbox core. C implementation taken from newlib. Fully optimised ASM implementations for SH1 and coldfire, reusing the AMS memcpy code path for forward copying.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8601 a1c6a512-1295-4272-9138-f99709370657
2006-02-06 16:00:58 +00:00
Dave Chapman
383b8d41c1 Some bugfixes for the iPod 4G greyscale version of the LCD driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8594 a1c6a512-1295-4272-9138-f99709370657
2006-02-06 02:32:15 +00:00
Dave Chapman
2f11278b59 Correct the comment to match the new code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8593 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 21:26:22 +00:00
Dave Chapman
afb2564b84 iPod: Increase udelay() up to 50 - this was causing problems when the hold switch was being used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8590 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 20:58:41 +00:00
Dave Chapman
2924a48ca5 Create config file for iPod 4G greyscale and various iPod 3G/4G greyscale fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8585 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 18:25:41 +00:00
Dave Chapman
987879b958 Further iPod 3G work from Seven Le Mesle
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8583 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 17:34:49 +00:00
Dave Chapman
465596b163 More iPod 3G code from Seven Le Mesle
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8582 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 17:16:34 +00:00
Dave Chapman
d16a8b8845 More iPod 3G changes from Seven Le Mesle, and some unification of the iPod code from me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8581 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 16:52:22 +00:00
Dave Chapman
e8048cefed Initial version of iPod greyscale LCD driver from Seven Le Mesle. This is currently written to use vertically-packed mono and native bitmap formats.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8580 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 16:01:50 +00:00
Jens Arnold
c6c584e4c1 Removed dead section, H1x0 and H300 are handled together.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8579 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 14:32:11 +00:00
Jens Arnold
f3857abf6b H300: lcd_write_data() in pure asm, essentially the same speed as before, but working correctly for all allowed data lengths. Removed RAM waste by declaring inline functions static.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8575 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 00:24:08 +00:00
Linus Nielsen Feltzing
1ee68b0e88 iAudio X5: hold button functions (not yet complete)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8574 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 00:20:11 +00:00
Linus Nielsen Feltzing
33fbe7c904 iAudio X5: Dummy ADC functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8573 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 00:18:42 +00:00
Linus Nielsen Feltzing
39ecd72bd5 The iAudio X5 LCD is 18 bits
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8572 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 00:17:53 +00:00
Linus Nielsen Feltzing
bead47c17a The iAudio X5 LCD framebuffer doesn't fit in IRAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8571 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 00:09:50 +00:00
Tomasz Malesinski
ec7e976026 Added GDB API - a way to call stub procedures from a DEBUG build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8561 a1c6a512-1295-4272-9138-f99709370657
2006-02-04 00:04:02 +00:00
Linus Nielsen Feltzing
760fea9ac7 iAudio X5: various fixes to make the bootloader compile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8560 a1c6a512-1295-4272-9138-f99709370657
2006-02-04 00:01:15 +00:00
Linus Nielsen Feltzing
44a5c827b7 iAudio X5: Corrected crappy code, just to make the damn thing compile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8559 a1c6a512-1295-4272-9138-f99709370657
2006-02-03 23:59:41 +00:00
Tomasz Malesinski
91f08b5a24 Made %n not eat white space.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8557 a1c6a512-1295-4272-9138-f99709370657
2006-02-03 23:39:12 +00:00
Tomasz Malesinski
c4d24a07ab Added non-blocking get/put_byte routines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8556 a1c6a512-1295-4272-9138-f99709370657
2006-02-03 23:28:53 +00:00
Tomasz Malesinski
507120c1b3 Added empty fiq routine for iFP.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8555 a1c6a512-1295-4272-9138-f99709370657
2006-02-03 23:26:14 +00:00
Tomasz Malesinski
ea3dbb2d87 Added setting interrupt vectors without overwriting others for ARM
DEBUG builds.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8554 a1c6a512-1295-4272-9138-f99709370657
2006-02-03 23:24:08 +00:00
Tomasz Malesinski
c31d2f84b7 Fixed warnings on iFP.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8550 a1c6a512-1295-4272-9138-f99709370657
2006-02-03 23:14:42 +00:00
Jens Arnold
3c17330af6 Colour LCD driver: * Bring non-backdrop rendering back up to speed. * Speed up rendering with backdrop. * Restore correct behaviour of lcd_clear_display().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8549 a1c6a512-1295-4272-9138-f99709370657
2006-02-03 21:11:51 +00:00
Linus Nielsen Feltzing
9b0822d76a Make it compile on iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8543 a1c6a512-1295-4272-9138-f99709370657
2006-02-02 23:07:11 +00:00
Dave Chapman
d9e5b67b71 Patch #1421422 - Backdrop image patch started by Linus, finished by me. Adds ability to set backdrop images for file browser and menus (store full-screen bitmaps in /.rockbox/backdrops/) and also the ability to set a full-screen background image in a WPS using the %X|filename.bmp| WPS tag. Currently only implemented for targets with colour LCDs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8536 a1c6a512-1295-4272-9138-f99709370657
2006-02-02 20:42:56 +00:00
Jens Arnold
e6c2e197b3 This should not have been recommitted (went undetected for quite a while).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8533 a1c6a512-1295-4272-9138-f99709370657
2006-02-02 19:53:50 +00:00
Jens Arnold
32326ef10d * Changed implementation of inverse bar: Instead of complementing all pixels after drawing the text, the text is drawn in inversevid mode. This is faster, and will be more readable when backdrop image support gets added. Appearance on non-colour targets doesn't change. * Speedup of the scroll thread.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8532 a1c6a512-1295-4272-9138-f99709370657
2006-02-02 19:35:51 +00:00
Dave Chapman
1023cedb79 iPod: Remove/reduce the udelay()s in the button driver. They were in the IPL source, but do not appear to be needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8530 a1c6a512-1295-4272-9138-f99709370657
2006-02-02 11:24:32 +00:00
Dave Chapman
fbd8e5d29c Patch #1421483 - AIFF codec by Jvo Studer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8524 a1c6a512-1295-4272-9138-f99709370657
2006-02-01 16:42:02 +00:00
Daniel Stenberg
8ab7c38bac added the missing decompressor files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8522 a1c6a512-1295-4272-9138-f99709370657
2006-02-01 14:18:38 +00:00
Dave Chapman
b4bc9fd068 iPod: Enable peakmeter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8516 a1c6a512-1295-4272-9138-f99709370657
2006-02-01 00:17:36 +00:00
Christi Scarborough
81eade36b7 Revert accidental change
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8506 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 14:50:20 +00:00
Thom Johansen
023936d5e4 ARM: r12 is scratch, so don't save it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8505 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 14:48:10 +00:00
Christi Scarborough
ae0ae6d5cf Small iPod colour BMP fix by linuxstd
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8504 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 14:29:51 +00:00
Thom Johansen
cce79d3805 Small ARM opt. Saves eight bytes!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8503 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 13:46:58 +00:00
Miika Pekkarinen
de281db7e7 Now dircache should work on players requiring long aligned memory
accesses.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8502 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 10:08:53 +00:00
Dave Chapman
1446b210eb Oops - fix red iPod bootloader build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8501 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 09:40:21 +00:00
Dave Chapman
f9dac40cf3 iPod: Fix the detection of lcd type for the iPod Photo - this should fix problems with that LCD. Affected users also need to install a new bootloader - available from the iPod Installation wiki page.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8499 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 01:50:07 +00:00
Dave Chapman
d3784e5d08 iPod: Remove some iPod Photo lcd initialisation code that (when used in the bootloader) corrupted the colors in the original firmware.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8497 a1c6a512-1295-4272-9138-f99709370657
2006-01-30 23:25:57 +00:00
Dave Chapman
5ffa8c52df iPod: Initial attempt at volume/bass/treble control - more work is needed, but it seems to be working.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8495 a1c6a512-1295-4272-9138-f99709370657
2006-01-30 21:12:31 +00:00
Linus Nielsen Feltzing
281403a4d8 Work-in-progress transparent bitmaps with 255,0,255 as the transparent color, not yet working on the H100 series
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8476 a1c6a512-1295-4272-9138-f99709370657
2006-01-28 23:12:20 +00:00
Dave Chapman
b9e10d9a07 iPod: First working audio driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8474 a1c6a512-1295-4272-9138-f99709370657
2006-01-28 20:33:57 +00:00
Linus Nielsen Feltzing
745adad22a Color BMP support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8472 a1c6a512-1295-4272-9138-f99709370657
2006-01-28 12:12:42 +00:00
Brandon Low
2047f79f75 Fix red builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8463 a1c6a512-1295-4272-9138-f99709370657
2006-01-27 02:00:43 +00:00
Brandon Low
005c2f8026 Detect USB charge state in Hxx0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8462 a1c6a512-1295-4272-9138-f99709370657
2006-01-27 01:19:14 +00:00
Linus Nielsen Feltzing
ea8bbe3df6 Enable USB charging mode on H300, hold Rec when inserting the USB connector to not enter USB mode. This may not always work, since we don't yet know how to control the charging chip correctly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8460 a1c6a512-1295-4272-9138-f99709370657
2006-01-26 22:53:05 +00:00
Dave Chapman
c0090ff13c Add some IIS addresses
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8458 a1c6a512-1295-4272-9138-f99709370657
2006-01-26 12:51:33 +00:00
Brandon Low
4a6b2c5a69 Fix all the simulator builds I broke
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8456 a1c6a512-1295-4272-9138-f99709370657
2006-01-25 22:28:55 +00:00
Hristo Kovachev
495c63f867 New "battery benchmark" plugin by Alexander Spyridakis, modified a bit by me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8451 a1c6a512-1295-4272-9138-f99709370657
2006-01-25 18:29:56 +00:00
Linus Nielsen Feltzing
60e8f4f988 First steps towards SDL sim for windows
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8449 a1c6a512-1295-4272-9138-f99709370657
2006-01-25 12:15:25 +00:00
Tomasz Malesinski
2aabc875bf GDB stub for ARM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8447 a1c6a512-1295-4272-9138-f99709370657
2006-01-25 01:43:07 +00:00
Tomasz Malesinski
4bf024f872 Generic USB serial driver on ISP1582
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8445 a1c6a512-1295-4272-9138-f99709370657
2006-01-25 01:37:39 +00:00
Tomasz Malesinski
e8e0b241bd Simple sscanf implementation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8444 a1c6a512-1295-4272-9138-f99709370657
2006-01-25 01:35:04 +00:00
Tomasz Malesinski
0868ac8cb2 Added ATTRIBUTE_SCANF
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8443 a1c6a512-1295-4272-9138-f99709370657
2006-01-25 01:33:48 +00:00
Tomasz Malesinski
e0bb10420d added .vectors section for ARM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8442 a1c6a512-1295-4272-9138-f99709370657
2006-01-24 23:32:53 +00:00
Tomasz Malesinski
27c616fd46 made UIE for iPod common to all ARM targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8441 a1c6a512-1295-4272-9138-f99709370657
2006-01-24 23:32:16 +00:00
Thom Johansen
22e6c02f8e Removed PP5020_ prefix from register defines and added/renamed some
defines.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8438 a1c6a512-1295-4272-9138-f99709370657
2006-01-24 22:31:57 +00:00
Thom Johansen
289ec0164b Properly configurable tick timer for PP5020.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8437 a1c6a512-1295-4272-9138-f99709370657
2006-01-24 22:16:27 +00:00
Linus Nielsen Feltzing
dacc6f3821 Slightly safer version of queue_delete()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8425 a1c6a512-1295-4272-9138-f99709370657
2006-01-23 10:59:07 +00:00
Linus Nielsen Feltzing
765e0f89d8 New kernel function, queue_delete(struct event_queue *q)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8424 a1c6a512-1295-4272-9138-f99709370657
2006-01-23 10:53:47 +00:00
Miika Pekkarinen
4503b96749 Fixed the red builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8417 a1c6a512-1295-4272-9138-f99709370657
2006-01-22 11:56:08 +00:00
Miika Pekkarinen
6d6ca6b6a5 Muting trick to prevent tiny pops and glitchless mp3 seeking.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8416 a1c6a512-1295-4272-9138-f99709370657
2006-01-22 10:25:07 +00:00
Brandon Low
d3a03b679f Horizontal screen scrolling part 3 (by Shachar Liberman)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8414 a1c6a512-1295-4272-9138-f99709370657
2006-01-22 04:24:26 +00:00
Tomas Salfischberger
bfe740712a Horizontal scrolling patch by Shachar Liberman - Part 2 :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8413 a1c6a512-1295-4272-9138-f99709370657
2006-01-22 02:14:37 +00:00
Tomas Salfischberger
7fa39df427 Horizontal scrolling patch by Shachar Liberman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8412 a1c6a512-1295-4272-9138-f99709370657
2006-01-22 01:42:05 +00:00
Brandon Low
8d5a6609a3 AB-repeat mode for software codecs. Accessible through menu as a repeat mode, with buttom mappings much like those on other rockbox targets for now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8409 a1c6a512-1295-4272-9138-f99709370657
2006-01-21 23:43:57 +00:00
Brandon Low
0a9179cb0a Add seamless seeking support, this is needed for AB-repeat mode on swcodec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8408 a1c6a512-1295-4272-9138-f99709370657
2006-01-21 22:58:08 +00:00
Miika Pekkarinen
3458be2d9d Prevent a very tiny pop from happening when starting/stopping pcm
playback.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8406 a1c6a512-1295-4272-9138-f99709370657
2006-01-21 22:35:42 +00:00
Brandon Low
d8a6c0665d Improve performance by putting more of the code and variables that are called by the DMA0 interrupt into IRAM (3% boost improvement on my test track).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8404 a1c6a512-1295-4272-9138-f99709370657
2006-01-21 16:47:36 +00:00
Miika Pekkarinen
0e159f13cf Fixed a few iriver playback quirks and issues with previous fixes.
Also fixed "TST.." bug when seeking and possible an enhancement to mp3
gapless playback also.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8402 a1c6a512-1295-4272-9138-f99709370657
2006-01-20 22:02:44 +00:00
Jens Arnold
c05cd1676f Better random number generator: Mersenne twiser with improved initialisation. BSD-style license.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8396 a1c6a512-1295-4272-9138-f99709370657
2006-01-20 01:21:26 +00:00
Brandon Low
b016185c99 Fix red builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8392 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 20:12:49 +00:00
Brandon Low
a452c7410d Start cleaning up some #ifdefs in charging code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8391 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 19:39:51 +00:00
Brandon Low
f3d13f9905 Make sure that no targets lose charging related features from those red builds yesterday.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8389 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 15:22:06 +00:00
Thom Johansen
127c3febc1 UIE handler for ARM/iPod. Currently does not support interrupts. Will
probably also work for other ARM based targets, like iFP.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8388 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 15:03:34 +00:00
Hristo Kovachev
4926682378 Patch #1404233 by Peter D'Hoye: H300 brightness bugfix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8387 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 13:10:15 +00:00
Hristo Kovachev
457b51dfa7 Attempt fix to broken builds pt. 2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8385 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 11:59:46 +00:00
Brandon Low
cdacab3d89 Charging state reporting on H3x0
Don't read the GPIO every refresh of statusbar or gwps for plugged state, use a
variable exported from powermgmt instead.
Allow Custom WPS to access %bc for battery charge state on targets that support
this.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8383 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 07:47:34 +00:00
Brandon Low
13414ae77a Initialize the MBC to off, idle state JinC
Fix a comment that had wrong voltage


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8382 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 07:47:02 +00:00
Brandon Low
b8fc81e6bf Stricter asm constraint is required.
(Prevent breakage with future compilers)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8379 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 04:51:52 +00:00
Dave Chapman
7cc6b3a359 Fix reboot-to-diskmode for the Nano and Video - the "diskmode" string is written to the end of IRAM, which is larger on the PP5022 devices.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8378 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 03:01:34 +00:00
Brandon Low
05dccc3551 Profiling support, tools and documentation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8375 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 20:54:13 +00:00
Brandon Low
ccc72cc2d0 Part of patch #1407541 to improve battery smoothing by absorbing extra precision from the battery scale factor
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8372 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 16:48:54 +00:00
Hristo Kovachev
b8530435ec Remove a redundant line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8371 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 14:43:33 +00:00
Dave Chapman
cf0e3d355c iPod: Fix endian bug with disk reads and writes to a non-aligned memory buffer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8369 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 14:04:30 +00:00
Daniel Stenberg
cedba8830f Matt v.d. Westhuizen's iAudio X5 keypad adjustments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 11:09:06 +00:00
Dave Chapman
205be712fe Two files for the iFP port that I forgot to commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8365 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 10:01:35 +00:00
Jens Arnold
b8749fdf21 New codec loader, using the same mechanism as the new plugin loader. API version numbering restarted for the new system. Uses the target ID from configure, so don't change that too often. * Fixed sim_plugin_load_ram() to truncate the tempfile. * Reduced plugin buffer size to 512KB for iriver and iPod.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8362 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 00:05:14 +00:00
Thom Johansen
d47bb3c05e Temp fix for iPod Nano. Disable ATA sleep, as this will hang disk accesses.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8357 a1c6a512-1295-4272-9138-f99709370657
2006-01-16 23:23:39 +00:00
Linus Nielsen Feltzing
b3a9ad8590 The Code Police struck again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8352 a1c6a512-1295-4272-9138-f99709370657
2006-01-16 14:45:03 +00:00
Dave Chapman
d83e929f3f Work-in-progress iriver iFP-7xx port by Tomasz Malesinski
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
2006-01-12 00:35:50 +00:00
Daniel Stenberg
aa7ff208ce let's hope we can start with using the x5 LCD in 16bits as then we can re-use
much code from the h3x0 and ipod LCD code


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8338 a1c6a512-1295-4272-9138-f99709370657
2006-01-11 16:09:40 +00:00
Linus Nielsen Feltzing
531bdf6925 iAudio: Removed duplicate register definitions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8336 a1c6a512-1295-4272-9138-f99709370657
2006-01-11 15:37:56 +00:00
Linus Nielsen Feltzing
e5f129728e Enable the EXTON and CHG wakeup again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8334 a1c6a512-1295-4272-9138-f99709370657
2006-01-11 15:36:20 +00:00
Linus Nielsen Feltzing
cb01be69a6 H300: set KEEP_ACT before initializing the data sections, otherwise the PCF50606 will time out and power off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8333 a1c6a512-1295-4272-9138-f99709370657
2006-01-11 15:35:34 +00:00
Linus Nielsen Feltzing
08e06110dc Reverted the wakeup/debounce PCF50606 settings for now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8329 a1c6a512-1295-4272-9138-f99709370657
2006-01-11 00:49:54 +00:00
Linus Nielsen Feltzing
54da924e43 H300: Bootloader USB mode detection on EXTON wakeup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8326 a1c6a512-1295-4272-9138-f99709370657
2006-01-10 23:11:57 +00:00
Hristo Kovachev
9cf5270f10 Don't init the lcd twice - once on lcd_init_device and the other one on first call of lcd_enable() (an old, known bug).
Linus, please check whether lcd_enable(true) is still required for the h300 bootloader (lcd_init() calls lcd_init_device())


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8317 a1c6a512-1295-4272-9138-f99709370657
2006-01-09 16:11:19 +00:00
Magnus Holmgren
e8b1787296 Discard some LAME header fields if the file length has changed since the header was written. Fixes some NPR podcasts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8307 a1c6a512-1295-4272-9138-f99709370657
2006-01-08 08:58:58 +00:00
Dave Chapman
b82c441f29 iPod: Add USB detection. When inserting the USB cable, hold down MENU to charge via USB, otherwise Rockbox will reboot into the Disk Mode application stored in flash
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8303 a1c6a512-1295-4272-9138-f99709370657
2006-01-07 00:43:48 +00:00
Dave Chapman
cb7e695ef9 iPod: Fix the bootloader so it can load and run the original Apple firmware again. The Rockbox firmware was doing too much to the hardware so we remove most of the initialisation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8301 a1c6a512-1295-4272-9138-f99709370657
2006-01-05 17:02:48 +00:00
Linus Nielsen Feltzing
4d03a466d2 iaudio: proper tlv320 prototypes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8297 a1c6a512-1295-4272-9138-f99709370657
2006-01-03 02:14:10 +00:00
Linus Nielsen Feltzing
bd2f678b70 Patch #1392287 by Brandon Low - faster LCD update for H300 with ASM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8293 a1c6a512-1295-4272-9138-f99709370657
2005-12-28 22:49:22 +00:00
Miika Pekkarinen
64fe299d70 Don't put S/PDIF out of sync when audio is being paused.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8289 a1c6a512-1295-4272-9138-f99709370657
2005-12-27 18:00:45 +00:00
Miika Pekkarinen
482a242792 Committed the pre-recording patch for iriver (#1387531 by Peter D'Hoye).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8287 a1c6a512-1295-4272-9138-f99709370657
2005-12-23 21:43:05 +00:00
Linus Nielsen Feltzing
e57471a1be H300: RTC support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8284 a1c6a512-1295-4272-9138-f99709370657
2005-12-22 23:48:32 +00:00
Magnus Holmgren
917f2c1804 Simulator fixes: id3 string pointers can be null.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8282 a1c6a512-1295-4272-9138-f99709370657
2005-12-22 21:42:00 +00:00
Hristo Kovachev
b1a230353e Oops:) Make the brightness setting purely numerical
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8281 a1c6a512-1295-4272-9138-f99709370657
2005-12-22 13:31:14 +00:00