Jonathan Gordon
a5e788fe85
slow - but working - IRQ based uart/button driver.
...
change some of the uart function names from CamelCase
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14908 a1c6a512-1295-4272-9138-f99709370657
2007-09-30 08:18:46 +00:00
Nicolas Pennequin
f548336e27
Fix the LCD line remaining active after shutdown on grayscale ipods (FS#5199). Original patch by Tomasz Mon, modified by me.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14907 a1c6a512-1295-4272-9138-f99709370657
2007-09-29 20:56:07 +00:00
Karl Kurbjun
04188968f6
ATA works - dumb mistake
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14905 a1c6a512-1295-4272-9138-f99709370657
2007-09-29 16:52:45 +00:00
Michael Sevakis
329913d2bd
Fix a little mistake in linker file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14900 a1c6a512-1295-4272-9138-f99709370657
2007-09-29 07:32:41 +00:00
Michael Sevakis
3e7d4f0d14
Anti-red?
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14899 a1c6a512-1295-4272-9138-f99709370657
2007-09-29 06:56:21 +00:00
Michael Sevakis
da55251a35
Compile Portal Player bootloaders as single core. Cleanup the startup code for bootloaders. Remove cop stack entirely and keep IRAM use down on all relevant targets - just use the 128-byte idle stack. Use the inline asm version of current_core for pp5002 as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14898 a1c6a512-1295-4272-9138-f99709370657
2007-09-29 06:17:33 +00:00
Michael Sevakis
869de4d10a
Oops. Can't wait for COP init in the bootloader because it is kept asleep until the firmware is ready to be run.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14888 a1c6a512-1295-4272-9138-f99709370657
2007-09-28 17:24:29 +00:00
Thom Johansen
1ef5dadec5
Try to fix the case where Ipods would spuriously wake up even though no alarm had been set.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14885 a1c6a512-1295-4272-9138-f99709370657
2007-09-28 15:09:54 +00:00
Nicolas Pennequin
49a9e1ef35
Make the gradient look better when more than one line is selected (running time, ID3 info, cuesheet viewer...). I haven't found a solution for scrolling yet, so that won't look too good.
...
The recording screen code needs a bit of adapting too, but I don't have a target to test on, so leave it for now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14884 a1c6a512-1295-4272-9138-f99709370657
2007-09-28 13:49:43 +00:00
Nicolas Pennequin
f333c97176
Factor out the gradient drawing code. Should save some bytes and makes the code more readable.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14883 a1c6a512-1295-4272-9138-f99709370657
2007-09-28 12:12:35 +00:00
Thom Johansen
d6ad3fbeb5
FS #7763 by Andree Buschmann. Speed up video rendering for Ipod Video.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14882 a1c6a512-1295-4272-9138-f99709370657
2007-09-28 11:25:02 +00:00
Michael Sevakis
a13a1d5492
Anti-red: No need for COP initialization in the bootloaders nor idle stacks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14880 a1c6a512-1295-4272-9138-f99709370657
2007-09-28 10:54:27 +00:00
Michael Sevakis
7914e90738
Commit a subset of the dual core changes that have to do with cache handling, stacks, firmware startup and thread startup. Tested on e200, H10-20GB, iPod Color and 5.5G. Thread function return implemented for all targets. Some changes to plugins to follow shortly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14879 a1c6a512-1295-4272-9138-f99709370657
2007-09-28 10:20:02 +00:00
Björn Stenberg
edbf5d81f5
Fixed a warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14878 a1c6a512-1295-4272-9138-f99709370657
2007-09-28 09:00:04 +00:00
Björn Stenberg
b452fb6dfe
Skip spindown and delay on flash targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14877 a1c6a512-1295-4272-9138-f99709370657
2007-09-28 07:56:46 +00:00
Björn Stenberg
0a231de536
Improved magic by Mark Arigo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14876 a1c6a512-1295-4272-9138-f99709370657
2007-09-28 07:56:20 +00:00
Nicolas Pennequin
68be596335
Fix corrupted display of the gradient selector for scrolling lines in some colour configurations. Thanks to preglow for spotting.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14869 a1c6a512-1295-4272-9138-f99709370657
2007-09-27 17:02:26 +00:00
Nicolas Pennequin
f3b015f73b
FS#7808 by Tom Ross, Ken Fazzone and me, with help from Antoine Cellerier.
...
Add two new line selector types: solid colour and gradient. Solid colour only uses the primary colour setting.
The secondary colour setting is used for the gradient. Text colour for the selected item is also changeable.
These new settings are a bit controversial so they may be removed later.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14868 a1c6a512-1295-4272-9138-f99709370657
2007-09-27 15:42:55 +00:00
Mark Arigo
61a83c02a3
Sansa c200: fix system_reboot with some magic from the OF. Reboot to the OF when usb is inserted.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14862 a1c6a512-1295-4272-9138-f99709370657
2007-09-27 02:50:50 +00:00
Björn Stenberg
1bf813d682
Enabled button light for Sansa C200
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14856 a1c6a512-1295-4272-9138-f99709370657
2007-09-25 20:24:38 +00:00
Catalin Patulea
7790fded36
m:robe 500i port: Fix tab style (tab -> 4 spaces) in system-mr500.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14854 a1c6a512-1295-4272-9138-f99709370657
2007-09-25 04:46:23 +00:00
Catalin Patulea
2a0ae89c26
m:robe 500i port: Get interrupts firing and the timer ticking
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14853 a1c6a512-1295-4272-9138-f99709370657
2007-09-25 04:45:49 +00:00
Michael Sevakis
287d6223d3
Dithering option for mpegplayer on gigabeat-f/x and e200. Assembly IDCT for ARm just to make it all work more nicely. Move UI simulator YUV code to its core to adapt it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14851 a1c6a512-1295-4272-9138-f99709370657
2007-09-25 02:59:42 +00:00
Karl Kurbjun
968ba0a277
More ATA work (that doesn't work)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14848 a1c6a512-1295-4272-9138-f99709370657
2007-09-25 01:44:57 +00:00
Catalin Patulea
0432157455
m:robe 500i port: Fix the way GIOs are cleared
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14845 a1c6a512-1295-4272-9138-f99709370657
2007-09-24 21:39:42 +00:00
Jens Arnold
361cdac365
The C200 LCD controller is a Samsung S6B33B2. Define appropriate register names, and implement display flip.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14838 a1c6a512-1295-4272-9138-f99709370657
2007-09-24 00:18:09 +00:00
Karl Kurbjun
9ac9cc6024
Working DM320 interrupts, changed the way registers are accessed in spi and uart drivers. Uart might be broken with interrupts - buttons on remote don't seem to respond when interrupts are enabled.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14836 a1c6a512-1295-4272-9138-f99709370657
2007-09-23 23:08:39 +00:00
Jens Arnold
bf169ed7db
Speed up C200 lcd_update() by ~7%.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14834 a1c6a512-1295-4272-9138-f99709370657
2007-09-23 19:15:01 +00:00
Karl Kurbjun
1b9026a86d
Fix a change that shouldn't have been committed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14831 a1c6a512-1295-4272-9138-f99709370657
2007-09-23 15:39:48 +00:00
Tomasz Malesinski
4fc77ac3ff
Fix empty commit: Add grayscale support for ARM in vertical packing format.
...
Enable grayscale for Iriver ifp. Fix timer_unregister for PNX0101.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14825 a1c6a512-1295-4272-9138-f99709370657
2007-09-22 23:37:58 +00:00
Karl Kurbjun
67ef4500e3
More interupt/timer work
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14823 a1c6a512-1295-4272-9138-f99709370657
2007-09-22 23:17:52 +00:00
Tomasz Malesinski
7d1eeddf93
ata_flash.c: write 32 bits to the buffer at a time when reading a sector.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14822 a1c6a512-1295-4272-9138-f99709370657
2007-09-22 22:53:29 +00:00
Karl Kurbjun
bebbac8888
Make sure that SVN keywords are set properly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14817 a1c6a512-1295-4272-9138-f99709370657
2007-09-22 15:43:38 +00:00
Jonathan Gordon
d331d00a2d
start of the tsc2100 driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14816 a1c6a512-1295-4272-9138-f99709370657
2007-09-22 14:21:07 +00:00
Karl Kurbjun
4a42723c33
Seperate M:Robe crt0.S, fix the vector tables for the bootloader, and show touchscreen values on single line.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14814 a1c6a512-1295-4272-9138-f99709370657
2007-09-22 06:04:14 +00:00
Will Robertson
26a05afe10
A few minor cleanups for the Gigabeat S
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14812 a1c6a512-1295-4272-9138-f99709370657
2007-09-22 02:17:08 +00:00
Will Robertson
590501cfe4
Merge the Gigabeat S branch back into trunk. Fingers crossed nothing breaks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14805 a1c6a512-1295-4272-9138-f99709370657
2007-09-21 15:51:53 +00:00
Catalin Patulea
8664a4d425
m:robe 500i port: Less warnings = good.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14799 a1c6a512-1295-4272-9138-f99709370657
2007-09-21 09:09:59 +00:00
Catalin Patulea
c3126e0f3c
m:robe 500i port: Add primitives for the SPI bus and start moving toward new-style register definitions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14798 a1c6a512-1295-4272-9138-f99709370657
2007-09-21 09:06:02 +00:00
Jonathan Gordon
c5d22bce6e
minor fix for remote button code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14795 a1c6a512-1295-4272-9138-f99709370657
2007-09-21 02:05:02 +00:00
Peter D'Hoye
a576657011
Get/Set Interface - just stores the value, makes one more compliance test pass
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14794 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 23:31:57 +00:00
Tomasz Malesinski
0979cae1cd
Disable tagcache on iriver iFP to save some memory.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14793 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 22:16:08 +00:00
Tomasz Malesinski
026032f06d
PNX0101: new register names and polishing support for Clock Generation Unit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14792 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 22:13:48 +00:00
Jonathan Gordon
300f64c99a
uart driver (which the buttons need) and button test code in the bootloader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14768 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 09:08:40 +00:00
Christian Gmeiner
1408285636
make use of register defines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14767 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 08:44:32 +00:00
Jonathan Gordon
376429dc9d
mr-500 button driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14766 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 08:42:06 +00:00
Jonathan Gordon
6c9cbfb803
add some missing files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14765 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 08:11:56 +00:00
Jonathan Gordon
bdf4d3927c
Hopefully fix all the errors/warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14764 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 08:01:56 +00:00
Karl Kurbjun
7b97fe21c0
Beginning of an M:Robe 500i port. Currently only in the bootloader stage. Needs another piece of code to start the boot process - will be in the wiki.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14763 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 04:46:41 +00:00
Mark Arigo
a80c0e8b83
Fix the sound on the c200 by resetting all devices as done on the e200. Make the reset sequence like the c200 OF with hopefully no ill effects to the e200.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14762 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 02:46:11 +00:00
Peter D'Hoye
e4363c116c
usb stack code police, fix some warnings and set svn keywords correctly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14761 a1c6a512-1295-4272-9138-f99709370657
2007-09-19 23:20:55 +00:00
Thom Johansen
294ec1d110
Remove the ID3 tag version priority setting on the grounds of it being pretty pointless. ID3v2 tags are superior to ID3v1 tags, and needs less seeking around to find.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14750 a1c6a512-1295-4272-9138-f99709370657
2007-09-19 10:40:55 +00:00
Mark Arigo
547cffb90b
Add some magic to the Sansa c200 bootloader to boot the OF.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14749 a1c6a512-1295-4272-9138-f99709370657
2007-09-19 03:02:34 +00:00
Peter D'Hoye
137ce71709
Kick the idle poweroff timer on wheel activity. Should fix FS #7786
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14747 a1c6a512-1295-4272-9138-f99709370657
2007-09-18 21:44:47 +00:00
Nils Wallménius
804aada500
Increase Max settable battery capacity for the H10, closes FS#7795
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14746 a1c6a512-1295-4272-9138-f99709370657
2007-09-18 21:10:47 +00:00
Daniel Stenberg
a20f32d2a5
import and use the Linux one instead, bound to be faster
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14741 a1c6a512-1295-4272-9138-f99709370657
2007-09-18 07:04:05 +00:00
Christian Gmeiner
2077cebca0
* implement strstr
...
* clean up usb_arcotg_dcd_enable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14740 a1c6a512-1295-4272-9138-f99709370657
2007-09-17 23:06:23 +00:00
Christian Gmeiner
689d5fd446
implement usb_arcotg_dcd_disable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14739 a1c6a512-1295-4272-9138-f99709370657
2007-09-17 22:23:51 +00:00
Peter D'Hoye
b0c996ba92
code police, no functional changes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14737 a1c6a512-1295-4272-9138-f99709370657
2007-09-17 20:49:02 +00:00
Magnus Holmgren
8620e3e864
Remove redundant remove call, which caused problems in the simulator.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14728 a1c6a512-1295-4272-9138-f99709370657
2007-09-16 11:39:49 +00:00
Nils Wallménius
b96ab07d6f
Allow higher battery capacities to be set for ipod 3G, closes FS#7782
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14707 a1c6a512-1295-4272-9138-f99709370657
2007-09-15 07:46:43 +00:00
Nils Wallménius
d718c27798
Tab police
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14691 a1c6a512-1295-4272-9138-f99709370657
2007-09-14 16:04:01 +00:00
Nils Wallménius
141e663768
Accept FS#7765 by Catalin Patulea, fixes an incorrect struct definition
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14682 a1c6a512-1295-4272-9138-f99709370657
2007-09-13 17:56:08 +00:00
Jens Arnold
f265ee9cd5
* Don't touch the backlight(s) (and buttonlight) at backlight init in order to avoid a short flash when the lights are both disabled in the bootloader and in rockbox settings. * Properly reflect the backlight state set by the 1st/2nd gen bootloader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14679 a1c6a512-1295-4272-9138-f99709370657
2007-09-12 22:24:58 +00:00
Michael Sevakis
e6511d8eaa
Faster video rendering for e200 and Gigabeat.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14675 a1c6a512-1295-4272-9138-f99709370657
2007-09-12 09:02:31 +00:00
Nils Wallménius
cab33b64a0
Accept patch in FS#7751 by Catalin Patulea, move ifp port specific pcm code to a new file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14670 a1c6a512-1295-4272-9138-f99709370657
2007-09-11 15:34:54 +00:00
Jonathan Gordon
9db22efd1f
Firmware "hacker" code for the e200r install so the full bootloader rom doesnt need to be written.
...
Requires a custom version of e200tool which isnt available yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14654 a1c6a512-1295-4272-9138-f99709370657
2007-09-09 11:20:20 +00:00
Michael Sevakis
e847054e63
Fix a warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14647 a1c6a512-1295-4272-9138-f99709370657
2007-09-09 02:14:32 +00:00
Michael Sevakis
0107dfc827
UISIMULATOR: Give the host OS some needed context switching hints (which _is_ supposed to work on Linux - but I can't tell on VMWare - and does on Windows). I guess I'll know for sure soon. Give sleep() even more genuine behavior. Add some button driver sync with the rockbox threads that should have been there for some time - this is basically interrupt-like processing as any thread not in the kernel pool should be considered. Make the screendump work again by posting the request. Perhaps help out shutting down for some users but not in the way I'd prefer - to think about.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14646 a1c6a512-1295-4272-9138-f99709370657
2007-09-09 01:59:07 +00:00
Dave Chapman
4bb2eeee3a
Add missing files following the C200 commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14641 a1c6a512-1295-4272-9138-f99709370657
2007-09-08 19:49:31 +00:00
Michael Sevakis
f64ebb1c1f
Sim I/O and threading that runs more like on target. Tweakable if any genuine slowness imitation is required for any one of them. One point of concern is the sim shutdown on an OS other than Linux just because terminating threads in a manner other than having the do it themselves is kind of dirty IMHO.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14639 a1c6a512-1295-4272-9138-f99709370657
2007-09-08 12:20:53 +00:00
Mark Arigo
69b4654ea2
Allow the volume keys to be used in lists. Fix the sim buttons.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14638 a1c6a512-1295-4272-9138-f99709370657
2007-09-08 03:30:32 +00:00
Christian Gmeiner
db4753e924
usb stack: add support for standard request get string
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14626 a1c6a512-1295-4272-9138-f99709370657
2007-09-06 07:17:54 +00:00
Mark Arigo
dbc6b4e39a
Sansa c200 port. Rockbox works with sound. Several features are disabled including some lcd options, FM radio, recording, and all plugins. Loading the OF from the Rockbox bootloader does not work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14625 a1c6a512-1295-4272-9138-f99709370657
2007-09-06 03:28:58 +00:00
Mark Arigo
4f3bcbbb11
Move files that will be common to the Sansa e200 and c200
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14624 a1c6a512-1295-4272-9138-f99709370657
2007-09-06 03:01:41 +00:00
Christian Gmeiner
2c30bd9245
try #2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14622 a1c6a512-1295-4272-9138-f99709370657
2007-09-05 16:16:49 +00:00
Christian Gmeiner
1a8f7c51b3
fix usb detection for usb stack
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14621 a1c6a512-1295-4272-9138-f99709370657
2007-09-05 15:52:49 +00:00
Michael Sevakis
bc35acffd9
Commit FS#7692 - LCD garbled top two lines by Jesse Lockwood and Jonathan Backer. Works on mine and others' older models without trouble and provides a genuine fix for the garbled display lines issue troubling newer ones.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14620 a1c6a512-1295-4272-9138-f99709370657
2007-09-05 07:58:42 +00:00
Jens Arnold
af533820ee
More efficient version of the fix.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14619 a1c6a512-1295-4272-9138-f99709370657
2007-09-05 06:48:33 +00:00
Jens Arnold
fcab061250
Hopefully stop the crashes on database init on ARM (and SH1) targets when comment tags using UTF-16 are present.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14618 a1c6a512-1295-4272-9138-f99709370657
2007-09-05 06:27:59 +00:00
Jens Arnold
19d141a3eb
Fix USB detection on the Player.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14615 a1c6a512-1295-4272-9138-f99709370657
2007-09-05 00:24:28 +00:00
Christian Gmeiner
e267bc722d
get experimental usb stack compiling
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14613 a1c6a512-1295-4272-9138-f99709370657
2007-09-04 23:29:42 +00:00
Jonas Häggqvist
d8e6b4389f
Include some more stuff in the tarballs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14606 a1c6a512-1295-4272-9138-f99709370657
2007-09-04 21:53:33 +00:00
Robert Kukla
3fbd2414af
fix sub-string comparison
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14602 a1c6a512-1295-4272-9138-f99709370657
2007-09-04 08:23:12 +00:00
Dave Chapman
1672350378
FS #7691 - improved USB detection on PP devices. This patch modifies the target-tree function usb_detect() on all targets from bool to int, returning USB_INSERTED or USB_EXTRACTED instead of true or false. This was done to enable the PP usb_detect() to check for USB_POWER (either a connection to a USB wall charger, or the user holding "charge mode" button) and return that as a third value.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14600 a1c6a512-1295-4272-9138-f99709370657
2007-09-04 08:03:07 +00:00
Magnus Holmgren
72fafe48b9
Fix FS#7698, UTF-16 comments not read correctly. Also ignore more iTunes comments.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14594 a1c6a512-1295-4272-9138-f99709370657
2007-09-03 16:15:08 +00:00
Jonathan Gordon
e73f287b5a
Fix FS#7679 - modifying files with dircahce enabled doesnt change the access time/date in dircache
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14580 a1c6a512-1295-4272-9138-f99709370657
2007-09-02 13:24:51 +00:00
Nils Wallménius
58b9a12216
Accept patch in FS#6869 by Justin Foell, increases maximum settable battery capacity to 1200 mAh for ipod color and 4g, closes FS#6422
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14572 a1c6a512-1295-4272-9138-f99709370657
2007-09-02 07:31:10 +00:00
Christian Gmeiner
720610bc0e
remove unused vars
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14552 a1c6a512-1295-4272-9138-f99709370657
2007-08-30 22:26:46 +00:00
Christian Gmeiner
7e7d0dbee6
* remove more debug
...
* add basic way to detect IN transfers.. more will follow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14551 a1c6a512-1295-4272-9138-f99709370657
2007-08-30 22:20:24 +00:00
Christian Gmeiner
649734f5fc
remove some debug..
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14543 a1c6a512-1295-4272-9138-f99709370657
2007-08-30 19:55:36 +00:00
Christian Gmeiner
3a0c78bb76
add usb state handling and other small fixes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14541 a1c6a512-1295-4272-9138-f99709370657
2007-08-30 19:23:37 +00:00
Christian Gmeiner
c7b3f8be9b
add missing get configuration request handling
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14530 a1c6a512-1295-4272-9138-f99709370657
2007-08-29 22:04:09 +00:00
Christian Gmeiner
e3bef6728f
make USB Command Verifier happy
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14526 a1c6a512-1295-4272-9138-f99709370657
2007-08-29 19:13:07 +00:00
Christian Gmeiner
4caf4f96a0
if new speed is used speed stop
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14511 a1c6a512-1295-4272-9138-f99709370657
2007-08-29 13:20:48 +00:00
Christian Gmeiner
57c2a5fa5a
add support to switch device driver at runtime
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14508 a1c6a512-1295-4272-9138-f99709370657
2007-08-29 11:55:23 +00:00
Christian Gmeiner
17f2dd5c13
endpoint address was only set in fs descriptor, but we need it in hs too. Update storage device descriptor dynamic based on dcd
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14507 a1c6a512-1295-4272-9138-f99709370657
2007-08-29 10:14:47 +00:00
Christian Gmeiner
9226ffd351
uppps
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14503 a1c6a512-1295-4272-9138-f99709370657
2007-08-29 09:17:48 +00:00
Christian Gmeiner
7d4c7f9f28
we use only 2 endpoints
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14502 a1c6a512-1295-4272-9138-f99709370657
2007-08-29 09:17:15 +00:00
Peter D'Hoye
52a60df47e
code police part two (/me blames his editor)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14500 a1c6a512-1295-4272-9138-f99709370657
2007-08-29 00:47:04 +00:00
Peter D'Hoye
5f59f94554
code police part one...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14499 a1c6a512-1295-4272-9138-f99709370657
2007-08-29 00:33:16 +00:00
Peter D'Hoye
c04dd32772
Add the define for the usb stack (in comment) on targets that can be used for it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14498 a1c6a512-1295-4272-9138-f99709370657
2007-08-29 00:20:01 +00:00
Peter D'Hoye
924e906c27
Remove two more warnings when building the usb stack
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14497 a1c6a512-1295-4272-9138-f99709370657
2007-08-28 23:49:03 +00:00
Peter D'Hoye
f2bf042edf
Remove a warning when building the stack and add some comment in the ifdef hell
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14494 a1c6a512-1295-4272-9138-f99709370657
2007-08-28 21:32:28 +00:00
Christian Gmeiner
4474d6827c
binding a device driver could fail.. handle this case
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14493 a1c6a512-1295-4272-9138-f99709370657
2007-08-28 20:50:41 +00:00
Christian Gmeiner
195ef597f5
Add support for full and highspeed in stack and drivers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14492 a1c6a512-1295-4272-9138-f99709370657
2007-08-28 20:29:28 +00:00
Dave Chapman
b016131c00
Set svn:keywords
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14485 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 22:12:35 +00:00
Dave Chapman
03745f4ed3
Cosmetic changes only - tab, whitespace and brace policing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14484 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 22:07:36 +00:00
Dave Chapman
a6d52a8305
Oops, arcotg_udc.h is also needed when HAVE_USBSTACK is enabled
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14483 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 21:59:57 +00:00
Dave Chapman
0152851fe8
Add the new USB code to the source tarballs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14482 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 21:15:37 +00:00
Dave Chapman
9551ae92a5
Repair the USB detection on ipods and H10s which was broken by commit 14470. The intention is that when the experimental HAVE_USBSTACK is not defined, the old (pre-14470) code is run.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14481 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 18:21:05 +00:00
Dave Chapman
0f3987ce7f
arcotg_udc.c should not have been removed - restore it in the new location for USB drivers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14479 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 17:55:14 +00:00
Christian Gmeiner
5365535daa
fix lang problem and little clean up
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14477 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 17:45:01 +00:00
Christian Gmeiner
0877a1a9f5
remove old driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14475 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 17:37:06 +00:00
Christian Gmeiner
863ce442ec
green now?
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14474 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 16:30:23 +00:00
Christian Gmeiner
f286bdec63
fix red and yellow - i hope and double content in some files.. dont ask how this could happen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14473 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 16:26:56 +00:00
Christian Gmeiner
5b68d911ce
oops... disable stack
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14471 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 16:06:08 +00:00
Christian Gmeiner
8181a0c905
Usb Stack: only setup packet handling, and not enabled by default as there is a lot to do.
...
* settings code is not fully ready -> changing device driver has no effect
* clean ups
* check copyriths
* find a way to detect IN transfers
* support for full and highspeed
* ...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14470 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 16:04:32 +00:00
Magnus Holmgren
cdfb22f9df
Remove some debug code. Remove some unnecessary checks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14454 a1c6a512-1295-4272-9138-f99709370657
2007-08-25 10:56:22 +00:00
Magnus Holmgren
4e68732769
Small ReplayGain cleanup. Move RVA2 specific code to id3.c and don't do the parsing via strings. Generalize parts of the code for later use by MPC. Make some local functions static. Add and update some comments for clarity.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14453 a1c6a512-1295-4272-9138-f99709370657
2007-08-25 10:25:13 +00:00
Robert Keevil
b8bb521fc7
FS #6639 - Fixes for Last.fm logging on HWCODEC targets by Boris Gjenero
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14443 a1c6a512-1295-4272-9138-f99709370657
2007-08-23 18:53:17 +00:00
Barry Wardell
ec6ca5ae94
FS#7634: Add support for high capacity microSD cards (SDHC). We now support SD specification Version 2.00 which covers cards up to 32GB in size.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14424 a1c6a512-1295-4272-9138-f99709370657
2007-08-22 00:32:45 +00:00
Peter D'Hoye
0d5451e7bd
H10: add more time between enabling touch-pad and reading ADC. Greatly improves touchpad stability. Add (and disable) checking for ADC done bit. Disabled because not yet working.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14419 a1c6a512-1295-4272-9138-f99709370657
2007-08-21 23:37:26 +00:00
Jens Arnold
7c37c54ce5
iPod 1st Gen: Dynamic wheel enable. This reduces wheel power consumption to about 0.5% when hold is not enabled and there is no activity, and keeps it disabled on hold.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14386 a1c6a512-1295-4272-9138-f99709370657
2007-08-18 09:47:19 +00:00
Jens Arnold
347b351e8a
iPod 1st Gen: Electronically disable the wheel when hold is enabled, saving quite some power.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14383 a1c6a512-1295-4272-9138-f99709370657
2007-08-18 08:14:07 +00:00
Jens Arnold
bfa1adcd06
H300: Read battery voltage with 10bit precision.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14379 a1c6a512-1295-4272-9138-f99709370657
2007-08-17 20:47:24 +00:00
Jens Arnold
0fac492c3d
First step of powermanagement rework: * Move target specific stuff into target tree, starting with battery voltage tables and voltage reading. (This revealed some incorrect percent_to_voltage_charging mappings). * Voltage reading on 1st gen ipods is now correct. * Clean up obsolete config #defines.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14375 a1c6a512-1295-4272-9138-f99709370657
2007-08-17 06:45:18 +00:00
Jens Arnold
2a258eac6b
Fix signedness bug in trickle charge proportional adjustment which became visible due to the changed calculation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14371 a1c6a512-1295-4272-9138-f99709370657
2007-08-16 17:34:55 +00:00
Jens Arnold
1d1d9a8491
Switch to using millivolt for battery voltage and other internal voltages. * Fix debug voltage history display. * Some code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14364 a1c6a512-1295-4272-9138-f99709370657
2007-08-15 23:57:27 +00:00
Jens Arnold
c68e3cc3d6
Make the wheel work on 1st gen iPod.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14359 a1c6a512-1295-4272-9138-f99709370657
2007-08-15 17:53:23 +00:00
Jens Arnold
cacd382963
The target power handling code isn't meant to be compiled for the sim.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14346 a1c6a512-1295-4272-9138-f99709370657
2007-08-14 22:23:15 +00:00
Jens Arnold
8a177345ce
Moved archos power handling into target tree. * Tuner power handling cleaned up a bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14345 a1c6a512-1295-4272-9138-f99709370657
2007-08-14 22:06:23 +00:00
Jens Arnold
89f8f2e935
Ondios with backlight mod: * Make the backlight stay off in plain SVN builds (was always on before). * Switch off the light at the very end of shutdown to fake poweroff (the Ondio hardware stays powered until the user releases the button, or the hardware poweroff kicks in).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14342 a1c6a512-1295-4272-9138-f99709370657
2007-08-14 20:18:41 +00:00
Jens Arnold
b03ffacda9
Don't let the shutdown code mess with the backlight anymore on most targets. The backlight thread decides what to do on shutdown.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14340 a1c6a512-1295-4272-9138-f99709370657
2007-08-14 19:29:17 +00:00
Nicolas Pennequin
db15e5d3ba
Add an error check in get_mp3_metadata()
...
Check whether getonglength() succeeded or not, to prevent get_mp3_metadata()
from returning a success value when in fact it failed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14327 a1c6a512-1295-4272-9138-f99709370657
2007-08-14 11:56:14 +00:00
Jens Arnold
1e28f59f26
Mini G1: Enabled backlight fading. Attn. Mini G1 voice users: a new voice file is required.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14314 a1c6a512-1295-4272-9138-f99709370657
2007-08-13 17:57:34 +00:00
Nils Wallménius
542ff8b8c3
Remove unnecessary sim stubs and includes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14303 a1c6a512-1295-4272-9138-f99709370657
2007-08-12 21:20:54 +00:00
Nils Wallménius
f14a492c6b
Save a few bytes and make types more consistent
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14301 a1c6a512-1295-4272-9138-f99709370657
2007-08-12 20:22:08 +00:00
Nils Wallménius
f28da1a35a
Enable a lot more features for simulators and add stubs where necessary, simulators should now work with identical lng and voice files as the respective target
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14299 a1c6a512-1295-4272-9138-f99709370657
2007-08-12 19:49:03 +00:00
Robert Kukla
0bd027aa1a
ignore comments containing iTunes 7 gapless data; should solve issues reported in http://forums.rockbox.org/index.php?topic=12048.0 and http://forums.rockbox.org/index.php?topic=12053.0
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14294 a1c6a512-1295-4272-9138-f99709370657
2007-08-12 14:13:33 +00:00
Jens Arnold
671f5d4412
Removed special X5 backlight handling, and replaced it with a generic system that makes the backlight light up on shutdown and not time out unless it's completely disabled in the current player state.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14292 a1c6a512-1295-4272-9138-f99709370657
2007-08-12 11:18:52 +00:00
Jens Arnold
ffeaea65c8
Backlight rework: * More compact and straightforward implementation of backlight on hold which also fixes some quirks (e.g. Backlight: Off and Backlight on hold: On didn't work as expected). * Removed special code for the iriver non-LCD remote which didn't make sense and couldn't have worked anyway (hold isn't detectable for the iriver non-LCD remote). * Use SYS_CHARGER_CONNECTED and SYS_CHARGER_DISCONNECTED messages instead of monitoring ourselves.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14271 a1c6a512-1295-4272-9138-f99709370657
2007-08-10 21:55:48 +00:00
Jens Arnold
97bdfce5b6
iPod greyscale LCD driver: * Further speedup (timeout check turned out to be unnecessary, as well as setting the LCD control register every time on Mini G2. Put lcd_write_data() in IRAM on PP5002). * Better blacklevel stability on 1st...3rd gen. * lcd_enable() function in preparation for suspend on 1st/2nd gen, and shutdown without a black line remaining.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14264 a1c6a512-1295-4272-9138-f99709370657
2007-08-10 08:09:53 +00:00
Dan Everton
eecfe9f1cb
Add support for grouping tags. From FS#7362.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14242 a1c6a512-1295-4272-9138-f99709370657
2007-08-08 10:19:56 +00:00
Jens Arnold
92abed78cc
iPod greyscale LCD driver: Slight speedup and correct greylevels for other targets than 1st/2nd gen. * Code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14240 a1c6a512-1295-4272-9138-f99709370657
2007-08-08 07:57:34 +00:00
Jens Arnold
0ee44031f0
Use correct 1/3 and 2/3 greylevels.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14223 a1c6a512-1295-4272-9138-f99709370657
2007-08-06 20:17:30 +00:00
Jens Arnold
1fbcead9b3
Reduced battery consumption on PP5002 targets (iPod 1st/2nd gen and 3rd gen). Now rockbox battery runtime is better than OF, verified on 2nd gen :-)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14218 a1c6a512-1295-4272-9138-f99709370657
2007-08-06 17:26:28 +00:00
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
Michael Sevakis
31cf7e95b4
Reenable scaling on Sansa since a reasonable solution to clicks has been found.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13995 a1c6a512-1295-4272-9138-f99709370657
2007-07-26 10:46:17 +00:00
Jens Arnold
f67b4baf1d
Stop the occasional crashes (most often 'undefined instruction') on PP5020 (and PP5022?) targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13991 a1c6a512-1295-4272-9138-f99709370657
2007-07-26 05:06:11 +00:00
Dave Chapman
ebc076bc15
Remove the hack which read the ipod hardware revision from flash in the bootloader and passed it to Rockbox via a fixed address in SDRAM. Rockbox now remaps flash and so can just read the value itself. Also clean up the debug menu a little - only display the hw revision for ipods, and add the lcd_type variable to indicate the type of LCD (0 or 1) for ipod Color/Photo.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13986 a1c6a512-1295-4272-9138-f99709370657
2007-07-25 13:12:38 +00:00
Michael Sevakis
ea0d2cf7d6
Some rewriting of the e200 ata driver. No more panicing. Faster card multiplexing. Some calculated yielding (further tuneable if needed). Hopefully more reliable in general. Easy revert if rebellious.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13976 a1c6a512-1295-4272-9138-f99709370657
2007-07-25 06:15:07 +00:00
Michael Sevakis
873e0fd1ef
Wheel acceleration for e200. A general acceleration interface intended for use on any scroll target and by any code. A general interface to obtain data associated with most recently dequeued button presses and actions. Use #define HAVE_SCROLLWHEEL and set appropriate constants, values in the scroller driver that feel right.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13959 a1c6a512-1295-4272-9138-f99709370657
2007-07-22 21:02:24 +00:00
Miika Pekkarinen
9d756e2760
Queue song statistical data to the tagcache system and update entirely in background. Fixes ratings disappearing or not saving in the DB at all. Fixes also UI delay when stopping playback and new statistics are committed to DB.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13955 a1c6a512-1295-4272-9138-f99709370657
2007-07-21 17:35:19 +00:00
Kevin Ferrare
0843a070b8
Ooops
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13953 a1c6a512-1295-4272-9138-f99709370657
2007-07-21 14:21:45 +00:00
Kevin Ferrare
5633dc6ce3
This should fix dircache being disabled by my last commit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13952 a1c6a512-1295-4272-9138-f99709370657
2007-07-21 14:21:11 +00:00
Kevin Ferrare
011a325e32
Makes apps and plugins interract with directories using a posix-like api instead of calling dircache / simulator functions (no additionnal layer added, only a cosmetic change)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13943 a1c6a512-1295-4272-9138-f99709370657
2007-07-20 17:06:55 +00:00
Jens Arnold
f888509dad
Slight speedup for iAudio remote LCD update when the CPU isn't boosted.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13932 a1c6a512-1295-4272-9138-f99709370657
2007-07-19 21:24:47 +00:00
Nils Wallménius
9511526410
include the files in firmware/drivers/tuner in the tarballs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13930 a1c6a512-1295-4272-9138-f99709370657
2007-07-19 15:14:07 +00:00
Nils Wallménius
4102ed56f0
Revert cosmetic change and staticing of the rolo_restart() function, because it would break rolo for gigabeat if anyone ever implemented it (because ICODE_ATTR is defined to be null for gigabeats).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13924 a1c6a512-1295-4272-9138-f99709370657
2007-07-17 14:53:44 +00:00
Michael Sevakis
fb102bab70
Fix my mistakes in some bits in the WM8751 header. Looks like adaptive boost has been turned on by mistake anyway. Correct that and make sure it is turned on intentionally with the #define. Organize a little bit in there.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13923 a1c6a512-1295-4272-9138-f99709370657
2007-07-17 00:23:56 +00:00
Nils Wallménius
76fa0f7e30
Make a private function static where possible, add a comment, make a small cosmetic change
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13918 a1c6a512-1295-4272-9138-f99709370657
2007-07-16 19:26:07 +00:00
Michael Sevakis
f58dc4b227
Fix a typo that would cause incorrect enums.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13916 a1c6a512-1295-4272-9138-f99709370657
2007-07-16 15:25:06 +00:00
Michael Sevakis
ba0a9c418c
Hrm. Commit the other needed change too. :)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13899 a1c6a512-1295-4272-9138-f99709370657
2007-07-15 01:16:15 +00:00
Michael Sevakis
d219491e58
Gigabeat: Add the funky foreground color support for transparent bitmaps.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13898 a1c6a512-1295-4272-9138-f99709370657
2007-07-15 01:06:04 +00:00
Michael Sevakis
6c21dc5e62
Remove a change that wasn't supposed to stick around.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13897 a1c6a512-1295-4272-9138-f99709370657
2007-07-14 22:08:20 +00:00
Michael Sevakis
dc051248be
e200: Tuner driver needs to yield alot and also be mutexed. FM debug screen got broken again and was ignoring cancellation and not drawing the lines.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13896 a1c6a512-1295-4272-9138-f99709370657
2007-07-14 22:00:50 +00:00
Peter D'Hoye
74ad216ad3
More battery updates, this time for gigabeat. FS #7433 from Johnathon Mihalop
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13891 a1c6a512-1295-4272-9138-f99709370657
2007-07-14 15:24:01 +00:00
Peter D'Hoye
7ade14776f
Correction for ipod video and nano battery type. FS #7216 by Andree Buschmann
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13885 a1c6a512-1295-4272-9138-f99709370657
2007-07-14 14:46:52 +00:00
Michael Sevakis
680afafc23
Fix all the red this time?
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13884 a1c6a512-1295-4272-9138-f99709370657
2007-07-14 13:41:59 +00:00
Robert Keevil
ef65d91492
FS#7353 - mktime() is only used by targets that have an RTC
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13883 a1c6a512-1295-4272-9138-f99709370657
2007-07-14 12:34:52 +00:00
Michael Sevakis
338aa0b2f6
Oops. Forgot to add a file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13881 a1c6a512-1295-4272-9138-f99709370657
2007-07-14 11:25:02 +00:00
Michael Sevakis
7d759f6b9c
Do some planned radio interface cleanup since adding in the LV24020LP.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13880 a1c6a512-1295-4272-9138-f99709370657
2007-07-14 11:20:31 +00:00
Jonathan Gordon
60e7472f72
Fix FS#7044 - if the color RGB(0,255,255) is in a bmp it will be replaced with the current foreground colour
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13878 a1c6a512-1295-4272-9138-f99709370657
2007-07-14 09:19:46 +00:00
Steve Gotthardt
cd548090da
Makes the Adaptive Bass option not the default. To enable, you must uncomment the USE_ADAPTIVE_BASS in the config file and rebuild.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13870 a1c6a512-1295-4272-9138-f99709370657
2007-07-13 11:36:07 +00:00
Steve Gotthardt
828d719ac1
Changes bass setting to use adaptive bass instead of linear bass. The datasheet recommends it and it should stop clipping on bass.
...
Steve Gotthardt.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13867 a1c6a512-1295-4272-9138-f99709370657
2007-07-13 04:18:31 +00:00
Michael Sevakis
00251d1643
e200: This should stop lockups on sansa with struck SD card insert detection. Hopefully no new troubles will rear up.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13862 a1c6a512-1295-4272-9138-f99709370657
2007-07-12 06:50:42 +00:00
Michael Sevakis
0257c5b8fc
e200: adc_read needs mutex since it is accessed from multiple threads and yields. Remove polling for conversion completion since it will always have completed by the time it can be read out.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13861 a1c6a512-1295-4272-9138-f99709370657
2007-07-12 04:19:21 +00:00
Adam Gashlin
de4904a189
added missing extra null terminator to indicate end of WMA extension
...
list
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13854 a1c6a512-1295-4272-9138-f99709370657
2007-07-11 14:17:42 +00:00
Jens Arnold
39c56b3f17
iPod G3: Set the 'we (pretend to) know what we're doing so please let us' magic value. Aka unlock clock frequencies > 66MHz. Should make performance significantly better with problematic codecs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13845 a1c6a512-1295-4272-9138-f99709370657
2007-07-10 23:39:37 +00:00
Jens Arnold
85568d6040
iPod G3: Clock setup register display and CPU clock estimation in debug menu. * Fix clock being set to only half of what it should be (introduced with clock setup changes for PP502x).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13844 a1c6a512-1295-4272-9138-f99709370657
2007-07-10 20:47:01 +00:00
Michael Giacomelli
830f4fcc8a
Remove Sansa frequency scaling until issues with static during screen updates and recording are fixed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13839 a1c6a512-1295-4272-9138-f99709370657
2007-07-10 13:19:50 +00:00
Dave Chapman
1c2de0a45e
Prevent another divide-by-zero (only affecting targets with FAT16 support enabled, such as the Sansa).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13837 a1c6a512-1295-4272-9138-f99709370657
2007-07-09 22:58:08 +00:00
Robert Keevil
e68255b978
Fix division by 0 error
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13836 a1c6a512-1295-4272-9138-f99709370657
2007-07-09 21:23:26 +00:00
Michael Giacomelli
cb9ab6e0e1
Enable frequency scaling on the Sansa. Thanks to Jens Arnold's improvements, it seems stable.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13835 a1c6a512-1295-4272-9138-f99709370657
2007-07-09 18:02:01 +00:00
Michael Sevakis
01e8fce287
Add divide-by-zero trap for ARM instead of just silently ignoring them.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13832 a1c6a512-1295-4272-9138-f99709370657
2007-07-09 13:53:12 +00:00
Michael Sevakis
2e6723bcd2
Gigabeat: Squeeze down lcd_bitmap_transparent_part a bit. Let the compiler choose the registers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13829 a1c6a512-1295-4272-9138-f99709370657
2007-07-09 03:53:12 +00:00
Michael Sevakis
3233e9651a
e200: Remove all that inlining in the display driver to get rid of the bloat. The functions are rarely called.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13824 a1c6a512-1295-4272-9138-f99709370657
2007-07-09 00:08:33 +00:00
Michael Sevakis
897c643991
Gigabeat: properly confined framebuffer copies and a few pendantic changes to lcd_yuv_blit. No difference full screen but quite a speedup to copy only the required bit: 534->1062 fps for 1/4 screen update using test_fps.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13821 a1c6a512-1295-4272-9138-f99709370657
2007-07-08 17:10:22 +00:00
Michael Sevakis
1bbd58e2d8
e200 lcd mashup: 1) Enable flipped and inverted mode. 2) Fully enable all power options so that LCD driver IC's visible display is shut down with backlight and make the Sleep option available 3) Better framebuffer copy routine in assembly that confines updates to the specified rectangle _and_ is faster than memcpy 4) Some other offhand changes out of preference.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13818 a1c6a512-1295-4272-9138-f99709370657
2007-07-08 13:02:52 +00:00
Jens Arnold
c6437185b7
Stop the crashes on some PP5022C targets (iPod Video, perhaps also Nano) introduced by the recent clock setup changes. Looks like some revisions of the chip don't reset the PLL_locked bit immediately after PLL setup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13810 a1c6a512-1295-4272-9138-f99709370657
2007-07-07 05:58:29 +00:00
Michael Sevakis
68f975be85
e200: Better power_off to lock the system down while waiting for PMU to cut power.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13809 a1c6a512-1295-4272-9138-f99709370657
2007-07-07 03:51:50 +00:00
Michael Sevakis
77789f0f8d
Gigabeat: oops, forgot to set correct timer prescaler limit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13807 a1c6a512-1295-4272-9138-f99709370657
2007-07-06 22:08:07 +00:00
Michael Sevakis
4ae87c8b8a
Gigabeat: Add timer functionality. Rework tick timer setup to be exactly 100Hz. Metronome should work now but some pcm changes are needed to have faster tocks work correctly (in the works).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13806 a1c6a512-1295-4272-9138-f99709370657
2007-07-06 21:36:32 +00:00
Peter D'Hoye
e3d7c5c464
Fix a (minor) disk corruption when moving directories around. Fixes FS #7359
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13797 a1c6a512-1295-4272-9138-f99709370657
2007-07-05 18:30:55 +00:00
Robert Keevil
7785d6949e
Temporary fix for FS#7257 and FS#7261 - playback resumes while paused when seeking
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13795 a1c6a512-1295-4272-9138-f99709370657
2007-07-05 10:19:06 +00:00
Michael Sevakis
391e944b8e
Get rid of yellow plus an optimization I should have seen in the first place.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13794 a1c6a512-1295-4272-9138-f99709370657
2007-07-05 08:21:10 +00:00
Michael Sevakis
60efd38bbe
Gigabeat: Use vectored IRQ mode interrupts and add a trap for unhandled ones.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13792 a1c6a512-1295-4272-9138-f99709370657
2007-07-05 07:14:24 +00:00
Magnus Holmgren
c09fcc48c6
Fix serious bug in FAT filename check, preventing most files from being created (if they contain a '.', no less). Also allow a few more chars in the long filename and make the code a bit smaller (as in FS #6358 ).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13776 a1c6a512-1295-4272-9138-f99709370657
2007-07-03 17:03:33 +00:00
Jonathan Gordon
fe163c5178
Proper filename checking in the FAT driver (FS#7222 and FS#6358)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13770 a1c6a512-1295-4272-9138-f99709370657
2007-07-03 09:53:16 +00:00
Dave Chapman
c72824786a
Initial, work-in-progress, version of a WMA codec using Michael Giacomelli's fixed-point and malloc-less WMA decoder (based on the ffmpeg WMA decoder from early 2006, and also building on the work started by Paul Jones). The codec itself and the ASF parsing code were written by me, inspired by the ASF parser in libasf. Current performance is around 400% realtime on gigabeat, 100% realtime on PP and 20% realtime on Coldfire.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13769 a1c6a512-1295-4272-9138-f99709370657
2007-07-03 09:25:36 +00:00