Rafaël Carré
ab9fd1840b
plugins: use lcd_putsf/lcd_putsxyf
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27926 a1c6a512-1295-4272-9138-f99709370657
2010-08-28 21:46:45 +00:00
Thomas Martitz
cae4ae2c71
Second try: Introduce plugin_crt0.c that every plugin links.
...
It handles exit() properly, calling the handler also when the plugin returns
normally (also make exit() more standard compliant while at it).
It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore.
To work better together with callbacks passed to rb->default_event_handler_ex() introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it.
In most cases rb->default_event_handler_ex() was passed a callback which was manually called at all other return points. This can now be done via atexit().
In future plugin_crt0.c could also handle clearing bss, initializing iram and more.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27873 a1c6a512-1295-4272-9138-f99709370657
2010-08-24 14:30:46 +00:00
Thomas Martitz
93cb949372
Revert "Introduce plugin_crt0.c that every plugin links."
...
Too much errors and no time to fix them now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27863 a1c6a512-1295-4272-9138-f99709370657
2010-08-23 17:12:26 +00:00
Thomas Martitz
abdc5935be
Introduce plugin_crt0.c that every plugin links.
...
It handles exit() properly, calling the handler also when the plugin returns
normally (also it makes exit() more standard compliant while at it).
It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore.
To work better together with callbacks passed to rb->default_event_handler_ex introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it.
In most cases it was passed a callback which was manually called at all other return points. This can now be done via atexit().
In future plugin_crt0.c could also handle clearing bss, initializing iram and more.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27862 a1c6a512-1295-4272-9138-f99709370657
2010-08-23 16:56:49 +00:00
Michael Sevakis
e63e84a5df
Convert some more stuff to mylcd_ and support pgfx as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26543 a1c6a512-1295-4272-9138-f99709370657
2010-06-04 13:22:50 +00:00
Thomas Martitz
0a1d7c28b7
Make open() posix compliant api-wise. A few calls (those with O_CREAT) need the additional optional mode parameter so add it. Impact for the core is almost zero, as open() is a wrapper macro for the real open function which doesn't take the variable parameter.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25844 a1c6a512-1295-4272-9138-f99709370657
2010-05-06 17:35:13 +00:00
Marcin Bukat
b09d3aec39
Add MPIO HD200 port - changed files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25724 a1c6a512-1295-4272-9138-f99709370657
2010-04-26 21:40:00 +00:00
Jens Arnold
8edca8e903
Charcell: Fix spurious letter appearing between board and score display.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25708 a1c6a512-1295-4272-9138-f99709370657
2010-04-25 06:30:19 +00:00
Teruaki Kawashima
3f8d4a5a0f
use same variable/macro name for highscore among plugins.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24941 a1c6a512-1295-4272-9138-f99709370657
2010-02-27 14:45:37 +00:00
Tomer Shalev
83d589dad1
Rockblox: Map touchscreen top-middle to rotate CW
...
- Add support for defining a secondary 'rotate CCW' action - could be needed by
future touchscreen targets
- Update manual accordingly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24895 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 21:16:48 +00:00
Tomer Shalev
321843198d
Rockblox: For touchscreen targets, left/right goes to CCW/CW respectively, and
...
not the opposite.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24894 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 20:59:35 +00:00
Tomer Shalev
12332ded12
Rockblox: Rename Rotate Left|Right to Rotate CW|CCW
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24893 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 20:56:52 +00:00
Teruaki Kawashima
c1bb06c3af
plugin: implement highscore_show for player and use it in rockblox.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24861 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 13:45:24 +00:00
Teruaki Kawashima
56d29e8977
some changes to use of display_text.
...
* add parameter, wait_key to display_text().
- set this true to wait button press after all words is displayed.
* use ARRAYLEN macro instead of #define WORDS
* add macro to indicate end of style array.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24846 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 07:17:15 +00:00
Szymon Dziok
05577e48a8
Packard Bell Vibe 500: Start committing plugin keymaps.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24610 a1c6a512-1295-4272-9138-f99709370657
2010-02-11 22:40:17 +00:00
Tomer Shalev
47ddbaa47b
Cowon D2: Rename COWOND2_PAD -> COWON_D2_PAD to match macro used in manual, and
...
to target naming conventions in general
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24010 a1c6a512-1295-4272-9138-f99709370657
2009-12-15 20:51:41 +00:00
Robert Menes
9dc1c1a876
More GoGear SA9200 plugin keymaps, plus a fix on mosaique.
...
Just pluginlib actions and Doom and I'm DONE!! :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23912 a1c6a512-1295-4272-9138-f99709370657
2009-12-09 18:20:49 +00:00
Teruaki Kawashima
f793653677
rockblox: Correct wrong access to array of highscores.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23828 a1c6a512-1295-4272-9138-f99709370657
2009-12-03 15:00:54 +00:00
Johannes Schwarz
d66b9be85d
Fix previous commit on targets without bitmap support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23654 a1c6a512-1295-4272-9138-f99709370657
2009-11-17 07:22:02 +00:00
Johannes Schwarz
8826115a65
FS#10193 - Add a standart menu to rockblox and clean up the code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23653 a1c6a512-1295-4272-9138-f99709370657
2009-11-17 06:57:36 +00:00
Maurus Cuelenaere
9680244f4a
* Fix plugin keymaps for VX777
...
* Enable plugins for VX777
* Fix VX777 simulator
All done by Aaron DeMille.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22576 a1c6a512-1295-4272-9138-f99709370657
2009-08-31 21:11:32 +00:00
Michael Giacomelli
594b6e2b49
Commit FS#10251. Plugins for the YH-820, YH-920, and YH-925 by Jens Erdmann with improvements and bitmap graphics by me.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22149 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 03:08:32 +00:00
Karl Kurbjun
70deae01ff
Star, Flipit, Rockblox, Sokoban, Wormlet: Add support for 640x480 screens
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21990 a1c6a512-1295-4272-9138-f99709370657
2009-07-21 03:52:59 +00:00
Alexander Levin
6a5245ae08
Improve the highscore related functions in plugin lib (FS#10350)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21578 a1c6a512-1295-4272-9138-f99709370657
2009-06-30 20:00:46 +00:00
Marianne Arnold
f772673572
Rockblox: make sure the new restart combo on Player and Ondio does not interfere with the usual 'quit', even when pressing the Stop (or Off) button first.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20984 a1c6a512-1295-4272-9138-f99709370657
2009-05-18 21:30:06 +00:00
Thomas Martitz
9a2e8c293d
Correct a little typo.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20970 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 20:45:00 +00:00
Thomas Martitz
399a094b65
Resume feature for Rockblox by dumping the state upon exiting and loading it when starting rockblox.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20967 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 18:52:00 +00:00
Thomas Martitz
732ef1e157
Use a struct for the necessary status variables for rockblox. Will make dumping the status easier for the upcoming resume addition.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20966 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 17:12:07 +00:00
Thomas Martitz
ba5618a253
Define a restart button for Ondio and Player for Rockblox.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20965 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 16:48:18 +00:00
Thomas Martitz
1123115559
Rockblox: Show Highscore list on 176x220 (e200). The space between the score and level is ommitted, since there's no room (the L is sufficient as seperator).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20928 a1c6a512-1295-4272-9138-f99709370657
2009-05-13 17:45:07 +00:00
Karl Kurbjun
30830fbbbe
M:Robe 500: Get the rest of the games except doom working with the touchscreen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20857 a1c6a512-1295-4272-9138-f99709370657
2009-05-06 04:56:35 +00:00
Thomas Martitz
e6cbad6974
FS#10075 - FUZE: QUIT Plugin by selecting BUTTON_HOME by Johannes Schwarz. Updates the plugin keymap to use Long Home to exit plugins to be more inline with the core keymap.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20680 a1c6a512-1295-4272-9138-f99709370657
2009-04-10 17:28:26 +00:00
Maurus Cuelenaere
fef405c328
Enable plugins on the Onda VX747
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20647 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 23:41:44 +00:00
Thomas Martitz
19f3d60cc0
Remove SCROLL_WHEEL and use HAVE_SCROLLWHEEL instead. This also activates the little protection against accidental rotations (by pressing buttons on or near the wheel) on e200 and fuze, which is good. Also add a secondary button for right rotation for e200 and fuze, and use home button on the fuze.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20113 a1c6a512-1295-4272-9138-f99709370657
2009-02-26 20:52:16 +00:00
Mark Arigo
2490262eee
Plugins for the Philips HDD1630. The keymaps are largely untested on the device (patches welcome).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19846 a1c6a512-1295-4272-9138-f99709370657
2009-01-24 22:41:55 +00:00
Dominik Wenger
15013562dc
revert/fix parts of r19673, as it changed some e200 keymaps and introduces not-needed FIXME comments.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19778 a1c6a512-1295-4272-9138-f99709370657
2009-01-16 15:35:05 +00:00
Andrew Mahone
23d9812273
loader-initialized global plugin API:
...
struct plugin_api *rb is declared in PLUGIN_HEADER, and pointed to by
__header.api
the loader uses this pointer to initialize rb before calling entry_point
entry_point is no longer passed a pointer to the plugin API
all plugins, and pluginlib functions, are modified to refer to the
global rb
pluginlib functions which only served to copy the API pointer are
removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19776 a1c6a512-1295-4272-9138-f99709370657
2009-01-16 10:34:40 +00:00
Michael Giacomelli
6d5823f964
Commit FS#9617 - Keymaps for Plugins fuze by Thomas Martitz.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19673 a1c6a512-1295-4272-9138-f99709370657
2009-01-04 23:33:15 +00:00
Dominik Wenger
90bcf9be5e
m200v4: rename Keys, so they match better other targets with similar key-layout. Enable plugins, add keymaps for plugins. More keymap improvements needed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19405 a1c6a512-1295-4272-9138-f99709370657
2008-12-12 19:50:49 +00:00
Maurus Cuelenaere
6471b3c81a
Commit FS#9607 by Adam Hogan: fix plugin keymaps for Creative Zen Vision:M
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19363 a1c6a512-1295-4272-9138-f99709370657
2008-12-08 09:51:42 +00:00
Björn Stenberg
cea285d64e
Added keymaps for ZVM to plugins. Enabled zvm plugin building in tools/configure. FS#9605 by Adam Hogan and Robert Menes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19335 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 21:28:56 +00:00
Rafaël Carré
5656f8245f
Sansa Clip: build plugins (FS#9578)
...
Use unmodified C200 keymap when possible, variation of it when not
Use Archos bitmaps when possible
Current problems:
- Pegbox plugin shows display corruption (corruption is different in the simulator)
- Bubbles plugin misses 1 or 2 bottom lines, but if we gain back these lines it occupies a too small area of the screen
- Splitted screen (yellow/blue) is a bit weird in most plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19252 a1c6a512-1295-4272-9138-f99709370657
2008-11-28 00:37:28 +00:00
Björn Stenberg
c6b3d38a15
New makefile solution: A single invocation of 'make' to build the entire tree. Fully controlled dependencies give faster and more correct recompiles.
...
Many #include lines adjusted to conform to the new standards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19146 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 11:27:31 +00:00
Vitja Makarov
2f84f699c0
IAUDIO67_PAD: Add keymaps for most of the plugins, they are not all tested yet.
...
IAUDIO7: Define MODEL_NAME in config
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18730 a1c6a512-1295-4272-9138-f99709370657
2008-10-07 16:38:28 +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
Steve Bavin
6526577818
Plugin parameters should be const.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 09:57:56 +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
Rob Purchase
297e0504da
FS#8708: D2/m:robe500 touchscreen keymaps by Andreas Mueller.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17261 a1c6a512-1295-4272-9138-f99709370657
2008-04-27 15:30:19 +00:00
Rob Purchase
554d7ed902
D2: Enable plugin building (using initial keymaps from FS#8708 by Andreas Mueller, with some tweaks).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16751 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 22:03:34 +00:00