On Thu, Nov 22, 2012 at 01:42:33AM +0000, Edd Barrett wrote:
> On Wed, Nov 21, 2012 at 11:46:54PM +0000, Stuart Henderson wrote:
> > On 2012/11/21 23:16, Edd Barrett wrote:
> > > On Wed, Nov 21, 2012 at 11:05:11AM -0800, Ryan Freeman wrote:
> > > > Sweet!  i started a build of this and it died at
> > > > 
> > > > In file included from src/jit/compemu_support.cpp:603:
> > > > src/jit/compemu_raw_x86.cpp:1691:26: error: sys/ucontext.h: No such 
> > > > file or directory
> > > > 
> > > > missing a patch?  I have to run out the door now but i'll investigate
> > > > when I get back if this is i386 specific.  cheers!
> > > 
> > > No-one that has tested it so far has seen this.
> > > 
> > > If you can figure it out, then great.
> > 
> > You'll need to disable the JIT or find some other way around it,
> > we don't have ucontext.
> 
> Can you guys devise a fix between you?
> 
> A new tgz is attached:
> 
>  * Figured out how to use this thing properly and wrote a detailed
>    README detailing the setup process.
>  * Fullscreen works.
>  * Joysticks work.
>  * Package launcher (separate setup.py build in launcher dir)
> 
> TODO:
> 
>  * JIT fix.

If this is enough of a fix for now, excellent.  I followed sthen's
advice in the end and just turned off JIT altogether.  see patch below.

>  * Get rid of do-build and do-install targets in Makefile. I seem to
>    have to define them otherwise the Python module takes over and tries
>    to run setup.py. I tried several things to stop this behaviour but
>    failed. Can someone help with this?
>  * Anything else?
> 
> Upstream have already taken some of our patches and have apparently
> already applied similar fixes for some other patches.

It runs almost full-speed on my i386, fullscreen works fine.
I haven't tested joystick but I DO have a working usb->playstation
dual analog adapter that i got working with retroarch-libsnes, fceux,
and mupen64plus, so I'm sure it will work here too. 

I played a couple levels of The Great Giana Sisters (mario ripoff). 
Next up is to step down accuracy to see if i can get it from almost
full-speed to flawless full-speed (it will actually run smooth and
just slows down slightly sometimes, I see the options you marked
in the example conf).

Finally, I couldn't get the launcher to work for whatever reason.
Kept telling me my kickstart was not valid for any of the amiga
models it emulates, but just editing the config file for kick13.rom
path and the giana.adf.  Brings back some childhood memories of
the cousin's amiga system sporting kick13.rom.

Cheers,

-ryan


$OpenBSD$

disable jit altogether for now.  fixes build on i386.

--- src/od-fs/defines.h.orig    Wed Nov 21 18:28:48 2012
+++ src/od-fs/defines.h Wed Nov 21 18:29:45 2012
@@ -93,7 +93,7 @@ extern FILE *g_fs_uae_sync_debug_file;
 #define FPU_UAE
 #define GFXFILTER
 
-#if defined(__x86_64__) || defined(__ppc__)
+#if defined(__x86_64__) || defined(__ppc__) || defined(__OpenBSD__)
 // no JIT for these architectures
 #else
 #define JIT

Reply via email to