![]() |
![]() |
#61 |
Registered User
Join Date: Apr 2012
Location: Spain
Posts: 56
|
After doing some testing in my other tablet, i can confirm: When i set DPAD to Custom, and i move the mouse cursor (either with the console right analog, or dragging the finger around the screen), when the cursor stops, always performs a left click.
Any way of fixing this? ![]() See ya! P.D: I have tried setting physical keys to the mouse button in the SDL options. Same behaviour ![]() |
![]() |
![]() |
#62 | |
Registered User
Join Date: Oct 2015
Location: Anywhere City
Posts: 194
|
Quote:
But it doesn't crash as the person says, it just hangs in that screen. I can't press back or anything. |
|
![]() |
![]() |
#63 |
Registered User
Join Date: Feb 2014
Location: Sheffield, England
Posts: 245
|
I've been trying to get UAE4ARM to work on the Raspberry PI but I'm having serious issues with the controls. Does anyone know how I can tell the emulator to register 'Spacebar' as fire and the cursor keys for movement? At the moment, I can only get Stunt Car Racer to work using the follow keys
RETURN = FIRE ARROW KEYS = DIRECTION UP, DOWN, LEFT, RIGHT SPACEBAR = BOOST IN REVERSE - CAR GOES BACKWARDS BUBBLE BOBBLE ARROW KEYS = DIRECTION UP, DOWN, LEFT, RIGHT FIRE = ??? |
![]() |
![]() |
#64 |
Posts: n/a
|
Trying to build on Kali "-rolling -dev" About the same as Debian Testing.
Got some link errors. Anyone spot whats wrong? Code:
g++ `sdl-config --cflags` -DRPI2 -DGP2X -DPANDORA -DARMV6_ASSEMBLY -DUSE_ARMNEON -DCPU_arm -DARM_ASSEMBLY -I/usr/include/SDL -Isrc -Isrc/include -fomit-frame-pointer -Wno-unused -Wno-format -Wno-write-strings -DUSE_SDL -fexceptions -mfloat-abi=hard -ffast-math -D_GLIBCXX_USE_CXX11_ABI=0 -DROM_PATH_PREFIX=\"./\" -DDATA_PREFIX=\"./data/\" -DSAVE_PREFIX=\"./saves/\" -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -fexpensive-optimizations -fstrict-aliasing -mstructure-size-boundary=32 -fweb -frename-registers -fomit-frame-pointer -falign-functions=32 -finline -finline-functions -fno-builtin -o uae4arm src/audio.o src/autoconf.o src/blitfunc.o src/blittable.o src/blitter.o src/cfgfile.o src/cia.o src/crc32.o src/custom.o src/disk.o src/drawing.o src/ersatz.o src/expansion.o src/filesys.o src/fpp.o src/fsdb.o src/fsdb_unix.o src/fsusage.o src/gfxutil.o src/hardfile.o src/inputdevice.o src/keybuf.o src/main.o src/memory.o src/missing.o src/native2amiga.o src/savestate.o src/traps.o src/uaelib.o src/uaeresource.o src/zfile.o src/zfile_archive.o src/archivers/7z/7zAlloc.o src/archivers/7z/7zBuffer.o src/archivers/7z/7zCrc.o src/archivers/7z/7zDecode.o src/archivers/7z/7zExtract.o src/archivers/7z/7zHeader.o src/archivers/7z/7zIn.o src/archivers/7z/7zItem.o src/archivers/7z/7zMethodID.o src/archivers/7z/LzmaDecode.o src/archivers/dms/crc_csum.o src/archivers/dms/getbits.o src/archivers/dms/maketbl.o src/archivers/dms/pfile.o src/archivers/dms/tables.o src/archivers/dms/u_deep.o src/archivers/dms/u_heavy.o src/archivers/dms/u_init.o src/archivers/dms/u_medium.o src/archivers/dms/u_quick.o src/archivers/dms/u_rle.o src/archivers/lha/crcio.o src/archivers/lha/dhuf.o src/archivers/lha/header.o src/archivers/lha/huf.o src/archivers/lha/larc.o src/archivers/lha/lhamaketbl.o src/archivers/lha/lharc.o src/archivers/lha/shuf.o src/archivers/lha/slide.o src/archivers/lha/uae_lha.o src/archivers/lha/util.o src/archivers/lzx/unlzx.o src/archivers/wrp/warp.o src/archivers/zip/unzip.o src/machdep/support.o src/osdep/neon_helper.o src/osdep/fsdb_host.o src/osdep/joystick.o src/osdep/keyboard.o src/osdep/inputmode.o src/osdep/picasso96.o src/osdep/writelog.o src/osdep/pandora.o src/osdep/pandora_filesys.o src/osdep/pandora_gui.o src/osdep/pandora_gfx.o src/osdep/pandora_mem.o src/osdep/sigsegv_handler.o src/osdep/menu/menu_config.o src/sounddep/sound.o src/osdep/gui/UaeRadioButton.o src/osdep/gui/UaeDropDown.o src/osdep/gui/UaeCheckBox.o src/osdep/gui/UaeListBox.o src/osdep/gui/InGameMessage.o src/osdep/gui/SelectorEntry.o src/osdep/gui/ShowMessage.o src/osdep/gui/SelectFolder.o src/osdep/gui/SelectFile.o src/osdep/gui/CreateFilesysHardfile.o src/osdep/gui/EditFilesysVirtual.o src/osdep/gui/EditFilesysHardfile.o src/osdep/gui/PanelPaths.o src/osdep/gui/PanelConfig.o src/osdep/gui/PanelCPU.o src/osdep/gui/PanelChipset.o src/osdep/gui/PanelROM.o src/osdep/gui/PanelRAM.o src/osdep/gui/PanelFloppy.o src/osdep/gui/PanelHD.o src/osdep/gui/PanelDisplay.o src/osdep/gui/PanelSound.o src/osdep/gui/PanelInput.o src/osdep/gui/PanelMisc.o src/osdep/gui/PanelSavestate.o src/osdep/gui/main_window.o src/osdep/gui/Navigation.o src/osdep/gui/sdltruetypefont.o src/newcpu.o src/readcpu.o src/cpudefs.o src/cpustbl.o src/cpuemu_0.o src/cpuemu_4.o src/cpuemu_11.o src/jit/compemu.o src/jit/compemu_fpp.o src/jit/compstbl.o src/jit/compemu_support.o -L/usr/lib/ -L/usr/lib/arm-linux-gnueabihf/ -lSDL_ttf -lguichan_sdl -lguichan -lpthread -lz -lSDL_image -lpng -lrt -lSDL src/osdep/gui/UaeListBox.o: In function `.LANCHOR0': UaeListBox.cpp:(.rodata+0x60): undefined reference to `gcn::Widget::_getMouseListeners()' UaeListBox.cpp:(.rodata+0x64): undefined reference to `gcn::Widget::_getKeyListeners()' UaeListBox.cpp:(.rodata+0x68): undefined reference to `gcn::Widget::_getFocusListeners()' etc etc etc.. Code:
diff -Nurd uae4arm/Makefile uae4arm-lnx/Makefile --- uae4arm/Makefile 1970-01-01 01:00:00.000000000 +0100 +++ uae4arm-lnx/Makefile 2015-11-02 17:44:48.344332322 +0100 @@ -0,0 +1,203 @@ +MORE_CFLAGS += -DRPI2 +# PREFIX = /usr +$(shell ./link_RPI2_dirs.sh) + +# SDL_BASE = $(PREFIX)/bin/ +SDL_BASE = /usr/bin/ + +NAME = uae4arm +O = o +RM = rm -f +CXX = g++ +STRIP = strip +#AS = as + +PROG = $(NAME) + +all: $(PROG) + +PANDORA=1 + +DEFAULT_CFLAGS = `sdl-config --cflags` +LDFLAGS += -L/usr/lib/ -L/usr/lib/arm-linux-gnueabihf/ -lSDL_ttf -lguichan_sdl -lguichan -lpthread -lz -lSDL_image -lpng -lrt -lSDL + +MORE_CFLAGS += -DGP2X -DPANDORA -DARMV6_ASSEMBLY -DUSE_ARMNEON +MORE_CFLAGS += -DCPU_arm -DARM_ASSEMBLY +#MORE_CFLAGS += -DWITH_LOGGING +#MORE_CFLAGS += -DDEBUG_M68K + +MORE_CFLAGS += -I/usr/include/SDL -Isrc -Isrc/include -fomit-frame-pointer -Wno-unused -Wno-format -Wno-write-strings -DUSE_SDL +MORE_CFLAGS += -fexceptions +MORE_CFLAGS += -mfloat-abi=hard -ffast-math -D_GLIBCXX_USE_CXX11_ABI=0 + + +MORE_CFLAGS += -DROM_PATH_PREFIX=\"./\" -DDATA_PREFIX=\"./data/\" -DSAVE_PREFIX=\"./saves/\" + +MORE_CFLAGS += -march=armv7-a -mfloat-abi=hard -mfpu=neon + +ifndef DEBUG +MORE_CFLAGS += -O3 -fexpensive-optimizations +MORE_CFLAGS += -fstrict-aliasing -mstructure-size-boundary=32 +MORE_CFLAGS += -fweb -frename-registers -fomit-frame-pointer +#MORE_CFLAGS += -falign-functions=32 -falign-loops -falign-labels -falign-jumps +MORE_CFLAGS += -falign-functions=32 +MORE_CFLAGS += -finline -finline-functions -fno-builtin +#MORE_CFLAGS += -S +else +MORE_CFLAGS += -ggdb +endif + +ASFLAGS += -mfloat-abi=hard -Wall -mfpu=neon + +CFLAGS = $(DEFAULT_CFLAGS) $(MORE_CFLAGS) + +OBJS = \ + src/audio.o \ + src/autoconf.o \ + src/blitfunc.o \ + src/blittable.o \ + src/blitter.o \ + src/cfgfile.o \ + src/cia.o \ + src/crc32.o \ + src/custom.o \ + src/disk.o \ + src/drawing.o \ + src/ersatz.o \ + src/expansion.o \ + src/filesys.o \ + src/fpp.o \ + src/fsdb.o \ + src/fsdb_unix.o \ + src/fsusage.o \ + src/gfxutil.o \ + src/hardfile.o \ + src/inputdevice.o \ + src/keybuf.o \ + src/main.o \ + src/memory.o \ + src/missing.o \ + src/native2amiga.o \ + src/savestate.o \ + src/traps.o \ + src/uaelib.o \ + src/uaeresource.o \ + src/zfile.o \ + src/zfile_archive.o \ + src/archivers/7z/7zAlloc.o \ + src/archivers/7z/7zBuffer.o \ + src/archivers/7z/7zCrc.o \ + src/archivers/7z/7zDecode.o \ + src/archivers/7z/7zExtract.o \ + src/archivers/7z/7zHeader.o \ + src/archivers/7z/7zIn.o \ + src/archivers/7z/7zItem.o \ + src/archivers/7z/7zMethodID.o \ + src/archivers/7z/LzmaDecode.o \ + src/archivers/dms/crc_csum.o \ + src/archivers/dms/getbits.o \ + src/archivers/dms/maketbl.o \ + src/archivers/dms/pfile.o \ + src/archivers/dms/tables.o \ + src/archivers/dms/u_deep.o \ + src/archivers/dms/u_heavy.o \ + src/archivers/dms/u_init.o \ + src/archivers/dms/u_medium.o \ + src/archivers/dms/u_quick.o \ + src/archivers/dms/u_rle.o \ + src/archivers/lha/crcio.o \ + src/archivers/lha/dhuf.o \ + src/archivers/lha/header.o \ + src/archivers/lha/huf.o \ + src/archivers/lha/larc.o \ + src/archivers/lha/lhamaketbl.o \ + src/archivers/lha/lharc.o \ + src/archivers/lha/shuf.o \ + src/archivers/lha/slide.o \ + src/archivers/lha/uae_lha.o \ + src/archivers/lha/util.o \ + src/archivers/lzx/unlzx.o \ + src/archivers/wrp/warp.o \ + src/archivers/zip/unzip.o \ + src/machdep/support.o \ + src/osdep/neon_helper.o \ + src/osdep/fsdb_host.o \ + src/osdep/joystick.o \ + src/osdep/keyboard.o \ + src/osdep/inputmode.o \ + src/osdep/picasso96.o \ + src/osdep/writelog.o \ + src/osdep/pandora.o \ + src/osdep/pandora_filesys.o \ + src/osdep/pandora_gui.o \ + src/osdep/pandora_gfx.o \ + src/osdep/pandora_mem.o \ + src/osdep/sigsegv_handler.o \ + src/osdep/menu/menu_config.o \ + src/sounddep/sound.o \ + src/osdep/gui/UaeRadioButton.o \ + src/osdep/gui/UaeDropDown.o \ + src/osdep/gui/UaeCheckBox.o \ + src/osdep/gui/UaeListBox.o \ + src/osdep/gui/InGameMessage.o \ + src/osdep/gui/SelectorEntry.o \ + src/osdep/gui/ShowMessage.o \ + src/osdep/gui/SelectFolder.o \ + src/osdep/gui/SelectFile.o \ + src/osdep/gui/CreateFilesysHardfile.o \ + src/osdep/gui/EditFilesysVirtual.o \ + src/osdep/gui/EditFilesysHardfile.o \ + src/osdep/gui/PanelPaths.o \ + src/osdep/gui/PanelConfig.o \ + src/osdep/gui/PanelCPU.o \ + src/osdep/gui/PanelChipset.o \ + src/osdep/gui/PanelROM.o \ + src/osdep/gui/PanelRAM.o \ + src/osdep/gui/PanelFloppy.o \ + src/osdep/gui/PanelHD.o \ + src/osdep/gui/PanelDisplay.o \ + src/osdep/gui/PanelSound.o \ + src/osdep/gui/PanelInput.o \ + src/osdep/gui/PanelMisc.o \ + src/osdep/gui/PanelSavestate.o \ + src/osdep/gui/main_window.o \ + src/osdep/gui/Navigation.o +ifdef ANDROID +OBJS += src/osdep/gui/PanelOnScreen.o +endif +ifdef PANDORA +OBJS += src/osdep/gui/sdltruetypefont.o +endif + +ifdef USE_XFD +OBJS += src/cpu_small.o \ + src/cpuemu_small.o \ + src/cpustbl_small.o \ + src/archivers/xfd/xfd.o +endif + +OBJS += src/newcpu.o +OBJS += src/readcpu.o +OBJS += src/cpudefs.o +OBJS += src/cpustbl.o +OBJS += src/cpuemu_0.o +OBJS += src/cpuemu_4.o +OBJS += src/cpuemu_11.o +OBJS += src/jit/compemu.o +OBJS += src/jit/compemu_fpp.o +OBJS += src/jit/compstbl.o +OBJS += src/jit/compemu_support.o + +CPPFLAGS = $(CFLAGS) + +src/osdep/neon_helper.o: src/osdep/neon_helper.s + $(CXX) -falign-functions=32 -march=armv7-a -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=hard -Wall -o src/osdep/neon_helper.o -c src/osdep/neon_helper.s + +$(PROG): $(OBJS) + $(CXX) $(CFLAGS) -o $(PROG) $(OBJS) $(LDFLAGS) +ifndef DEBUG + $(STRIP) $(PROG) +endif + +clean: + $(RM) $(PROG) $(OBJS) Binary files uae4arm/.Makefile.android.armv7a-neon-hardfp.swp and uae4arm-lnx/.Makefile.android.armv7a-neon-hardfp.swp differ diff -Nurd uae4arm/Makefile-lnx uae4arm-lnx/Makefile-lnx --- uae4arm/Makefile-lnx 1970-01-01 01:00:00.000000000 +0100 +++ uae4arm-lnx/Makefile-lnx 2015-11-02 17:39:46.424332439 +0100 @@ -0,0 +1,203 @@ +MORE_CFLAGS += -DRPI2 +# PREFIX = /usr +$(shell ./link_RPI2_dirs.sh) + +# SDL_BASE = $(PREFIX)/bin/ +SDL_BASE = /usr/bin/ + +NAME = uae4arm +O = o +RM = rm -f +CXX = g++ +STRIP = strip +#AS = as + +PROG = $(NAME) + +all: $(PROG) + +PANDORA=1 + +DEFAULT_CFLAGS = `sdl-config --cflags` +LDFLAGS += -L/usr/lib/ -L/usr/lib/arm-linux-gnueabihf/ -lSDL_ttf -lguichan_sdl -lguichan -lpthread -lz -lSDL_image -lpng -lrt -lSDL + +MORE_CFLAGS += -DGP2X -DPANDORA -DARMV6_ASSEMBLY -DUSE_ARMNEON +MORE_CFLAGS += -DCPU_arm -DARM_ASSEMBLY +#MORE_CFLAGS += -DWITH_LOGGING +#MORE_CFLAGS += -DDEBUG_M68K + +MORE_CFLAGS += -I/usr/include/SDL -Isrc -Isrc/include -fomit-frame-pointer -Wno-unused -Wno-format -Wno-write-strings -DUSE_SDL +MORE_CFLAGS += -fexceptions +MORE_CFLAGS += -mfloat-abi=hard -ffast-math -D_GLIBCXX_USE_CXX11_ABI=0 + + +MORE_CFLAGS += -DROM_PATH_PREFIX=\"./\" -DDATA_PREFIX=\"./data/\" -DSAVE_PREFIX=\"./saves/\" + +MORE_CFLAGS += -march=armv7-a -mfloat-abi=hard -mfpu=neon + +ifndef DEBUG +MORE_CFLAGS += -O3 -fexpensive-optimizations +MORE_CFLAGS += -fstrict-aliasing -mstructure-size-boundary=32 +MORE_CFLAGS += -fweb -frename-registers -fomit-frame-pointer +#MORE_CFLAGS += -falign-functions=32 -falign-loops -falign-labels -falign-jumps +MORE_CFLAGS += -falign-functions=32 +MORE_CFLAGS += -finline -finline-functions -fno-builtin +#MORE_CFLAGS += -S +else +MORE_CFLAGS += -ggdb +endif + +ASFLAGS += -mfloat-abi=hard -Wall -mfpu=neon + +CFLAGS = $(DEFAULT_CFLAGS) $(MORE_CFLAGS) + +OBJS = \ + src/audio.o \ + src/autoconf.o \ + src/blitfunc.o \ + src/blittable.o \ + src/blitter.o \ + src/cfgfile.o \ + src/cia.o \ + src/crc32.o \ + src/custom.o \ + src/disk.o \ + src/drawing.o \ + src/ersatz.o \ + src/expansion.o \ + src/filesys.o \ + src/fpp.o \ + src/fsdb.o \ + src/fsdb_unix.o \ + src/fsusage.o \ + src/gfxutil.o \ + src/hardfile.o \ + src/inputdevice.o \ + src/keybuf.o \ + src/main.o \ + src/memory.o \ + src/missing.o \ + src/native2amiga.o \ + src/savestate.o \ + src/traps.o \ + src/uaelib.o \ + src/uaeresource.o \ + src/zfile.o \ + src/zfile_archive.o \ + src/archivers/7z/7zAlloc.o \ + src/archivers/7z/7zBuffer.o \ + src/archivers/7z/7zCrc.o \ + src/archivers/7z/7zDecode.o \ + src/archivers/7z/7zExtract.o \ + src/archivers/7z/7zHeader.o \ + src/archivers/7z/7zIn.o \ + src/archivers/7z/7zItem.o \ + src/archivers/7z/7zMethodID.o \ + src/archivers/7z/LzmaDecode.o \ + src/archivers/dms/crc_csum.o \ + src/archivers/dms/getbits.o \ + src/archivers/dms/maketbl.o \ + src/archivers/dms/pfile.o \ + src/archivers/dms/tables.o \ + src/archivers/dms/u_deep.o \ + src/archivers/dms/u_heavy.o \ + src/archivers/dms/u_init.o \ + src/archivers/dms/u_medium.o \ + src/archivers/dms/u_quick.o \ + src/archivers/dms/u_rle.o \ + src/archivers/lha/crcio.o \ + src/archivers/lha/dhuf.o \ + src/archivers/lha/header.o \ + src/archivers/lha/huf.o \ + src/archivers/lha/larc.o \ + src/archivers/lha/lhamaketbl.o \ + src/archivers/lha/lharc.o \ + src/archivers/lha/shuf.o \ + src/archivers/lha/slide.o \ + src/archivers/lha/uae_lha.o \ + src/archivers/lha/util.o \ + src/archivers/lzx/unlzx.o \ + src/archivers/wrp/warp.o \ + src/archivers/zip/unzip.o \ + src/machdep/support.o \ + src/osdep/neon_helper.o \ + src/osdep/fsdb_host.o \ + src/osdep/joystick.o \ + src/osdep/keyboard.o \ + src/osdep/inputmode.o \ + src/osdep/picasso96.o \ + src/osdep/writelog.o \ + src/osdep/pandora.o \ + src/osdep/pandora_filesys.o \ + src/osdep/pandora_gui.o \ + src/osdep/pandora_gfx.o \ + src/osdep/pandora_mem.o \ + src/osdep/sigsegv_handler.o \ + src/osdep/menu/menu_config.o \ + src/sounddep/sound.o \ + src/osdep/gui/UaeRadioButton.o \ + src/osdep/gui/UaeDropDown.o \ + src/osdep/gui/UaeCheckBox.o \ + src/osdep/gui/UaeListBox.o \ + src/osdep/gui/InGameMessage.o \ + src/osdep/gui/SelectorEntry.o \ + src/osdep/gui/ShowMessage.o \ + src/osdep/gui/SelectFolder.o \ + src/osdep/gui/SelectFile.o \ + src/osdep/gui/CreateFilesysHardfile.o \ + src/osdep/gui/EditFilesysVirtual.o \ + src/osdep/gui/EditFilesysHardfile.o \ + src/osdep/gui/PanelPaths.o \ + src/osdep/gui/PanelConfig.o \ + src/osdep/gui/PanelCPU.o \ + src/osdep/gui/PanelChipset.o \ + src/osdep/gui/PanelROM.o \ + src/osdep/gui/PanelRAM.o \ + src/osdep/gui/PanelFloppy.o \ + src/osdep/gui/PanelHD.o \ + src/osdep/gui/PanelDisplay.o \ + src/osdep/gui/PanelSound.o \ + src/osdep/gui/PanelInput.o \ + src/osdep/gui/PanelMisc.o \ + src/osdep/gui/PanelSavestate.o \ + src/osdep/gui/main_window.o \ + src/osdep/gui/Navigation.o +ifdef ANDROID +OBJS += src/osdep/gui/PanelOnScreen.o +endif +ifdef PANDORA +OBJS += src/osdep/gui/sdltruetypefont.o +endif + +ifdef USE_XFD +OBJS += src/cpu_small.o \ + src/cpuemu_small.o \ + src/cpustbl_small.o \ + src/archivers/xfd/xfd.o +endif + +OBJS += src/newcpu.o +OBJS += src/readcpu.o +OBJS += src/cpudefs.o +OBJS += src/cpustbl.o +OBJS += src/cpuemu_0.o +OBJS += src/cpuemu_4.o +OBJS += src/cpuemu_11.o +OBJS += src/jit/compemu.o +OBJS += src/jit/compemu_fpp.o +OBJS += src/jit/compstbl.o +OBJS += src/jit/compemu_support.o + +CPPFLAGS = $(CFLAGS) + +src/osdep/neon_helper.o: src/osdep/neon_helper.s + $(CXX) -falign-functions=32 -march=armv7-a -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=hard -Wall -o src/osdep/neon_helper.o -c src/osdep/neon_helper.s + +$(PROG): $(OBJS) + $(CXX) $(CFLAGS) -o $(PROG) $(OBJS) $(LDFLAGS) +ifndef DEBUG + $(STRIP) $(PROG) +endif + +clean: + $(RM) $(PROG) $(OBJS) diff -Nurd uae4arm/src/od-sdl-guichan/gui/SelectFolder.cpp uae4arm-lnx/src/od-sdl-guichan/gui/SelectFolder.cpp --- uae4arm/src/od-sdl-guichan/gui/SelectFolder.cpp 2015-11-02 17:46:59.624332274 +0100 +++ uae4arm-lnx/src/od-sdl-guichan/gui/SelectFolder.cpp 2015-11-02 17:04:38.814333243 +0100 @@ -327,9 +327,13 @@ dialogFinished = false; InitSelectFolder(title); checkfoldername(value); +#ifdef ANDROID __android_log_print(ANDROID_LOG_INFO, "SDL", "FIXME folderloop start"); +#endif SelectFolderLoop(); +#ifdef ANDROID __android_log_print(ANDROID_LOG_INFO, "SDL", "FIXME folderloop end"); +#endif ExitSelectFolder(); if(dialogResult) { diff -Nurd uae4arm/src/od-sdl-guichan/pandora.cpp uae4arm-lnx/src/od-sdl-guichan/pandora.cpp --- uae4arm/src/od-sdl-guichan/pandora.cpp 2015-11-02 17:46:59.634332274 +0100 +++ uae4arm-lnx/src/od-sdl-guichan/pandora.cpp 2015-11-02 17:02:38.464333287 +0100 @@ -335,7 +335,8 @@ || cfgfile_intval (option, value, "button2", &p->pandora_button2, 1) || cfgfile_intval (option, value, "autofire_button", &p->pandora_autofireButton1, 1) || cfgfile_intval (option, value, "jump", &p->pandora_jump, 1) - || cfgfile_intval (option, value, "onscreen", &p->onScreen, 1) +#ifdef ANDROIDSDL + || cfgfile_intval (option, value, "onscreen", &p->onScreen, 1) || cfgfile_intval (option, value, "onscreen_textinput", &p->onScreen_textinput, 1) || cfgfile_intval (option, value, "onscreen_dpad", &p->onScreen_dpad, 1) || cfgfile_intval (option, value, "onscreen_button1", &p->onScreen_button1, 1) @@ -362,7 +363,8 @@ || cfgfile_intval (option, value, "pos_x_button6", &p->pos_x_button6, 1) || cfgfile_intval (option, value, "pos_y_button6", &p->pos_y_button6, 1) || cfgfile_intval (option, value, "floating_joystick", &p->FloatingJoystick, 1) - ); +#endif + ); } diff -Nurd uae4arm/src/osdep/gui/SelectFolder.cpp uae4arm-lnx/src/osdep/gui/SelectFolder.cpp --- uae4arm/src/osdep/gui/SelectFolder.cpp 2015-11-02 17:46:59.624332274 +0100 +++ uae4arm-lnx/src/osdep/gui/SelectFolder.cpp 2015-11-02 17:04:38.814333243 +0100 @@ -327,9 +327,13 @@ dialogFinished = false; InitSelectFolder(title); checkfoldername(value); +#ifdef ANDROID __android_log_print(ANDROID_LOG_INFO, "SDL", "FIXME folderloop start"); +#endif SelectFolderLoop(); +#ifdef ANDROID __android_log_print(ANDROID_LOG_INFO, "SDL", "FIXME folderloop end"); +#endif ExitSelectFolder(); if(dialogResult) { diff -Nurd uae4arm/src/osdep/pandora.cpp uae4arm-lnx/src/osdep/pandora.cpp --- uae4arm/src/osdep/pandora.cpp 2015-11-02 17:46:59.634332274 +0100 +++ uae4arm-lnx/src/osdep/pandora.cpp 2015-11-02 17:02:38.464333287 +0100 @@ -335,7 +335,8 @@ || cfgfile_intval (option, value, "button2", &p->pandora_button2, 1) || cfgfile_intval (option, value, "autofire_button", &p->pandora_autofireButton1, 1) || cfgfile_intval (option, value, "jump", &p->pandora_jump, 1) - || cfgfile_intval (option, value, "onscreen", &p->onScreen, 1) +#ifdef ANDROIDSDL + || cfgfile_intval (option, value, "onscreen", &p->onScreen, 1) || cfgfile_intval (option, value, "onscreen_textinput", &p->onScreen_textinput, 1) || cfgfile_intval (option, value, "onscreen_dpad", &p->onScreen_dpad, 1) || cfgfile_intval (option, value, "onscreen_button1", &p->onScreen_button1, 1) @@ -362,7 +363,8 @@ || cfgfile_intval (option, value, "pos_x_button6", &p->pos_x_button6, 1) || cfgfile_intval (option, value, "pos_y_button6", &p->pos_y_button6, 1) || cfgfile_intval (option, value, "floating_joystick", &p->FloatingJoystick, 1) - ); +#endif + ); } |
![]() |
#65 |
Posts: n/a
|
Uh, tested uae4all2, figured surely i'd stumble across the issue on the way..
This just worked. Code:
diff -Nurd uae4all2-org/Makefile uae4all2/Makefile --- uae4all2-org/Makefile 1970-01-01 01:00:00.000000000 +0100 +++ uae4all2/Makefile 2015-11-02 19:29:19.824329930 +0100 @@ -0,0 +1,175 @@ +MORE_CFLAGS += -DGP2X -DDOUBLEBUFFER -DPANDORA -DRASPBERRY -DUSE_VKBD + +NAME = uae4all-v7a-neon-hard +O = o +RM = rm -f + +PROG = $(NAME) + +all: $(PROG) + +FAME_CORE=1 +FAME_CORE_C=1 +#SDLSOUND=1 +NEWSDLSOUND=1 +#DEBUG=1 +#TEXT_GUI=1 +GUICHAN_GUI=1 +#ANDROIDSDL=1 + +DEFAULT_CFLAGS = `sdl-config --cflags` + +#LDFLAGS = -lSDL -lpthread -lz -lSDL_image -lpng12 +LDFLAGS = -lguichan -lguichan_sdl -lSDL_image -lz -lpng -lpthread `sdl-config --libs` -lSDL_ttf -lrt +MORE_CFLAGS += -Isrc-v7a-neon-hard -Isrc-v7a-neon-hard/gp2x -Isrc-v7a-neon-hard/vkbd -Isrc-v7a-neon-hard/menu -Isrc-v7a-neon-hard/include -Isrc-v7a-neon-hard/gp2x/menu -fomit-frame-pointer -Wno-unused -Wno-format -DUSE_SDL -DGCCCONSTFUNC="__attribute__((const))" -DUSE_UNDERSCORE -fno-exceptions # -DUNALIGNED_PROFITABLE -DOPTIMIZED_FLAGS -DSHM_SUPPORT_LINKS=0 -DOS_WITHOUT_MEMORY_MANAGEMENT -DVKBD_ALWAYS -DUSE_UAE4ALL_VKBD +MORE_CFLAGS += -DUSE_ARMV7 -DUSE_ARMNEON +#-DMENU_MUSIC + +MORE_CFLAGS += -DROM_PATH_PREFIX=\"./\" -DDATA_PREFIX=\"./data/\" -DSAVE_PREFIX=\"./saves/\" + +#MORE_CFLAGS += -msoft-float -ffast-math +MORE_CFLAGS += -ffast-math +ifndef DEBUG +#MORE_CFLAGS += -O3 +MORE_CFLAGS += -fstrict-aliasing -mstructure-size-boundary=32 -fexpensive-optimizations +MORE_CFLAGS += -fweb -frename-registers -fomit-frame-pointer +#MORE_CFLAGS += -falign-functions=32 -falign-loops -falign-labels -falign-jumps +MORE_CFLAGS += -falign-functions=32 +MORE_CFLAGS += -finline -finline-functions -fno-builtin +else +MORE_CFLAGS += -ggdb +endif + +ASFLAGS += -mfloat-abi=hard -mfpu=neon + +MORE_CFLAGS+= -DUSE_AUTOCONFIG +MORE_CFLAGS+= -DUSE_ZFILE +# Turrican3 becomes unstable if this is not enabled +MORE_CFLAGS+= -DSAFE_MEMORY_ACCESS +#MORE_CFLAGS+= -DDEBUG_SAVESTATE + +CFLAGS = $(DEFAULT_CFLAGS) $(MORE_CFLAGS) + +OBJS = \ + src-v7a-neon-hard/audio.o \ + src-v7a-neon-hard/autoconf.o \ + src-v7a-neon-hard/blitfunc.o \ + src-v7a-neon-hard/blittable.o \ + src-v7a-neon-hard/blitter.o \ + src-v7a-neon-hard/cfgfile.o \ + src-v7a-neon-hard/cia.o \ + src-v7a-neon-hard/savedisk.o \ + src-v7a-neon-hard/savestate.o \ + src-v7a-neon-hard/custom.o \ + src-v7a-neon-hard/disk.o \ + src-v7a-neon-hard/drawing.o \ + src-v7a-neon-hard/ersatz.o \ + src-v7a-neon-hard/expansion.o \ + src-v7a-neon-hard/filesys.o \ + src-v7a-neon-hard/fsdb.o \ + src-v7a-neon-hard/fsdb_unix.o \ + src-v7a-neon-hard/fsusage.o \ + src-v7a-neon-hard/gfxutil.o \ + src-v7a-neon-hard/hardfile.o \ + src-v7a-neon-hard/keybuf.o \ + src-v7a-neon-hard/main.o \ + src-v7a-neon-hard/memory.o \ + src-v7a-neon-hard/missing.o \ + src-v7a-neon-hard/native2amiga.o \ + src-v7a-neon-hard/neon_helper.o \ + src-v7a-neon-hard/gui.o \ + src-v7a-neon-hard/od-joy.o \ + src-v7a-neon-hard/scsi-none.o \ + src-v7a-neon-hard/sdlgfx.o \ + src-v7a-neon-hard/writelog.o \ + src-v7a-neon-hard/zfile.o \ + src-v7a-neon-hard/menu/fade.o \ + src-v7a-neon-hard/vkbd/vkbd.o \ + src-v7a-neon-hard/gp2x/memcpy.o \ + src-v7a-neon-hard/gp2x/memset.o \ + src-v7a-neon-hard/gp2x/gp2x.o \ + src-v7a-neon-hard/gp2x/inputmode.o \ + src-v7a-neon-hard/gp2x/menu/menu_helper.o \ + src-v7a-neon-hard/gp2x/menu/menu_config.o \ + src-v7a-neon-hard/gp2x/menu/menu.o +ifdef GUICHAN_GUI +CFLAGS+= -DUSE_GUICHAN +OBJS += src-v7a-neon-hard/menu_guichan/menu_guichan.o \ + src-v7a-neon-hard/menu_guichan/menuTabMain.o \ + src-v7a-neon-hard/menu_guichan/menuTabFloppy.o \ + src-v7a-neon-hard/menu_guichan/menuTabHD.o \ + src-v7a-neon-hard/menu_guichan/menuTabDisplaySound.o \ + src-v7a-neon-hard/menu_guichan/menuTabSavestates.o \ + src-v7a-neon-hard/menu_guichan/menuTabControl.o \ + src-v7a-neon-hard/menu_guichan/menuTabCustomCtrl.o \ + src-v7a-neon-hard/menu_guichan/menuMessage.o \ + src-v7a-neon-hard/menu_guichan/menuLoad_guichan.o \ + src-v7a-neon-hard/menu_guichan/menuConfigManager.o \ + src-v7a-neon-hard/menu_guichan/uaeradiobutton.o \ + src-v7a-neon-hard/menu_guichan/uaedropdown.o +ifdef ANDROIDSDL +OBJS += src-v7a-neon-hard/menu_guichan/menuTabOnScreen.o +#OBJS += src-v7a-neon-hard/menu_guichan/guichan_vkeybd.o +endif +ifdef PANDORA +OBJS += src-v7a-neon-hard/menu_guichan/sdltruetypefont.o +endif +else +OBJS += src-v7a-neon-hard/gp2x/menu/menu_fileinfo.o \ + src-v7a-neon-hard/gp2x/menu/menu_load.o \ + src-v7a-neon-hard/gp2x/menu/menu_main.o \ + src-v7a-neon-hard/gp2x/menu/menu_savestates.o \ + src-v7a-neon-hard/gp2x/menu/menu_misc.o \ + src-v7a-neon-hard/gp2x/menu/menu_controls.o \ + src-v7a-neon-hard/gp2x/menu/menu_display.o \ + src-v7a-neon-hard/gp2x/menu/menu_memory_disk.o +endif +ifdef SDLSOUND +CFLAGS+= -DUSE_SDLSOUND +OBJS += src-v7a-neon-hard/sound.o +else +ifdef NEWSDLSOUND +OBJS += src-v7a-neon-hard/sound_sdl_new.o +else +OBJS += src-v7a-neon-hard/sound_gp2x.o +endif +endif + +ifdef FAME_CORE +ifdef FAME_CORE_C +CFLAGS+=-DUSE_FAME_CORE -DUSE_FAME_CORE_C -DFAME_IRQ_CLOCKING -DFAME_CHECK_BRANCHES -DFAME_EMULATE_TRACE -DFAME_DIRECT_MAPPING -DFAME_BYPASS_TAS_WRITEBACK -DFAME_ACCURATE_TIMING -DFAME_GLOBAL_CONTEXT -DFAME_FETCHBITS=8 -DFAME_DATABITS=8 -DFAME_NO_RESTORE_PC_MASKED_BITS +CFLAGS+=-DWITH_TESTMODE + +src-v7a-neon-hard/m68k/fame/famec.o: src-v7a-neon-hard/m68k/fame/famec.cpp +OBJS += src-v7a-neon-hard/m68k/fame/famec.o +else +CFLAGS+=-DUSE_FAME_CORE +src-v7a-neon-hard/m68k/fame/fame.o: src-v7a-neon-hard/m68k/fame/fame.asm + nasm src-v7a-neon-hard/m68k/fame/fame.asm +OBJS += src-v7a-neon-hard/m68k/fame/fame.o +endif +OBJS += src-v7a-neon-hard/m68k/fame/m68k_intrf.o +OBJS += src-v7a-neon-hard/m68k/m68k_cmn_intrf.o +else +OBJS += \ + src-v7a-neon-hard/m68k/uae/newcpu.o \ + src-v7a-neon-hard/m68k/uae/readcpu.o \ + src-v7a-neon-hard/m68k/uae/cpudefs.o \ + src-v7a-neon-hard/m68k/uae/fpp.o \ + src-v7a-neon-hard/m68k/uae/cpustbl.o \ + src-v7a-neon-hard/m68k/uae/cpuemu.o +endif + +CPPFLAGS = $(CFLAGS) + +$(PROG): $(OBJS) + $(CXX) $(CFLAGS) -o $(PROG) $(OBJS) $(LDFLAGS) -lpng +ifndef DEBUG + $(STRIP) $(PROG) +endif + +run: $(PROG) + ./$(PROG) + +clean: + $(RM) $(PROG) $(OBJS) |
![]() |
#66 |
PSPUAE DEV
|
I thought I would give this a try.
However its hanging on boot. Files are in correct location, as it sees kickstart etc etc. I think I have tried everything. EDIT Scratch that, theres a bug in the menu. If you set joypad buttons to second option, it causes emu to hang. Set it to its default and it works fine. EDIT2 All I can say is wow, full speed on everything so far. Even plays Microcosm at fullspeed, ![]() Last edited by FOL; 04 November 2015 at 01:20. |
![]() |
![]() |
#67 |
AMIGA EMU DEV
Join Date: Nov 2012
Location: Lviv, Ukraine
Posts: 528
![]() |
threader,
Both uae4all2 and uae4arm used modified guichan library If you want to build it for linux better use Makefile for RPI2 or Pandora |
![]() |
![]() |
#68 | |
Registered User
Join Date: Oct 2006
Location: USA
Posts: 1,067
|
Quote:
Last edited by rsn8887; 11 November 2015 at 22:33. |
|
![]() |
![]() |
#69 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,665
|
Wow this works amazingly on my Raspberry Pi Zero. I am impressed. It works Turrican 2 and 3 well. The only ones not running great are Brian the Lion and Lionheart. But I bet on a Raspberri pi 2 the speed would be better!
I have a problem though: it's super annoying to have to have a mouse and/or keyboard to work out the launching of the emulation. Can anybody make a frontend, or can we have a frontend option for UAE4ARM that we can control with a joypad? Select a pre-made config and disk images would be enough for a Retropie setup. As it is, it's rather annoying that I have to go and look for at least the mouse. |
![]() |
![]() |
#70 | |
PSPUAE DEV
|
Quote:
Im using my real A1200 HDD which is packed with WHDload. Alot of stuff, you need to set CPU speed to 14MHz, or you get speed problems. For CD32, Im using custom iso's, with JOTD's CD32Pad button emu, to map buttons to keyboard. Ment to say, I cant get the input to change via keyboard. Used to be able to press left shift and it would change keyboard, mouse and joystick. Last edited by FOL; 03 December 2015 at 22:43. |
|
![]() |
![]() |
#71 |
Out to Grass
Join Date: Jul 2010
Location: UK
Posts: 125
|
Hi FOL
Have you tried Left Alt, just a thought it works with my ver of Uae4arm |
![]() |
![]() |
#72 |
Registered User
Join Date: Oct 2006
Location: USA
Posts: 1,067
|
Left Alt works to switch between Joystick and DIGITAL mouse on Android. There's also a (hardcoded?) ANALOG mouse support in this emu, which is fixed always on the right analog stick on my Shield Portable. I mapped left mouse and right mouse to L and R shoulder buttons, and it works quite well to control the mouse that way with the right analog stick. The mouse speed slider also affects the sensitivity of this analog mouse, but the further I move the stick, the faster the pointer moves.
After fiddling with UAE4ARM some more, I am definitely experiencing the large audio lag of >200 ms on my Shield Portable that was mentioned before. This is a bit annoying because for example the sound of my bullets in Turrican comes too late after I press the button. I already set sound buffer to minimum in the SDL settings and tried various settings in the sound menu. I hope anyone finds a way to improve this audio lag issue, because otherwise this is an almost perfect Amiga emulator - every game I throw at it works! I have other emulators with no audible lag, and even UAE4All2-SDL, which also uses SDL, has much less lag. So I am pretty sure it should be possible to fix it. |
![]() |
![]() |
#73 |
AMIGA EMU DEV
Join Date: Nov 2012
Location: Lviv, Ukraine
Posts: 528
![]() |
@rsn8887
Try to check if audio works better with this version https://dl.dropboxusercontent.com/u/...20_12_2015.apk |
![]() |
![]() |
#74 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,665
|
I have been messing about with this more on my Retropie setup... it'd be great if there'd be an option to accept an ADF file as an argument, so if we use it without showing GUI at startup, UAE4ARM would use the default config with whatever file we passed as an argument to boot straight to that. It'd be wonderful to use with emulation station.
|
![]() |
![]() |
#75 |
Amigan
![]() Join Date: Feb 2012
Location: London
Posts: 1,324
|
I wonder if the JIT code from UAE4ARM can be added to FS-UAE?
|
![]() |
![]() |
#76 | |
Custom User Title
Join Date: Jan 2008
Location: UK
Posts: 331
|
Quote:
https://www.raspberrypi.org/forums/v...c.php?t=110488 Last edited by liveevil; 18 January 2016 at 12:13. |
|
![]() |
![]() |
#77 | |
Registered User
Join Date: Oct 2006
Location: USA
Posts: 1,067
|
Quote:
The on screen keyboard is much improved though, and the menu key on the new version is now F12. |
|
![]() |
![]() |
#78 |
FS-UAE Developer
![]() Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Yes, sort of. Not really the code from UAE4ARM as such, but from ARAnyM. I have already merged JIT code from the ARAnyM project when I added support for x86-64 JIT in FS-UAE/WinUAE, so support for ARM is already (partially) there. Disclaimer: I'm not working on completing the ARM support now.
|
![]() |
![]() |
#79 |
AMIGA EMU DEV
Join Date: Nov 2012
Location: Lviv, Ukraine
Posts: 528
![]() |
|
![]() |
![]() |
#80 | |
Out to Grass
Join Date: Jul 2010
Location: UK
Posts: 125
|
Quote:
In the first post It does not specify its for Android only. No offence ! just tryin to help keep this rolling ![]() |
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
IPF and ARM | ascp | project.SPS (was CAPS) | 24 | 14 October 2015 19:19 |
DO OR DIE,x86 or ARM? | hydragon | Amiga scene | 19 | 21 March 2014 12:05 |
WinUAE for Windows 8 ARM? | Mequa | request.UAE Wishlist | 6 | 27 October 2011 19:40 |
Made in Britain - ARM | DDNI | Nostalgia & memories | 2 | 30 June 2011 10:53 |
Minimig mod for ARM | lolafg | support.Hardware | 7 | 17 October 2010 20:43 |
|
|