[hatari-devel] Crosscompiling Hatari for GP2X Wiz

Eero Tamminen oak at helsinkinet.fi
Sun Mar 27 19:59:32 CEST 2011


Hi,

On sunnuntai 27 maaliskuu 2011, Matthias Arndt wrote:
> > No need for that, just configure the keys in the Hatari configuration
> > file.
> 
> Can it map joystick events (e.q. buttons)?

Specific key events have been supported "forever".


> The target has no keyboard, just a joystick + stylus as SDL mouse.

That's similar to N800, so there shouldn't be any problem.


> > A suitable "etc/gp2x.cfg" config file should be enough.  The etc/
> > subdir already has example configs for Windows WinCE phones and
> > Nokia's Linux N8x0 tablets.
> 
> Yes, I planned to have a special configuration file.
> But I also wanted to lock out options such as selecting large screen
> resolutions

Just set maximum window/resolution size suitably.


> and Falcon support.

Why?  Some Falcon programs (e.g. Flu & Blue 4k demos by NewBeat) need less
CPU than some of the ST demos that use overscan and especially palette
switching with spec512 mode.


> The device will do ST/STE stuff well but it has not enough power for
> Falcon with DSP gizmos.

Just build Hatari without DSP support.  Set:
	ENABLE_DSP_EMU:BOOL=1

To zero / false.


On sunnuntai 27 maaliskuu 2011, Matthias Arndt wrote:
> Am Sonntag, den 27.03.2011, 18:50 +0300 schrieb Eero Tamminen:
> I edited all tools for the Wiz toolchain now. within CmakeCache.txt
> 
> The Make itself fails with the buildcpu things:

You can change this:
	CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE

To TRUE to see what it does.


> [18:38:34] marndt at jll: ~/src/hatari/wiz
> $ make
> [  4%] Built target Floppy
> [ 11%] Built target Falcon
> [ 11%] Built target build68k
> Linking C executable gencpu
> CMakeFiles/gencpu.dir/readcpu.c.o: In function `read_table68k':
> readcpu.c:(.text+0x13dc): undefined reference to `n_defs68k'
> readcpu.c:(.text+0x13e0): undefined reference to `defs68k'
> collect2: ld returned 1 exit status
> make[2]: *** [src/uae-cpu/gencpu] Fehler 1
> make[1]: *** [src/uae-cpu/CMakeFiles/gencpu.dir/all] Fehler 2
> make: *** [all] Fehler 2
> 
> 
> I think the wrong files are compiled with the target gcc here:
> 
> [18:36:40] marndt at jll: ~/src/hatari/wiz
> $ file ./src/uae-cpu/CMakeFiles/gencpu.dir/readcpu.c.o
> ./src/uae-cpu/CMakeFiles/gencpu.dir/readcpu.c.o: ELF 32-bit LSB
> relocatable, ARM, version 1, not stripped

Thomas?


	- Eero



More information about the hatari-devel mailing list