Commit graph

99 commits

Author SHA1 Message Date
Michael Sevakis
47509fafa4 Fix up ZVM builds. It appeared to share common definitions with PP502x targets so use those. Remove one stale comment left behind in last commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19798 a1c6a512-1295-4272-9138-f99709370657
2009-01-19 14:06:47 +00:00
Michael Sevakis
cb7e88d3b6 Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19717 a1c6a512-1295-4272-9138-f99709370657
2009-01-08 10:38:40 +00:00
Michael Sevakis
b6e78acc5e Get rid of some pcm_apply_settings cruft at the low level I somehow missed. Move the ones in pcm.c around to better spots. Remove a variable from pcm-pnx0101.c that should no longer be there.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19402 a1c6a512-1295-4272-9138-f99709370657
2008-12-12 12:46:57 +00:00
Michael Sevakis
4bbaef6fd5 Fix-m the ruddiness.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19401 a1c6a512-1295-4272-9138-f99709370657
2008-12-12 11:20:58 +00:00
Michael Sevakis
e69d567d9e Bring consistency to pcm implementation and samplerate handling. Less low-level duplication. A small test_sampr fix so it works on coldfire again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19400 a1c6a512-1295-4272-9138-f99709370657
2008-12-12 11:01:07 +00:00
Michael Sevakis
add677fca8 Fix some red. The stubs in bootloaders are giving some trouble.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19316 a1c6a512-1295-4272-9138-f99709370657
2008-12-03 20:43:10 +00:00
Michael Sevakis
58eb784a5d Straighten out some powermanagement stuff. Give target complete control over how power inputs are sensed. Clean SIMULATOR stuff out of target files. Get rid of USB charging option on targets that don't support it or don't implement it yet. Menu string remains to avoid language incompatibility but should be removed on next cleanup for targets not using it (notice in english.lang). global_settings becomes incompatible for some builds and so plugin API version is incremented.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19315 a1c6a512-1295-4272-9138-f99709370657
2008-12-03 19:54:25 +00:00
Rafaël Carré
aaaf609996 Creative ZVM : cosmetics
Use only UNIX line endings, remove trailing whitespace

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19232 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 15:38:10 +00:00
Michael Sevakis
a9e69d935c Strange little kernel optimization to ease targeting the timer tick and to limit the number of loops in the tick function to the number of tasks added rather than always looping the max number.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18893 a1c6a512-1295-4272-9138-f99709370657
2008-10-27 16:30:24 +00:00
Maurus Cuelenaere
23b7e95770 Correct HAS_BUTTON_HOLD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18734 a1c6a512-1295-4272-9138-f99709370657
2008-10-07 19:07:33 +00:00
Bertrik Sikken
37a384c541 Minor missing #include and static function fixes for mrobe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18487 a1c6a512-1295-4272-9138-f99709370657
2008-09-10 20:14:22 +00:00
Bertrik Sikken
5a0c3ec9e2 Some header file / static function fixes for creative zvm
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18479 a1c6a512-1295-4272-9138-f99709370657
2008-09-10 19:03:49 +00:00
Maurus Cuelenaere
ce2ab4b44d Get rid of static buffer and use buffer_alloc() instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18450 a1c6a512-1295-4272-9138-f99709370657
2008-09-08 11:10:33 +00:00
Maurus Cuelenaere
23fc923bde ZVM:
* Optimize MiniFS handling
 * Add basic CFS handling (doesn't work yet)
 * Remove hacky stuff in disk.c


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18438 a1c6a512-1295-4272-9138-f99709370657
2008-09-07 17:24:14 +00:00
Maurus Cuelenaere
944c33403c * Commit dual-boot support for Creative ZVx family
* Add mkzenboot: makes it possible to integrate Rockbox bootloader with
   Creative firmwares without the need of distributing binaries
 * Add Tadeusz Pyś to credits, who figured out the minifs file system
 * Fix bootloader


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18352 a1c6a512-1295-4272-9138-f99709370657
2008-08-27 20:32:12 +00:00
Maurus Cuelenaere
1392dc2144 Commit FS#9308: differentiate between TOUCHPAD & TOUCHSCREEN
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18338 a1c6a512-1295-4272-9138-f99709370657
2008-08-23 09:46:38 +00:00
Daniel Stenberg
2acc0ac542 Updated our source code header to explicitly mention that we are GPL v2 or
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 18:10:04 +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
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
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
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
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
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
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
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
Maurus Cuelenaere
6148a94432 Commit Zen Vision key patches by Falafel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17490 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 07:57:46 +00:00
Maurus Cuelenaere
ba3cfca6dd Use LTV350QV register definitions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17452 a1c6a512-1295-4272-9138-f99709370657
2008-05-11 08:10:57 +00:00
Maurus Cuelenaere
910fd7858c Move interrupt clearing up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17404 a1c6a512-1295-4272-9138-f99709370657
2008-05-07 13:33:29 +00:00
Maurus Cuelenaere
0f1a0405e0 Of course don't forget the init code..
+ add interrupt priority handling


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17389 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 16:07:57 +00:00
Maurus Cuelenaere
fd0eed96b0 Woops, remove debug statements..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17387 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 15:50:17 +00:00
Maurus Cuelenaere
e025cb1c38 Split up DMA and ATA, but don't enable it (yet).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17386 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 15:47:26 +00:00
Nicolas Pennequin
357ffb3c46 Convert the whole codebase to UTF-8, except docs/COMMITTERS and tools/creative.c, which need checking.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17369 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 10:32:46 +00:00
Maurus Cuelenaere
41a82f96a8 More LCD stuff..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17339 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 22:27:55 +00:00
Maurus Cuelenaere
9e6cd921a1 Forgot 0x
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17335 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 18:54:47 +00:00
Maurus Cuelenaere
2b0e436739 Add OF LCD init
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17334 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 18:51:20 +00:00
Maurus Cuelenaere
ed5f1ed3e2 1) add debug menu for USB & PIC
2) update keymap
3) fix yellow


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17324 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 14:43:43 +00:00
Maurus Cuelenaere
65a0de3d07 Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17317 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 13:52:39 +00:00
Maurus Cuelenaere
a6b31f18c8 1) add support for ata-as-arm
2) remove obsolete audio-creativezvm.c
3) fix registers in i2c-dm320.c


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17316 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 13:43:26 +00:00
Maurus Cuelenaere
a1fa57fc01 Use FIQ register + comments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17297 a1c6a512-1295-4272-9138-f99709370657
2008-05-01 15:37:22 +00:00
Jens Arnold
0e73b8a0a9 Remove wrong usage of '.global'. These symbols are imported, not exported.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17290 a1c6a512-1295-4272-9138-f99709370657
2008-04-29 06:47:34 +00:00
Jens Arnold
2bbacf89fe Make sure the linker considers crt0*.o before all files specified on the command line by using STARTUP() instead of INPUT() in the .lds. Using INPUT() makes the linker process crt0*.o after all files specified on the command line, making linking fail if there are librockbox.a members which are only referenced by crt0*.o. Remove the hackaround that was needed for building the gigabeat S bootloader before (aka UIE() problem).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17289 a1c6a512-1295-4272-9138-f99709370657
2008-04-29 06:19:32 +00:00
Jonathan Gordon
c741ecc68a yep.. I really cant spell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17287 a1c6a512-1295-4272-9138-f99709370657
2008-04-29 01:09:39 +00:00
Daniel Stenberg
e1bc2d5b71 minor code policing and some warning removals
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17249 a1c6a512-1295-4272-9138-f99709370657
2008-04-25 21:44:18 +00:00
Maurus Cuelenaere
95167e0177 Commit whole Creative Zen Vision:M target tree + all related firmware/
changes.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17241 a1c6a512-1295-4272-9138-f99709370657
2008-04-24 20:08:28 +00:00
Jonathan Gordon
5b5a626bb6 Setup the touchpads to have two modes - stylus and button - and set them in button mode by default.
in button mode the touchpad is split into a 3x3 grid for 9 seperate buttons which can be used by the action system like real buttons.
Unify the keymap file for the touchpads in button mode. the target keymap file only needs to worry about real buttons.
(As these ports mature each screen will need to be fixed seperatly to be able to use stylus mode (the lists can already but don't change mode just yet.)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17114 a1c6a512-1295-4272-9138-f99709370657
2008-04-15 10:35:11 +00:00
Maurus Cuelenaere
c02b183546 Add DM320 I²C driver, although not (yet) enabled in the sources.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17050 a1c6a512-1295-4272-9138-f99709370657
2008-04-09 15:25:20 +00:00
Robert Kukla
feb3b588e3 explicitly align the ibss section by adjusting _iramend - fixes hang on m:robe (and potential problem on other arm targets)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17024 a1c6a512-1295-4272-9138-f99709370657
2008-04-07 18:24:23 +00:00