Rob Purchase
39aaa2f2b5
D2: Small optimisation to the PCM FIQ (only stack registers when necessary).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17806 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 12:39:03 +00:00
Rob Purchase
38b02f3d7a
D2: Make the nand driver's sanity checks a little more... sane. This should allow booting on a few older D2's.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17805 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 12:35:50 +00:00
Rob Purchase
ed95be983c
D2: Editing config.h wasn't enough to fully disable IRAM - also disable it in *.lds for a crash fix and further 100% increase in codec performance.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17779 a1c6a512-1295-4272-9138-f99709370657
2008-06-24 07:38:35 +00:00
Rob Purchase
3ca42e4aac
D2: Take notice of the hold button.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17773 a1c6a512-1295-4272-9138-f99709370657
2008-06-23 21:38:11 +00:00
Rob Purchase
9aa7ceb0df
Fix the D2 click/popping every second. Lesson from PCM-driver 101: don't disable FIQs unless you really, really need to.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17765 a1c6a512-1295-4272-9138-f99709370657
2008-06-23 18:23:56 +00:00
Jonathan Gordon
bdbdb97f19
FS#9051 - remove LCD margins... use viewports if you need them...
...
NOTE to WPS people....
%m has been removed, but (i think) because of the other %m tags it wont fail if you try loading a wps with %m|..|, it will just be ignored.
Also note that if the statusbar is enabled the default viewport is 8 pixels shorter than when its not, i.e (0,0) is really (0,8) if the statusbar is shown... I dont think this will be a major issue because almost no WPS show the bar and use bitmaps... text only WPS shouldnt be affected.
Please report problem screens in http://forums.rockbox.org/index.php?topic=17358.0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17763 a1c6a512-1295-4272-9138-f99709370657
2008-06-23 13:20:35 +00:00
Rob Purchase
d6159ea7d7
Initial D2 sound playback support (known issues to follow on the CowonD2Info wiki page).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17753 a1c6a512-1295-4272-9138-f99709370657
2008-06-22 18:48:22 +00:00
Marc Guay
b362b7f9ea
Hopefully update the keywords. Thanks bluebrother.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17744 a1c6a512-1295-4272-9138-f99709370657
2008-06-21 16:07:59 +00:00
Marc Guay
b93667b306
Add the Sansa c100 as a build target with basic drivers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17742 a1c6a512-1295-4272-9138-f99709370657
2008-06-21 15:18:36 +00:00
Jens Arnold
538a387cca
Blind-add some code from ipodlinux that hopefully fixes the colour problem on iPod Photo reported on the forums.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17715 a1c6a512-1295-4272-9138-f99709370657
2008-06-12 05:56:34 +00:00
Rob Purchase
0efad8d925
D2: Configure NAND GPIO lines /before/ attempting to use them. Should fix 16Gb support.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17713 a1c6a512-1295-4272-9138-f99709370657
2008-06-10 18:03:13 +00:00
Rob Purchase
bca9703b83
D2: Fixes for 16Gb models with four NAND banks: update MAX_BANKS, configure the chip select GPIO as output and use a couple of #defines to tidy things up.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17705 a1c6a512-1295-4272-9138-f99709370657
2008-06-09 08:11:11 +00:00
Frank Gevaerts
6d9f55efff
corrected sign of error return value
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17693 a1c6a512-1295-4272-9138-f99709370657
2008-06-05 15:49:35 +00:00
Michael Sevakis
fa5bd07f6b
Oops. Lost sync on a few instances and 'HI' registers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17684 a1c6a512-1295-4272-9138-f99709370657
2008-06-03 05:19:32 +00:00
Michael Sevakis
191320cd0f
Rename CPU/COP_INT_CLR to CPU/COP_INT_DIS since it's really a 'write one to disable' register and hasn't anything to do with acknowledging interrupts-- that's handled at the module level.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17683 a1c6a512-1295-4272-9138-f99709370657
2008-06-03 05:08:24 +00:00
Rob Purchase
3f7f5d7431
D2: Stop panic screen from crashing instantly (seems this has been broken for a while).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17670 a1c6a512-1295-4272-9138-f99709370657
2008-05-31 11:30:24 +00:00
Michael Sevakis
023cd578fa
Commit FS#9024 - apply proper line-in gain for h10's radio by Przemyslaw Holubowski with one change: make "0x1e" "0x1f" since that's actually +12dB.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17665 a1c6a512-1295-4272-9138-f99709370657
2008-05-31 08:31:46 +00:00
Karl Kurbjun
9ba4864d73
Simplify the button handling code on the Gigabeat F/X a bit for the side buttons. Plugins should be updated with this revision, or the buttons in plugins will not operate properly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17659 a1c6a512-1295-4272-9138-f99709370657
2008-05-29 22:22:44 +00:00
Jens Arnold
d52bea8a90
Fix FS #8840 for irivers by slowing down the driver some more. Signal quality is obviously varying a lot among the iriver remotes. Speed is now around halfway between pre-r16832 and r17006 when boosted.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17657 a1c6a512-1295-4272-9138-f99709370657
2008-05-29 21:41:47 +00:00
Michael Sevakis
c541e04632
Gigabeat F/X:
...
Allow chaning of touchpad sensitivity in the System settings menu. Some
units are dodgey at "Normal" senitivity and some at "High". "High" can make
some units difficult to navigate and may even require a settings reset so try
it and don't use "High" again if it doesn't work out :-). Defaults to "Normal"
which behaves like older builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17656 a1c6a512-1295-4272-9138-f99709370657
2008-05-29 21:27:44 +00:00
Linus Nielsen Feltzing
07bfba21ae
Add the ADC_ACCESSORY channel on the ipod, to allow for accessory detection once we figure that out.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17648 a1c6a512-1295-4272-9138-f99709370657
2008-05-29 06:12:08 +00:00
Michael Sevakis
adf2e4c9a0
Targets with HAVE_LCD_ENABLE: Provide a means to receive notifications when the lcd is enabled and the image is refreshed so overlayed drawing can also be refreshed. Chiefly mpegplayer needs this so it can redraw the YUV data after the backlight is turned on while paused or when using 'Set Start Time'.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17640 a1c6a512-1295-4272-9138-f99709370657
2008-05-28 10:17:16 +00:00
Michael Sevakis
69f4ffe686
Fix a comment since it was very wrong.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17627 a1c6a512-1295-4272-9138-f99709370657
2008-05-25 02:43:51 +00:00
Michael Sevakis
d892214d88
Gigabeat S: Add charge current and battery temp readout in power management and display in the battery screen. Thermistor data was obtained experimentally from one pulled off a dead board and appears basically correct when read back on a working device (which requires letting it settle to ambient temperature - a long wait so not easy to do). Sending me more thermistors would help improve accuracy *fingers crossed that it's close enough*. :-) This commit does NOT add charging but is a step towards implementing it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17626 a1c6a512-1295-4272-9138-f99709370657
2008-05-25 01:38:08 +00:00
Jens Arnold
4a6190dd13
Hopefully fix FS #8840 for iAudio M3, M5 and X5. Reduce greyscale update frequency on M3 in order to reduce CPU load (was >50% before, but this fix would have made it even worse).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17621 a1c6a512-1295-4272-9138-f99709370657
2008-05-24 08:53:12 +00:00
Rob Purchase
03de6c67ab
TCC78x NAND driver: Split the initial bank scan into two passes (appears to improve block translation reliability). Also some cleanups for readability, eg remove chip vs. bank ambiguity and remove leftover debug code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17598 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 21:07:49 +00:00
Michael Sevakis
c78bb5a00e
Oops. Forgot to put the pmic thread stack size back to normal.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17594 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 08:54:02 +00:00
Michael Sevakis
a9c20f5789
Gigabeat S:
...
1) Rework event handling and static registration mechanism. No target-
specific code in mc13783 driver. GPIO event driver interfaces more
cleanly.
2) Somewhat related - enable thread priority for bootloader which is
desireable here (ffs is used for GPIO event enabling anyway and that
goes along with priority).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17593 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 08:42:11 +00:00
Mark Arigo
b4275d4941
Philips GoGear SA9200 port. Working bootloader and normal builds, including sound. No touchpad now, buttons limited to using vol+/vol-/power for up/down/select. Rockbox USB is enabled since the OF is MTP only...read the warnings on the PortalPlayerUsb wiki page.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17591 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 03:55:17 +00:00
Karl Kurbjun
4c99f9a749
Contrast settings for the gigabeat F/X
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17590 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 03:50:48 +00:00
Karl Kurbjun
7a4d1609ee
Make some functions static, point to the wiki, and comit the code to invert the screen, but don't enable.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17589 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 03:30:57 +00:00
Karl Kurbjun
359045655d
Enable Gigabeat F/X LCD flipscreen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17578 a1c6a512-1295-4272-9138-f99709370657
2008-05-18 23:33:09 +00:00
Jonathan Gordon
c67a7b12be
"fix" usb detection on mr500.. by fix I mean tell it we havnt implemented that yet properly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17572 a1c6a512-1295-4272-9138-f99709370657
2008-05-18 14:01:36 +00:00
Michael Sevakis
be28f8441b
Refine meg-fx pad changes. Actually watch the other <dir>+ lines and ignore them if center is detected but sill allow the combo if one really means to do that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17559 a1c6a512-1295-4272-9138-f99709370657
2008-05-17 17:16:12 +00:00
Maurus Cuelenaere
c8c0f4590b
Forgot this also
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17557 a1c6a512-1295-4272-9138-f99709370657
2008-05-17 16:02:41 +00:00
Maurus Cuelenaere
affa4f668e
Use OF's firmware loading mechanism instead of Rockbox's.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17553 a1c6a512-1295-4272-9138-f99709370657
2008-05-17 14:20:09 +00:00
Jens Arnold
ab46e463bd
Greyscale ipods: Use a somewhat darker shade for lightgrey, improving appearance.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17551 a1c6a512-1295-4272-9138-f99709370657
2008-05-17 09:55:23 +00:00
Michael Sevakis
7d67df94a6
Commit Davide Gentile's patch to make the Gigabeat F/X pad less finicky.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17549 a1c6a512-1295-4272-9138-f99709370657
2008-05-17 00:29:24 +00:00
Maurus Cuelenaere
ac67d70173
Add beginning of DSP code (done by Catalin Patulea), but don't enable it
...
yet as there's no C54xx compiler in the toolchain yet..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17547 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 21:16:01 +00:00
Maurus Cuelenaere
7a8fc3fd9d
1) Put USB in IRAM
...
2) Use defines from usb_drv.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17546 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 21:05:18 +00:00
Michael Sevakis
95d76f2da2
Cleanup some .h files in the imx31 target branch - #include guard style, headers, obsolete prototypes, etc.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17536 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 18:40:28 +00:00
Michael Sevakis
cda664b701
MC13783 (Gigabeat S PMIC): Complete the header file. Distinguish status, sense and mask bit defines to avoid conflicts within the definitions. Much care taken but give a double check before making new use of anything.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17534 a1c6a512-1295-4272-9138-f99709370657
2008-05-16 06:21:11 +00:00
Maurus Cuelenaere
1ea884b531
1) Add ZVM60GB and ZV simulator builds (ZVM60GB sim equals to ZVM30GB)
...
2) Correct typo which'll break build system for ZV currently
3) Split up keymaps for ZV & ZVM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17525 a1c6a512-1295-4272-9138-f99709370657
2008-05-15 18:01:14 +00:00
Karl Kurbjun
808568983d
Forgot about the buttonlights. Removing for now since this will not work properly if the buttonlights are set to a time longer than the backlight.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17523 a1c6a512-1295-4272-9138-f99709370657
2008-05-15 12:52:17 +00:00
Karl Kurbjun
6450de3eae
Save around a hundred uA - not much, but why not? - No functional change for users.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17519 a1c6a512-1295-4272-9138-f99709370657
2008-05-15 01:04:47 +00:00
Maurus Cuelenaere
4cf90663fa
Fix yellows and reds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17510 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 20:36:25 +00:00
Michael Sevakis
41b235dacf
Fix red. No bother with lcd power management calls in bootloader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17508 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 20:26:20 +00:00
Michael Sevakis
009cebeab2
Straigten-out lcd sleeping on Gigabeat F/X. Add a service function to backlight.c to handle lcd sleep timer. Make HAVE_LCD_SLEEP useable without a setting and use HAVE_LCD_SLEEP_SETTING when a setting is available in addition to HCD_HAVE_SLEEP. If a setting isn't used, the target must define the timeout to be used in the config.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17505 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 19:29:25 +00:00
Maurus Cuelenaere
bdc6e624bc
1) Enable USBOTG for ZVM 60GB, even if the driver isn't implemented yet,
...
so it compiles
2) Disable BUTTON_DEBUG
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17504 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 19:28:06 +00:00
Maurus Cuelenaere
e031db4b87
1) Use a separate config-<target>.h for Zen Vision(:M) (60GB)
...
2) Other unrelated cleanups
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17503 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 18:55:19 +00:00