Michael Sevakis
0149264bf1
Hrmph. That was just weird to do that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14211 a1c6a512-1295-4272-9138-f99709370657
2007-08-06 13:01:40 +00:00
Michael Sevakis
89b53bfdaa
e200: Make sure backlight will never get stuck off for long periods from the wheel.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14210 a1c6a512-1295-4272-9138-f99709370657
2007-08-06 12:58:38 +00:00
Michael Sevakis
1ea6daf01e
Perform writeback before starting thread on another core or stack munging may not be coherent.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14194 a1c6a512-1295-4272-9138-f99709370657
2007-08-05 12:32:34 +00:00
Michael Sevakis
d25dc33453
Oops. mvn is one's-complement, not two's. Correct the YUV calculation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14184 a1c6a512-1295-4272-9138-f99709370657
2007-08-04 20:36:22 +00:00
Jens Arnold
db6af4eeac
Set correct pixel format for iFP7xx.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14177 a1c6a512-1295-4272-9138-f99709370657
2007-08-04 07:54:23 +00:00
Kevin Ferrare
217a6891f3
defined a dummy LCD_PIXELFORMAT for the IFP7xx to allow the simulator to build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14175 a1c6a512-1295-4272-9138-f99709370657
2007-08-04 03:56:22 +00:00
Jens Arnold
7f85b5b907
Disk poweroff for 3rd gen iPods.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14171 a1c6a512-1295-4272-9138-f99709370657
2007-08-03 22:54:33 +00:00
Jens Arnold
ccf51927b9
Disk poweroff for 1st/2nd gen iPods.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14157 a1c6a512-1295-4272-9138-f99709370657
2007-08-03 12:05:47 +00:00
Dan Everton
f4a61f0c4a
Add support for parsing the disc number tag from metadata and use of it in the database. Patch originally from FS#4961 with some minor tweaks by me.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14154 a1c6a512-1295-4272-9138-f99709370657
2007-08-03 10:00:42 +00:00
Jens Arnold
1fbf847eed
PP5002 ATA driver needs to wait for the controller to be ready again before writing the next control register value. Makes check_registers() not fail in the bootloader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14153 a1c6a512-1295-4272-9138-f99709370657
2007-08-03 09:34:42 +00:00
Peter D'Hoye
c21abddaae
Even more optimizing for the recording name change...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14148 a1c6a512-1295-4272-9138-f99709370657
2007-08-02 18:45:38 +00:00
Jens Arnold
cb896cdd04
Firewire detection with reboot into diskmode for all iPods that support it (all but Nano and Video). * Hack for compiling iPod G3 removed. * Code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14131 a1c6a512-1295-4272-9138-f99709370657
2007-08-01 22:44:02 +00:00
Michael Sevakis
4aaded5c76
PP50xx: COP was left in undefined mode after init. Switch it to supervisor mode before entering cop_main.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14124 a1c6a512-1295-4272-9138-f99709370657
2007-08-01 20:59:27 +00:00
Michael Sevakis
e1c52e7fbe
PP50xx: Allow FIQ during IRQ to always be able to service FIFOs. I've got a diff handy for quick revert if there's a problem.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14123 a1c6a512-1295-4272-9138-f99709370657
2007-08-01 20:26:04 +00:00
Jens Arnold
39357e9235
Atomic mutexes on SH1.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14121 a1c6a512-1295-4272-9138-f99709370657
2007-08-01 18:57:48 +00:00
Jens Arnold
fa1073efe7
Fix PP502x clock source masking.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14116 a1c6a512-1295-4272-9138-f99709370657
2007-08-01 12:51:06 +00:00
Jens Arnold
174c7abdff
Add some new findings to the PP header files. * Clean up ata-target.h for PP. * check_registers() seems to work fine on PP5002.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14114 a1c6a512-1295-4272-9138-f99709370657
2007-08-01 10:43:45 +00:00
Nils Wallménius
0bfa3e76ce
Disable 'Disk spindown' and 'Anti skip buffer' settings and some related stuff for flash storage targets as they make no sense
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14110 a1c6a512-1295-4272-9138-f99709370657
2007-08-01 08:50:44 +00:00
Barry Wardell
ab88fb3738
Simplify PP502x clock handling code. The code is almost identical between PP502x models, so combine it where possible. Binaries produces are unchanged.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14107 a1c6a512-1295-4272-9138-f99709370657
2007-07-31 21:13:35 +00:00
Barry Wardell
2fc19497fc
PP502x: Clock setup cleanup.
...
* Prepare sleep mode by adding CPUFREQ_SLEEP, as was done previsouly with PP5002. This is already confirmed working on PP5020 (H10), PP5022 (mini2g) and PP5024 (Sansa), but a lot of functions in rockbox will probably hang because the microsecond timer isn't running in this mode.
* Simplify set_cpu_frequency() somewhat to make it more like the PP5002 version.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14106 a1c6a512-1295-4272-9138-f99709370657
2007-07-31 20:48:49 +00:00
Michael Sevakis
aea433c3e3
Stop the red. Move some stuff into #ifndef SIMULATOR block.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14102 a1c6a512-1295-4272-9138-f99709370657
2007-07-31 13:10:33 +00:00
Michael Sevakis
60b01fa0f7
Straignten out some issues with HAVE_LCD_ENABLE. 1g/2g/3g had it defined but it shouldn't have been. lcd_enabled() was only available as a real function on gigabeat but others can use that too. Markup lcd.h a bit because I got a bit lost in it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14100 a1c6a512-1295-4272-9138-f99709370657
2007-07-31 12:43:06 +00:00
Jonathan Gordon
42e42226b8
working volume control in the sim
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14097 a1c6a512-1295-4272-9138-f99709370657
2007-07-31 11:41:42 +00:00
Jens Arnold
1bc3b7feb2
PP5002: Clock setup cleanup. * Switch to 80MHz when boosted like on the other PP targets. * Prepare sleep mode by adding CPUFREQ_SLEEP. This is already confirmed working, but a lot of functions in rockbox will probably hang because the microsecond timer isn't running in this mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14096 a1c6a512-1295-4272-9138-f99709370657
2007-07-31 10:56:50 +00:00
Jens Arnold
9bba398e68
Unify the 3 copies of the PP502x IRQ handler, and don't schedule button interrupts to the COP.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14092 a1c6a512-1295-4272-9138-f99709370657
2007-07-31 09:33:45 +00:00
Michael Sevakis
47bc31a174
PP502x: Add some important information about CPU/COP_CTL register to the header gleaned from a PP5022C. Maybe it's all wrong. :P
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14088 a1c6a512-1295-4272-9138-f99709370657
2007-07-31 06:07:59 +00:00
Jens Arnold
4e8b171fc4
Interrupt driven ADC reading on the 2nd gen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14086 a1c6a512-1295-4272-9138-f99709370657
2007-07-30 23:48:03 +00:00
Peter D'Hoye
35274ce119
code police, no functional changes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14085 a1c6a512-1295-4272-9138-f99709370657
2007-07-30 22:33:31 +00:00
Jens Arnold
a4a3cd9d52
First version of a 1st/2nd gen ADC driver. 1st gen is untested yet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14082 a1c6a512-1295-4272-9138-f99709370657
2007-07-30 20:12:03 +00:00
Jens Arnold
2e2f92c906
H1x0, H300: Get rid of the adc tick, and use the same concept as the iAudio ADC driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14079 a1c6a512-1295-4272-9138-f99709370657
2007-07-30 19:13:59 +00:00
Michael Sevakis
a690ebb1d1
Trim a little bulk off the scheduler for dual core. Shouldn't change bin size on single except for a small function call avoidance.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14075 a1c6a512-1295-4272-9138-f99709370657
2007-07-30 16:44:36 +00:00
Jens Arnold
ffb121c7a3
iPod 1st..3rd gen: Interrupt driven button driver for 100% smooth wheel operation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14054 a1c6a512-1295-4272-9138-f99709370657
2007-07-29 08:03:21 +00:00
Jens Arnold
604e44d0e2
iPod 1st..3rd gen: Fix CPU scaling instability on PP5002 * Add some new info to pp5002.h and sort it by port address.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14053 a1c6a512-1295-4272-9138-f99709370657
2007-07-29 07:50:34 +00:00
Michael Sevakis
62c8e2d69d
Stop Gigabeat bootloader from panicing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14052 a1c6a512-1295-4272-9138-f99709370657
2007-07-29 07:41:19 +00:00
Michael Sevakis
e64f7e3a6f
Add a new timeout API to the kernel. Enable only for e200 right now since it's the only user. Use that as the one-shot delay for SD card inserts.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14049 a1c6a512-1295-4272-9138-f99709370657
2007-07-29 04:49:19 +00:00
Kevin Ferrare
f3114f3af2
How should I say ... oops ?
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14047 a1c6a512-1295-4272-9138-f99709370657
2007-07-29 04:01:46 +00:00
Kevin Ferrare
81aac2a430
Use multi-screen api for metronome plugin, and made it run in the simulator by implementing the timer functions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14046 a1c6a512-1295-4272-9138-f99709370657
2007-07-29 03:43:37 +00:00
Michael Sevakis
5832b59c85
Fix warnings and errors. Remove some added stuff that wasn't needed afterall.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14036 a1c6a512-1295-4272-9138-f99709370657
2007-07-28 08:45:57 +00:00
Michael Sevakis
58fc279d26
Scroll on main and remote with a single thread. Change the way system messages are defined before running out is an issue (which requires a full update of rockbox on the player).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14035 a1c6a512-1295-4272-9138-f99709370657
2007-07-28 08:12:05 +00:00
Jens Arnold
018d555995
Sound working on iPod 2nd gen, but very unstable (applies also to 3rd gen). Freezes most of the time. Reverting the >66MHz unlock makes it a bit better, but also not stable. Using the C FIQ has the same effect.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14029 a1c6a512-1295-4272-9138-f99709370657
2007-07-27 18:15:03 +00:00
Antoine Cellerier
6f13f4cd8f
Cosmetics (remove tab and trailing spaces)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14028 a1c6a512-1295-4272-9138-f99709370657
2007-07-27 17:53:43 +00:00
Jens Arnold
41534a9ace
2nd gen: Correct LCD inversion state on init. * Fine tuned default contrast.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14025 a1c6a512-1295-4272-9138-f99709370657
2007-07-27 12:40:36 +00:00
Jens Arnold
a09f34e767
Oops.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14024 a1c6a512-1295-4272-9138-f99709370657
2007-07-27 12:10:25 +00:00
Jens Arnold
021c0868dd
iPod 2nd gen: * Fake battery voltage of 4.00V so rockbox doesn't shutdown (ADC is not yet implemented). * Fix button hold polarity for main rockbox. * Implement backlight inversion (the 1st/2nd gen backlight works in a way that makes the LCD look inverted when active). * Fix default contrast and clean up target tree.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14022 a1c6a512-1295-4272-9138-f99709370657
2007-07-27 12:05:54 +00:00
Jens Arnold
b701322fea
Rockbox compiles and boots now on the 2nd gen, but doesn't work properly yet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14021 a1c6a512-1295-4272-9138-f99709370657
2007-07-27 09:57:27 +00:00
Jens Arnold
b7ea98f0ea
Further G1/G2 work. Bootloader compiles now, but probably won't work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14017 a1c6a512-1295-4272-9138-f99709370657
2007-07-26 23:02:37 +00:00
Jens Arnold
9382e55415
Preparations for iPod G1 and G2. Does not even compile properly yet. * Sorted target cases in configure by menu number.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14016 a1c6a512-1295-4272-9138-f99709370657
2007-07-26 22:42:31 +00:00
Jens Arnold
3deb27053a
Fix red bootloader builds. * Fix non-working PP5022 bootloaders. Also define correct IRAM size for PP5022/PP5024 bootloaders.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14015 a1c6a512-1295-4272-9138-f99709370657
2007-07-26 21:51:44 +00:00
Jens Arnold
bd1592ed5a
H10: Speed up LCD updates significantly (~+80% when boosted).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14006 a1c6a512-1295-4272-9138-f99709370657
2007-07-26 15:33:25 +00:00
Jens Arnold
8d3ac97aff
Clean up PP502x CPU clock setup code and use the full 80MHz when boosted.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14004 a1c6a512-1295-4272-9138-f99709370657
2007-07-26 15:07:16 +00:00