mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-15 16:12:28 -05:00
Build some more plugins for M:Robe most work, doom builds and runs if you use a hack - need to fix the user timer so that it works properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15403 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
574b1009a6
commit
38548c7118
17 changed files with 276 additions and 27 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#if !defined(IRIVER_IFP7XX_SERIES) && !defined(OLYMPUS_MROBE_500)
|
||||
#if !defined(IRIVER_IFP7XX_SERIES)
|
||||
|
||||
/* For all targets */
|
||||
shortcuts
|
||||
|
|
@ -22,7 +22,7 @@ reversi
|
|||
#endif
|
||||
|
||||
/* For all 2bpp and colour targets */
|
||||
#if (LCD_DEPTH >= 2)
|
||||
#if (LCD_DEPTH >= 2) && !defined(OLYMPUS_MROBE_500)
|
||||
zxbox
|
||||
#endif
|
||||
|
||||
|
|
@ -37,8 +37,7 @@ pacbox
|
|||
(LCD_DEPTH == 2) && !defined(ARCHOS_AV300)
|
||||
doom
|
||||
#endif
|
||||
#endif /* mrobe 500 */
|
||||
#if !defined(IRIVER_IFP7XX_SERIES)
|
||||
|
||||
/* For all the swcodec targets */
|
||||
#if CONFIG_CODEC == SWCODEC
|
||||
midi
|
||||
|
|
|
|||
|
|
@ -211,6 +211,21 @@ PLUGIN_HEADER
|
|||
#define CB_SCROLL_LEFT (BUTTON_LEFT|BUTTON_REPEAT)
|
||||
#define CB_SCROLL_RIGHT (BUTTON_RIGHT|BUTTON_REPEAT)
|
||||
|
||||
#elif CONFIG_KEYPAD == MROBE500_PAD
|
||||
#define CB_SELECT BUTTON_RC_MODE
|
||||
#define CB_UP BUTTON_RC_PLAY
|
||||
#define CB_DOWN BUTTON_RC_DOWN
|
||||
#define CB_LEFT BUTTON_RC_REW
|
||||
#define CB_RIGHT BUTTON_RC_FF
|
||||
#define CB_PLAY BUTTON_RC_HEART
|
||||
#define CB_LEVEL BUTTON_RC_VOL_DOWN
|
||||
#define CB_MENU BUTTON_POWER
|
||||
|
||||
#define CB_SCROLL_UP (BUTTON_RC_PLAY|BUTTON_REPEAT)
|
||||
#define CB_SCROLL_DOWN (BUTTON_RC_DOWN|BUTTON_REPEAT)
|
||||
#define CB_SCROLL_LEFT (BUTTON_RC_REW|BUTTON_REPEAT)
|
||||
#define CB_SCROLL_RIGHT (BUTTON_RC_FF|BUTTON_REPEAT)
|
||||
|
||||
#else
|
||||
#error CHESSBOX: Unsupported keypad
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -199,6 +199,21 @@
|
|||
#define CB_SCROLL_LEFT (BUTTON_LEFT|BUTTON_REPEAT)
|
||||
#define CB_SCROLL_RIGHT (BUTTON_RIGHT|BUTTON_REPEAT)
|
||||
|
||||
#elif CONFIG_KEYPAD == MROBE500_PAD
|
||||
#define CB_SELECT BUTTON_RC_MODE
|
||||
#define CB_UP BUTTON_RC_PLAY
|
||||
#define CB_DOWN BUTTON_RC_DOWN
|
||||
#define CB_LEFT BUTTON_RC_REW
|
||||
#define CB_RIGHT BUTTON_RC_FF
|
||||
#define CB_PLAY BUTTON_RC_HEART
|
||||
#define CB_LEVEL BUTTON_RC_VOL_DOWN
|
||||
#define CB_MENU BUTTON_POWER
|
||||
|
||||
#define CB_SCROLL_UP (BUTTON_RC_PLAY|BUTTON_REPEAT)
|
||||
#define CB_SCROLL_DOWN (BUTTON_RC_DOWN|BUTTON_REPEAT)
|
||||
#define CB_SCROLL_LEFT (BUTTON_RC_REW|BUTTON_REPEAT)
|
||||
#define CB_SCROLL_RIGHT (BUTTON_RC_FF|BUTTON_REPEAT)
|
||||
|
||||
#else
|
||||
#error CHESSBOX: Unsupported keypad
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -213,16 +213,19 @@ void I_ShutdownGraphics(void)
|
|||
#define DOOMBUTTON_ENTER BUTTON_SELECT
|
||||
#define DOOMBUTTON_WEAPON BUTTON_VOL_DOWN
|
||||
#define DOOMBUTTON_MAP BUTTON_VOL_UP
|
||||
#elif CONFIG_KEYPAD == MROBE500_PAD
|
||||
#define DOOMBUTTON_ESC BUTTON_POWER
|
||||
#define DOOMBUTTON_UP BUTTON_RC_PLAY
|
||||
#define DOOMBUTTON_DOWN BUTTON_RC_DOWN
|
||||
#define DOOMBUTTON_LEFT BUTTON_RC_REW
|
||||
#define DOOMBUTTON_RIGHT BUTTON_RC_FF
|
||||
#define DOOMBUTTON_OPEN BUTTON_RC_VOL_DOWN
|
||||
#define DOOMBUTTON_SHOOT BUTTON_RC_VOL_UP
|
||||
#define DOOMBUTTON_ENTER BUTTON_RC_MODE
|
||||
#define DOOMBUTTON_WEAPON BUTTON_RC_HEART
|
||||
|
||||
#else
|
||||
#define DOOMBUTTON_UP BUTTON_UP
|
||||
#define DOOMBUTTON_DOWN BUTTON_DOWN
|
||||
#define DOOMBUTTON_LEFT BUTTON_LEFT
|
||||
#define DOOMBUTTON_RIGHT BUTTON_RIGHT
|
||||
#define DOOMBUTTON_SHOOT BUTTON_REC
|
||||
#define DOOMBUTTON_OPEN BUTTON_MODE
|
||||
#define DOOMBUTTON_ESC BUTTON_OFF
|
||||
#define DOOMBUTTON_ENTER BUTTON_SELECT
|
||||
#define DOOMBUTTON_WEAPON BUTTON_ON
|
||||
#error Keymap not defined!
|
||||
#endif
|
||||
|
||||
#ifdef DOOMBUTTON_SCROLLWHEEL
|
||||
|
|
|
|||
|
|
@ -118,6 +118,22 @@
|
|||
#define PACMAN_COIN BUTTON_FF
|
||||
#define PACMAN_MENU BUTTON_PLAY
|
||||
|
||||
#elif CONFIG_KEYPAD == MROBE500_PAD
|
||||
|
||||
#define PACMAN_UP BUTTON_RC_PLAY
|
||||
#define PACMAN_DOWN BUTTON_RC_DOWN
|
||||
#define PACMAN_LEFT BUTTON_RC_REW
|
||||
#define PACMAN_RIGHT BUTTON_RC_FF
|
||||
#define PACMAN_1UP BUTTON_RC_VOL_DOWN
|
||||
#define PACMAN_2UP BUTTON_RC_VOL_UP
|
||||
#define PACMAN_COIN_PRE BUTTON_RC_MODE
|
||||
#define PACMAN_COIN (BUTTON_RC_MODE | BUTTON_RC_DOWN)
|
||||
#define PACMAN_MENU BUTTON_POWER
|
||||
|
||||
#else
|
||||
|
||||
#error Keymap not defined!
|
||||
|
||||
#endif
|
||||
|
||||
#if (LCD_HEIGHT >= 288)
|
||||
|
|
|
|||
|
|
@ -57,8 +57,9 @@ OUTPUT_FORMAT(elf32-sh)
|
|||
#define IRAMSIZE 0x4000
|
||||
#elif CONFIG_CPU==DM320
|
||||
#define DRAMORIG 0x00900000 + STUBOFFSET
|
||||
#define IRAMORIG 0x00000100
|
||||
#define IRAMSIZE 0x4000-0x100
|
||||
#define IRAMORIG DRAMORIG
|
||||
#define IRAMSIZE 0x4000
|
||||
#define IRAM DRAM
|
||||
#else
|
||||
#define DRAMORIG 0x09000000 + STUBOFFSET
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -105,7 +105,16 @@
|
|||
#define REVERSI_BUTTON_MAKE_MOVE BUTTON_SELECT
|
||||
#define REVERSI_BUTTON_MENU (BUTTON_SELECT|BUTTON_REPEAT)
|
||||
|
||||
#elif
|
||||
#elif CONFIG_KEYPAD == MROBE500_PAD
|
||||
#define REVERSI_QUIT BUTTON_POWER
|
||||
#define REVERSI_BUTTON_UP BUTTON_RC_PLAY
|
||||
#define REVERSI_BUTTON_DOWN BUTTON_RC_DOWN
|
||||
#define REVERSI_BUTTON_LEFT BUTTON_RC_REW
|
||||
#define REVERSI_BUTTON_RIGHT BUTTON_RC_FF
|
||||
#define REVERSI_BUTTON_MAKE_MOVE BUTTON_RC_MODE
|
||||
#define REVERSI_BUTTON_MENU (BUTTON_POWER | BUTTON_REL)
|
||||
|
||||
#else
|
||||
#error REVERSI: Unsupported keypad
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -176,7 +176,7 @@ static void setoptions (void)
|
|||
options.START=BUTTON_SELECT;
|
||||
options.SELECT=BUTTON_NONE;
|
||||
options.MENU=BUTTON_POWER;
|
||||
|
||||
|
||||
#elif CONFIG_KEYPAD == IRIVER_H10_PAD
|
||||
options.UP=BUTTON_SCROLL_UP;
|
||||
options.DOWN=BUTTON_SCROLL_DOWN;
|
||||
|
|
@ -186,6 +186,19 @@ static void setoptions (void)
|
|||
options.START=BUTTON_REW;
|
||||
options.SELECT=BUTTON_NONE;
|
||||
options.MENU=BUTTON_POWER;
|
||||
#elif CONFIG_KEYPAD == MROBE500_PAD
|
||||
options.UP=BUTTON_RC_PLAY;
|
||||
options.DOWN=BUTTON_RC_DOWN;
|
||||
options.LEFT=BUTTON_RC_REW;
|
||||
options.RIGHT=BUTTON_RC_FF;
|
||||
|
||||
options.A=BUTTON_RC_VOL_DOWN;
|
||||
options.B=BUTTON_RC_VOL_UP;
|
||||
options.START=BUTTON_RC_HEART;
|
||||
options.SELECT=BUTTON_RC_MODE;
|
||||
options.MENU=BUTTON_POWER;
|
||||
#else
|
||||
#error No Keymap Defined!
|
||||
#endif
|
||||
|
||||
options.maxskip=4;
|
||||
|
|
|
|||
|
|
@ -136,7 +136,21 @@
|
|||
#define SUDOKU_BUTTON_MENU (BUTTON_POWER | BUTTON_REL)
|
||||
#define SUDOKU_BUTTON_POSSIBLE BUTTON_REC
|
||||
|
||||
#elif
|
||||
#elif CONFIG_KEYPAD == MROBE500_PAD
|
||||
#define SUDOKU_BUTTON_QUIT_PRE BUTTON_POWER
|
||||
#define SUDOKU_BUTTON_QUIT (BUTTON_POWER | BUTTON_REPEAT)
|
||||
#define SUDOKU_BUTTON_UP BUTTON_RC_PLAY
|
||||
#define SUDOKU_BUTTON_DOWN BUTTON_RC_DOWN
|
||||
#define SUDOKU_BUTTON_LEFT BUTTON_RC_REW
|
||||
#define SUDOKU_BUTTON_RIGHT BUTTON_RC_FF
|
||||
#define SUDOKU_BUTTON_TOGGLEBACK BUTTON_RC_VOL_DOWN
|
||||
#define SUDOKU_BUTTON_TOGGLE BUTTON_RC_VOL_UP
|
||||
#define SUDOKU_BUTTON_ALTTOGGLE BUTTON_RC_MODE
|
||||
#define SUDOKU_BUTTON_MENU_PRE BUTTON_POWER
|
||||
#define SUDOKU_BUTTON_MENU (BUTTON_POWER | BUTTON_REL)
|
||||
#define SUDOKU_BUTTON_POSSIBLE BUTTON_RC_HEART
|
||||
|
||||
#else
|
||||
#error SUDOKU: Unsupported keypad
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -86,6 +86,17 @@
|
|||
#define ZX_UP BUTTON_UP
|
||||
#define ZX_DOWN BUTTON_DOWN
|
||||
|
||||
#elif CONFIG_KEYPAD == MROBE500_PAD
|
||||
#define ZX_UP BUTTON_RC_PLAY
|
||||
#define ZX_DOWN BUTTON_RC_DOWN
|
||||
#define ZX_LEFT BUTTON_RC_REW
|
||||
#define ZX_RIGHT BUTTON_RC_FF
|
||||
#define ZX_SELECT BUTTON_RC_MODE
|
||||
#define ZX_MENU (BUTTON_POWER | BUTTON_REL)
|
||||
|
||||
#else
|
||||
#error Keymap not defined!
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue