Commit graph

2836 commits

Author SHA1 Message Date
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