掌機 - Miyoo A30 - Build OpenBOR



參考資訊:
https://github.com/DCurrent/openbor
https://github.com/steward-fu/website/releases/download/miyoo-a30/a30_toolchain.tar.gz

步驟如下:

$ cd
$ wget https://github.com/steward-fu/website/releases/download/miyoo-a30/a30_toolchain.tar.gz
$ tar xvf a30_toolchain.tar.gz
$ sudo mv a30 /opt

$ wget https://github.com/steward-fu/website/releases/download/miyoo-a30/src_emu_openbor-v1.0.zip
$ unzip src_emu_openbor-v1.0.zip
$ src_openbor/engine/
$ make BUILD_A30=1 clean
$ make BUILD_A30=1 -j4

按鍵定義位於:sdl/control.h

#define CONTROL_ESC                 SDL_SCANCODE_ESCAPE
#define CONTROL_DEFAULT1_START      SDL_SCANCODE_RETURN
#define CONTROL_DEFAULT1_UP         SDL_SCANCODE_UP
#define CONTROL_DEFAULT1_DOWN       SDL_SCANCODE_DOWN
#define CONTROL_DEFAULT1_LEFT       SDL_SCANCODE_LEFT
#define CONTROL_DEFAULT1_RIGHT      SDL_SCANCODE_RIGHT
#define CONTROL_DEFAULT1_FIRE1      SDL_SCANCODE_LCTRL
#define CONTROL_DEFAULT1_FIRE2      SDL_SCANCODE_LALT
#define CONTROL_DEFAULT1_FIRE3      SDL_SCANCODE_LSHIFT
#define CONTROL_DEFAULT1_FIRE4      SDL_SCANCODE_SPACE
#define CONTROL_DEFAULT1_FIRE5      SDL_SCANCODE_BACKSPACE
#define CONTROL_DEFAULT1_FIRE6      SDL_SCANCODE_TAB
#define CONTROL_DEFAULT1_SCREENSHOT SDL_SCANCODE_F12
#define CONTROL_DEFAULT1_ESC        SDL_SCANCODE_HOME