View Full Version : Compiling P-UAE on Mac OS X
MagerValp
11 February 2010, 13:35
Has anyone managed to compile P-UAE for Mac OS X? I've cloned the git repository, but can't even get a working configure. I've struggled with autoreconf, automake, aclocal, and autoconf but can't seem to generate a configure script that doesn't die with syntax errors.
An intel build that's newer than 0.8.29-WIP4 would be lovely...
Madcrow
11 February 2010, 15:31
I don't know how anyone gets P-UAE built on ANY platform. I tried compiling it once on OpenSUSE 11.2 and I had all the same problems that you seem to be having on Mac. Still, given that P-UAE is mainly for use with the forthcoming Pandora handheld, the fact that it doesn't seem to work elsewhere isn't all that surprising.
gilgamesh
11 February 2010, 19:43
Nope, same story here. GnoStiC said somewhere that it works on his Debian 64bit box.
MagerValp
12 February 2010, 11:43
OK, thanks for confirming my suspicions. Damn shame though.
GnoStiC
13 February 2010, 23:50
<p>sorry that i haven't noticed these messages before..</p>
<p> </p>
<p>here is the latest backup i've found here on my ext hdd (latest version is on my work computer)</p>
<p> </p>
<p><a href="http://www.gamzeguckiran.com/puaex_2010_02_04.tar.gz" target="_blank">http://www.gamzeguckiran.com/puaex_2010_02_04.tar.gz</a></p>
<p> </p>
<p>please try this and meanwhile i can fix the errors you've been getting..</p>
<p> </p>
<p>p.s.: my dev system is ubuntu x64 9.10</p>
<p>p.s.s.: git repo is quite old</p>
--------
ZX14 vs Hayabusa (http://wiki.answers.com/Q/Which_bike_is_quicker_kawasaki_zx_-14_or_suzuki_hayabusa)
Hungry Horace
14 February 2010, 00:34
previous topic on this subject for reference:
http://eab.abime.net/showthread.php?p=636124
MagerValp
14 February 2010, 16:27
here is the latest backup i've found here on my ext hdd (latest version is on my work computer)
http://www.gamzeguckiran.com/puaex_2010_02_04.tar.gz
Alright, this manages to run ./configure, but compilation fails:
Making all in gui-cocoa
gcc -DHAVE_CONFIG_H -I. -I../../src -I/Library/Frameworks/SDL.framework/Headers -D_REENTRANT -DCPUEMU_0 -DCPUEMU_5 -DCPUEMU_6 -DFPUEMU -DUNALIGNED_PROFITABLE -DJIT -DAGA -DAUTOCONFIG -DFILESYS -DBSDSOCKET -DSUPPORT_THREADS -DUSE_SDL -DFDI2RAW -DDEBUGGER -DSAVESTATE -DENFORCER -DACTION_REPLAY -DXARCADE -DDRIVESOUND -I../../src/include -I../../src -I../../src -MT cocoaui.o -MD -MP -MF .deps/cocoaui.Tpo -c -o cocoaui.o cocoaui.m
cocoaui.m:57: warning: protocol ‘NSMenuItem’ is deprecated
cocoaui.m:204: warning: protocol ‘NSMenuItem’ is deprecated
cocoaui.m: In function ‘-[EuaeGui validateMenuItem:]’:
cocoaui.m:206: warning: ‘-action’ not found in protocol(s)
cocoaui.m:207: warning: ‘-tag’ not found in protocol(s)
cocoaui.m:220: warning: ‘-setState:’ not found in protocol(s)
cocoaui.m:221: warning: ‘-setState:’ not found in protocol(s)
cocoaui.m:236: warning: ‘-setState:’ not found in protocol(s)
cocoaui.m:237: warning: ‘-setState:’ not found in protocol(s)
cocoaui.m: In function ‘-[EuaeGui openPanelDidEnd:returnCode:contextInfo:]’:
cocoaui.m:323: warning: ‘lossyCString’ is deprecated (declared at /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:368)
cocoaui.m:323: warning: ‘lossyCString’ is deprecated (declared at /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:368)
cocoaui.m: In function ‘gui_open’:
cocoaui.m:401: warning: ‘lossyCString’ is deprecated (declared at /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:368)
cocoaui.m:412: warning: ‘lossyCString’ is deprecated (declared at /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:368)
cocoaui.m:417: warning: ‘lossyCString’ is deprecated (declared at /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:368)
cocoaui.m:417: warning: ‘lossyCString’ is deprecated (declared at /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:368)
cocoaui.m:436: warning: ‘stringWithCString:’ is deprecated (declared at /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:386)
cocoaui.m:437: warning: ‘stringWithCString:’ is deprecated (declared at /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:386)
cocoaui.m: At top level:
cocoaui.m:469: error: conflicting types for ‘gui_hd_led’
../../src/include/gui.h:20: error: previous declaration of ‘gui_hd_led’ was here
cocoaui.m:487: error: conflicting types for ‘gui_cd_led’
../../src/include/gui.h:21: error: previous declaration of ‘gui_cd_led’ was here
cocoaui.m: In function ‘gui_message’:
cocoaui.m:539: warning: ‘stringWithCString:’ is deprecated (declared at /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:386)
cocoaui.m:541: warning: format not a string literal and no format arguments
make[3]: *** [cocoaui.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
gilgamesh
14 February 2010, 16:43
@MagerValp: Have you tried --without-cocoa-gui?
I get
compemu_support.c:5415: error: ‘veccode’ undeclared (first use in this function)
No clue why, and I can't find a difference between PUAE and EUAE there.
GnoStiC
14 February 2010, 17:50
<p>@gilgamesh: </p>
<p>1) what is your configure parameters?</p>
<p>2) uname -a, gcc -V</p>
<p> </p>
<p>@MagerValp:</p>
<p>i only update gtk gui so the error message you get is normal. i'll fix that and rls (hopefully) tomorrow.</p>
________
Aprilia RS50 (http://www.cyclechaos.com/wiki/Aprilia_RS50)
gilgamesh
14 February 2010, 19:46
@gilgamesh:
1) what is your configure parameters?
2) uname -a, gcc -V
configure parameters
./configure --with-sdl --with-sdl-sound --with-sdl-gl --with-sdl-gfx --host=i586 --target=i586 CFLAGS="-m32" LDFLAGS="-m32"uname -a
Linux linux-zr5a 2.6.31.12-0.1-desktop #1 SMP PREEMPT 2010-01-27 08:20:11 +0100 x86_64 x86_64 x86_64 GNU/Linux
gcc -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.4 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.4 --enable-linux-futex --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux
Thread model: posix
gcc version 4.4.1 [gcc-4_4-branch revision 150839] (SUSE Linux)
MagerValp
14 February 2010, 20:17
i only update gtk gui so the error message you get is normal. i'll fix that and rls (hopefully) tomorrow.
Thanks, will this be pushed to git or can I grab a snapshot somewhere else?
gilgamesh
14 February 2010, 20:24
Just checked preprocessed output (gcc -E ...). Probably NATMEM_OFFSET is not set in compemu_raw_x86.c.
EDIT: Yes, EUAE protects all access by to veccode in build_comp() by #ifdef NATMEM_OFFSET. PUAE/WinUAE does not.
EDIT2: Tried this:
#ifdef NATMEM_OFFSET
if (veccode == NULL)
veccode = cache_alloc (256)
#endif
I hope it makes sense.
Now I get
memory.c:3050: error: conflicting types for ‘mapped_malloc’
../src/include/memory.h:345: note: previous declaration of ‘mapped_malloc’ was here
EDIT3: Silly. Must beuae_u8 *mapped_malloc (size_t s, const TCHAR *file) in memory.h. And yet another error, but this time the linker...
Doesn't find "au" in sound.c and "gui_..." in disk.c. (I'm building without GUI).
EDIT4: One edit to end them all. au() is some unicode related routine. I commented all the missing functions away since I don't think they're strictly needed. Well, PUAE compiles, runs and restarts with illegal instructions.
xaind
15 February 2010, 02:57
I have attached a fixed version of cocoaui.m that will compile.
With this and gilgamesh's fixes to compemu_support.c and memory.c I can get PUAEX to successfully compile in Mac OS X 10.6.2. Unfortunately it doesn't work - it just freezes solid. Here's the output:
E-UAE 2.0.1
Build date: Feb 15 2010 12:43:12
SDLGFX: Initialized.
SDLGFX: Using SDL version 1.2.14.
SDLGFX: Display is 32 bits deep.
SDLGFX: Found screenmode: 1920x1200.
SDLGFX: Found screenmode: 1600x1200.
SDLGFX: Found screenmode: 1600x1000.
SDLGFX: Found screenmode: 1344x1008.
SDLGFX: Found screenmode: 1280x960.
SDLGFX: Found screenmode: 1344x840.
SDLGFX: Found screenmode: 1280x800.
SDLGFX: Found screenmode: 1024x768.
SDLGFX: Found screenmode: 1024x640.
SDLGFX: Found screenmode: 960x600.
SDLGFX: Found screenmode: 800x600.
SDLGFX: Found screenmode: 800x500.
SDLGFX: Found screenmode: 640x480.
Found 0 joystick(s)
Found quartz raw keyboard mapping
Using raw keymap
Opening cfgfile '/Users/myname/default.uaerc'...failed
Opening cfgfile 'default.uaerc'...failed
Opening cfgfile '/Users/myname/Amiga/Configs/A500.uaerc'...okay.
unknown config entry: 'cpu_type=68000'
obsolete config entry 'sound_bits'
unknown config entry: 'sound_max_buff=2048'
Testing the RDTSC instruction ... done.
Calibrating TSC frequency...TSC frequency: 2660.949280 MHz
Found quartz raw keyboard mapping
Using raw keymap
Found quartz raw keyboard mapping
Using raw keymap
Entered action_replay_load()
ROM loader..
ROM KEY '/Users/myname/Amiga/Roms/rom.key' 2069 bytes loaded
SDLGFX: Added P96 mode: 640x480x32
SDLGFX: Added P96 mode: 640x480x8
SDLGFX: Added P96 mode: 800x600x32
SDLGFX: Added P96 mode: 800x600x8
SDLGFX: Added P96 mode: 1024x768x32
SDLGFX: Added P96 mode: 1024x768x8
SDLGFX: Added P96 mode: 1920x1200x32
SDLGFX: Added P96 mode: 1920x1200x8
SDLGFX: Added P96 mode: 1600x1200x32
SDLGFX: Added P96 mode: 1600x1200x8
SDLGFX: Added P96 mode: 1600x1000x32
SDLGFX: Added P96 mode: 1600x1000x8
SDLGFX: Added P96 mode: 1344x1008x32
SDLGFX: Added P96 mode: 1344x1008x8
SDLGFX: Added P96 mode: 1280x960x32
SDLGFX: Added P96 mode: 1280x960x8
SDLGFX: Added P96 mode: 1344x840x32
SDLGFX: Added P96 mode: 1344x840x8
SDLGFX: Added P96 mode: 1280x800x32
SDLGFX: Added P96 mode: 1280x800x8
SDLGFX: Added P96 mode: 1024x640x32
SDLGFX: Added P96 mode: 1024x640x8
SDLGFX: Added P96 mode: 960x600x32
SDLGFX: Added P96 mode: 960x600x8
SDLGFX: Added P96 mode: 800x500x32
SDLGFX: Added P96 mode: 800x500x8
No disk in drive 0.
CBuilding CPU table for configuration: 68000 prefetch and cycle-exact 24-bit
1876 CPU functions
Building CPU, 44316 opcodes (0 -1 1)
CPU=68000, FPU=0, JIT=0.
CPUID level=10, Family=6, Model=15, Mask=6, Vendor=GenuineIntel [0]
JJCSDLGFX: Using double-buffered, vsynced output.
SDL: sound driver found and configured at 22050 Hz, buffer is 100 ms (4410 bytes).
BEAMCON0 0000 -> 0020
PAL mode V=50Hz H=15600Hz (227x312)
chipmem cleared
C
EDIT: Removed attached version of cocoaui.m -- see lower down for a newer version.
GnoStiC
15 February 2010, 13:02
<p>UPDATE:</p>
<p><a href="http://www.gamzeguckiran.com/puaex_2010_02_15.tar.gz" target="_blank">http://www.gamzeguckiran.com/puaex_2010_02_15.tar.gz</a></p>
<p> </p>
<p>please try this and report <img src="images/smilies/smile.gif" border="0" alt="" title="Smile" smilieid="1" class="inlineimg" /></p>
<p> </p>
<p> </p>
<p>@xaind:</p>
<p>if this doesn't work for you, can you please try without </p>
<p>Opening cfgfile '<b>/Users/myname/Amiga/Configs/A500.uaerc</b>'...okay.</p>
<p>and</p>
<p>ROM KEY '<b>/Users/myname/Amiga/Roms/rom.key</b>' 2069 bytes loaded</p>
<p> </p>
<p> </p>
<p>EDIT:</p>
<p>my work notebook:</p>
<p></p>
<p>Linux GnoStiC-dv7 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010 i686 GNU/Linux</p>
<p> </p>
<p>Description: Ubuntu 9.10</p>
<p> </p>
<p>gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9) </p>
<p></p>
________
Suzuki GSR600 (http://www.cyclechaos.com/wiki/Suzuki_GSR600)
gilgamesh
15 February 2010, 13:45
Commented out gui_disk_image_change(), gui_lock() and gui_unlock() from disk.c. Problem didn't go away.
PUAE 2.0.2
Build date: Feb 15 2010 13:31:39
SDLGFX: Initialized.
SDLGFX: Using SDL version 1.2.13.
SDLGFX: Display is 32 bits deep.
SDLGFX: Found screenmode: 1440x900.
SDLGFX: Found screenmode: 1024x768.
SDLGFX: Found screenmode: 832x624.
SDLGFX: Found screenmode: 800x600.
SDLGFX: Found screenmode: 720x400.
SDLGFX: Found screenmode: 700x525.
SDLGFX: Found screenmode: 640x512.
SDLGFX: Found screenmode: 640x480.
SDLGFX: Found screenmode: 640x400.
SDLGFX: Found screenmode: 640x350.
SDLGFX: Found screenmode: 576x432.
SDLGFX: Found screenmode: 512x384.
SDLGFX: Found screenmode: 416x312.
SDLGFX: Found screenmode: 400x300.
SDLGFX: Found screenmode: 360x200.
SDLGFX: Found screenmode: 320x240.
SDLGFX: Found screenmode: 320x200.
SDLGFX: Found screenmode: 320x175.
Found 0 joystick(s)
Found x11pc raw keyboard mapping
Using cooked keymap
Opening cfgfile '/home/uae/.uaerc'...okay.
Testing the RDTSC instruction ... done.
TSC frequency: 2393.500000 MHz
Found x11pc raw keyboard mapping
Using cooked keymap
Found x11pc raw keyboard mapping
Using cooked keymap
Entered action_replay_load()
ROM loader..
SDLGFX: Added P96 mode: 320x200x32
SDLGFX: Added P96 mode: 320x200x8
SDLGFX: Added P96 mode: 320x240x32
SDLGFX: Added P96 mode: 320x240x8
SDLGFX: Added P96 mode: 320x256x32
SDLGFX: Added P96 mode: 320x256x8
SDLGFX: Added P96 mode: 320x400x32
SDLGFX: Added P96 mode: 320x400x8
SDLGFX: Added P96 mode: 640x350x32
SDLGFX: Added P96 mode: 640x350x8
SDLGFX: Added P96 mode: 640x480x32
SDLGFX: Added P96 mode: 640x480x8
SDLGFX: Added P96 mode: 640x512x32
SDLGFX: Added P96 mode: 640x512x8
SDLGFX: Added P96 mode: 800x600x32
SDLGFX: Added P96 mode: 800x600x8
SDLGFX: Added P96 mode: 1024x768x32
SDLGFX: Added P96 mode: 1024x768x8
SDLGFX: Added P96 mode: 1152x864x32
SDLGFX: Added P96 mode: 1152x864x8
SDLGFX: Added P96 mode: 1440x900x32
SDLGFX: Added P96 mode: 1440x900x8
SDLGFX: Added P96 mode: 832x624x32
SDLGFX: Added P96 mode: 832x624x8
SDLGFX: Added P96 mode: 720x400x32
SDLGFX: Added P96 mode: 720x400x8
SDLGFX: Added P96 mode: 700x525x32
SDLGFX: Added P96 mode: 700x525x8
SDLGFX: Added P96 mode: 640x400x32
SDLGFX: Added P96 mode: 640x400x8
SDLGFX: Added P96 mode: 576x432x32
SDLGFX: Added P96 mode: 576x432x8
SDLGFX: Added P96 mode: 512x384x32
SDLGFX: Added P96 mode: 512x384x8
SDLGFX: Added P96 mode: 416x312x32
SDLGFX: Added P96 mode: 416x312x8
SDLGFX: Added P96 mode: 400x300x32
SDLGFX: Added P96 mode: 400x300x8
SDLGFX: Added P96 mode: 360x200x32
SDLGFX: Added P96 mode: 360x200x8
SDLGFX: Added P96 mode: 320x175x32
SDLGFX: Added P96 mode: 320x175x8
CBuilding CPU table for configuration: 68000 prefetch 24-bit
1876 CPU functions
Building CPU, 44316 opcodes (0 1 1)
CPU=68000, FPU=0, JIT=0.
CPUID level=10, Family=6, Model=7, Mask=6, Vendor=GenuineIntel [0]
JJCSDL: sound driver found and configured at 44100 Hz, buffer is 100 ms (17640 bytes).
BEAMCON0 0000 -> 0020
PAL mode V=50Hz H=15600Hz (227x312)
chipmem cleared
CIllegal instruction: 4e7b at 00FC0564 -> 00FC0582
PAL mode V=50Hz H=15600Hz (227x312)
Exception 3 (fc0fe3) at fc0fe0 -> fc081a!
PAL mode V=50Hz H=15600Hz (227x312)
Illegal instruction: 4e7b at 00FC0564 -> 00FC0582
PAL mode V=50Hz H=15600Hz (227x312)
Exception 3 (fc0fe3) at fc0fe0 -> fc081a!
PAL mode V=50Hz H=15600Hz (227x312)
Illegal instruction: 4e7b at 00FC0564 -> 00FC0582
PAL mode V=50Hz H=15600Hz (227x312)
Exception 3 (fc0fe3) at fc0fe0 -> fc081a!
PAL mode V=50Hz H=15600Hz (227x312)
Illegal instruction: 4e7b at 00FC0564 -> 00FC0582
DCOP1LC: 00000420, COP2LC: 00c00276 COPPTR: 0000046c
DIWSTRT: 2c81 DIWSTOP: f4c1 DDFSTRT: 0038 DDFSTOP: 00d0
BPLCON 0: 0000 1: 0000 2: 0024 3: 0c00 4: 0011
and so on ...
GnoStiC
15 February 2010, 13:49
<p>@gilgamesh:</p>
<p>what is your kick.rom version?</p>
<p> </p>
<p></p>
<p>CPU=68000, FPU=0, JIT=0.</p>
<p>...</p>
<p>Illegal instruction: 4e7b at 00FC0564 -> 00FC0582</p>
<p></p>
________
Harley-Davidson FLHTC (http://www.cyclechaos.com/wiki/Harley-Davidson_FLHTC)
gilgamesh
15 February 2010, 13:58
Kickstart 1.3 34.5.
When I use KS 3.0, then the error is
CIllegal instruction: 4e7b at 00F80B68 -> 00F80BF0
MagerValp
15 February 2010, 16:05
UPDATE:
http://www.gamzeguckiran.com/puaex_2010_02_15.tar.gz
please try this and report
http://mazzy.paradroid.net/tmp/puae-2010-02-15.txt
GnoStiC
15 February 2010, 16:31
<p>@gilgamesh:</p>
<p>i was able to reproduce your "exception 3" error..</p>
<p> </p>
<p>apparently compiling with "--disable-ui" is the reason.. with gtk gui, everything works fine.. i'll look into it..</p>
________
vaporizer reviews (http://vaporizer.org/reviews)
gilgamesh
15 February 2010, 20:23
@MagerValp: That REX error means you're compiling x86 code with an amd64 assembler. See my config parameters in #10 for a (hopefully functional) alternative.
MagerValp
15 February 2010, 21:28
OK, got a little further:
http://mazzy.paradroid.net/tmp/puae-2010-02-15-m32.txt
gilgamesh
15 February 2010, 21:34
with gtk gui, everything works fine..
Yes, spend some time getting my GTK-2.0.0 32bit stuff to work properly. (Thanks to openSUSE this involves lots of "ln -s" in /usr/lib.)
What can I say? GUI works and PUAE too. For the first time. :spin
(Btw, the "Floppy Disks" tab has an error. The lights for DF1 and DF3 are on while DF1 is empty and DF3 is disabled.)
xaind
16 February 2010, 00:58
UPDATE:
http://www.gamzeguckiran.com/puaex_2010_02_15.tar.gz
please try this and report :)
@xaind:
if this doesn't work for you, can you please try without
Opening cfgfile '/Users/myname/Amiga/Configs/A500.uaerc'...okay.
and
ROM KEY '/Users/myname/Amiga/Roms/rom.key' 2069 bytes loaded
Ok, this version builds without any modifications! It still freezes though, even with no cfgfile.
Later on I'll try a few things and see if I can figure out where in the code it is freezing.
PUAE 2.0.2
Build date: Feb 16 2010 10:42:19
SDLGFX: Initialized.
SDLGFX: Using SDL version 1.2.14.
SDLGFX: Display is 32 bits deep.
SDLGFX: Found screenmode: 1920x1200.
SDLGFX: Found screenmode: 1600x1200.
SDLGFX: Found screenmode: 1600x1000.
SDLGFX: Found screenmode: 1344x1008.
SDLGFX: Found screenmode: 1280x960.
SDLGFX: Found screenmode: 1344x840.
SDLGFX: Found screenmode: 1280x800.
SDLGFX: Found screenmode: 1024x768.
SDLGFX: Found screenmode: 1024x640.
SDLGFX: Found screenmode: 960x600.
SDLGFX: Found screenmode: 800x600.
SDLGFX: Found screenmode: 800x500.
SDLGFX: Found screenmode: 640x480.
Found 0 joystick(s)
Found quartz raw keyboard mapping
Using raw keymap
Opening cfgfile '/Users/myname/default.uaerc'...failed
Opening cfgfile 'default.uaerc'...failed
Testing the RDTSC instruction ... done.
Calibrating TSC frequency...TSC frequency: 2660.814000 MHz
Found quartz raw keyboard mapping
Using raw keymap
Found quartz raw keyboard mapping
Using raw keymap
Entered action_replay_load()
ROM loader..
SDLGFX: Added P96 mode: 640x480x32
SDLGFX: Added P96 mode: 640x480x8
SDLGFX: Added P96 mode: 800x600x32
SDLGFX: Added P96 mode: 800x600x8
SDLGFX: Added P96 mode: 1024x768x32
SDLGFX: Added P96 mode: 1024x768x8
SDLGFX: Added P96 mode: 1920x1200x32
SDLGFX: Added P96 mode: 1920x1200x8
SDLGFX: Added P96 mode: 1600x1200x32
SDLGFX: Added P96 mode: 1600x1200x8
SDLGFX: Added P96 mode: 1600x1000x32
SDLGFX: Added P96 mode: 1600x1000x8
SDLGFX: Added P96 mode: 1344x1008x32
SDLGFX: Added P96 mode: 1344x1008x8
SDLGFX: Added P96 mode: 1280x960x32
SDLGFX: Added P96 mode: 1280x960x8
SDLGFX: Added P96 mode: 1344x840x32
SDLGFX: Added P96 mode: 1344x840x8
SDLGFX: Added P96 mode: 1280x800x32
SDLGFX: Added P96 mode: 1280x800x8
SDLGFX: Added P96 mode: 1024x640x32
SDLGFX: Added P96 mode: 1024x640x8
SDLGFX: Added P96 mode: 960x600x32
SDLGFX: Added P96 mode: 960x600x8
SDLGFX: Added P96 mode: 800x500x32
SDLGFX: Added P96 mode: 800x500x8
No disk in drive 0.
CBuilding CPU table for configuration: 68000 prefetch 24-bit
1876 CPU functions
Building CPU, 44316 opcodes (0 1 1)
CPU=68000, FPU=0, JIT=0.
CPUID level=10, Family=6, Model=15, Mask=6, Vendor=GenuineIntel [0]
JJCSDL: sound driver found and configured at 44100 Hz, buffer is 100 ms (17640 bytes).
BEAMCON0 0000 -> 0020
PAL mode V=50Hz H=15600Hz (227x312)
chipmem cleared
C
xaind
17 February 2010, 08:42
Ok, I have found where PUAE is freezing on the Mac.
It is inside the framewait function in custom.c. There is a loop in this function which looks like this:
for (;;) {
double v = rpt_vsync () / (syncbase / 1000.0);
if (v >= -4)
break;
uae_msleep (2);
}
This loop never ends in my tests because the syncbase variable is always set to zero, so v always gets set to nan and hence the break instruction is never reached.
I am trying to understand the code that sets syncbase now. It appears to have something to do with TSC frequency... whatever that is. I have noticed that the following lines appear during PUAE's startup:
Testing the RDTSC instruction ... done.
Calibrating TSC frequency...TSC frequency: 2660.814000 MHz
.. but these lines do not appear in E-UAE's startup on the Mac (even though code for them seems to be present in E-UAE).
Could this be a build settings problem? Should this TSC stuff be getting used on the Mac?
GnoStiC
17 February 2010, 12:21
<p>syncbase = number of ticks per second of the processor clock</p>
<p>TSC = time stamp counter (aka number of ticks since reset)</p>
<p> </p>
<p> </p>
<p><a href="http://www.gamzeguckiran.com/puaex_2010_02_17.tar.gz" target="_blank">http://www.gamzeguckiran.com/puaex_2010_02_17.tar.gz</a></p>
________
volcano classic review (http://vaporizer.org/reviews/volcano)
gilgamesh
17 February 2010, 12:33
Can't change GamePort2 in GTK gui.
CPU=68000, FPU=0, JIT=0.
[...]
JIT: Building Compiler function table
JIT: Supposedly 42101 compileable opcodes!
Isn't that a contradiction?
(Sorry for being short. I'll have a closer look tomorrow.)
GnoStiC
17 February 2010, 12:54
<p>1) first JIT=0 does not mean JIT is disabled.</p>
<p>2) "Can't change GamePort2 in GTK gui." ? can you elaborate on that?</p>
<p> </p>
<p>Can't change GamePort2 in GTK gui.</p>
<p> </p>
<p>Isn't that a contradiction?</p>
<p> </p>
<p>(Sorry for being short. I'll have a closer look tomorrow.)</p>
________
cheap volcano vaporizer (http://vaporizers.net/volcano-vaporizer)
gilgamesh
17 February 2010, 13:23
2) "Can't change GamePort2 in GTK gui." ? can you elaborate on that?
Sorry, for being abrupt. Tomorrow will be better. Tried to play Turrican 2 with
"joyport1=kbd2" in uaerc and an equivalent option in the gui. The game does not react on any key but space and esc, though.
GnoStiC
17 February 2010, 15:44
<p><img src="images/smilies/smile.gif" border="0" alt="" title="Smile" smilieid="1" class="inlineimg" /></p>
<p>i don't play games, i just watch demos so i may have missed that <img src="images/smilies/smile.gif" border="0" alt="" title="Smile" smilieid="1" class="inlineimg" /></p>
<p>i'll try that when i'm home..</p>
<p> </p>
<p>Sorry, for being abrupt. Tomorrow will be better. Tried to play Turrican 2 with</p>
<p> "joyport1=kbd2" in uaerc and an equivalent option in the gui. The game does not react on any key but space and esc, though.</p>
<p> </p>
<p>EDIT:</p>
<p>try this;</p>
<p><a href="http://www.gamzeguckiran.com/puaex_2010_02_17-2.tar.gz" target="_blank">http://www.gamzeguckiran.com/puaex_2010_02_17-2.tar.gz</a></p>
________
Honda NSF100 (http://www.cyclechaos.com/wiki/Honda_NSF100)
Hungry Horace
17 February 2010, 19:21
sorry to veer off slighty, but GnoStiC - can you answer if the amiga mouse -> host joystick mapping is now fixed? It was something that was fixed in the e-uae source used for PSPUAE (which you worked on), but i noticed was still broken in the e-uae build i use on Linux (PS3) and on OSX? (wip 4)
also there was an issue with joy3 and joy4 constantly having 'fire' pressed.... i assume these are fixed with what has been integrated from winUAE?
the mouse/joypad mapping is really useful when running on the PS3!
i look forward to trying builds for OSX-Intel and Linux-PPC in the near future :)
MagerValp
17 February 2010, 22:49
OK, I just tried hacking away at the project to get it to work with an SDL.framework installed under /Library/Frameworks, and I'm giving up.
xaind
18 February 2010, 03:09
@MagerValp: You shouldn't need to make any changes to have PUAE work with the SDL framework installed in /Library/Frameworks. That is exactly where I have SDL installed and my builds of PUAE pick it up just fine.
@GnoStiC: I was wondering if uncommenting that line might be all that was needed :)
I have just tried puaex_2010_2_17-2.tar.gz. There are some changes to the joystick code that break the Cocoa GUI code. I have attached a new version of cocoaui.m that fixes these (I think.) I replaced references to JSEM_NONE with JSEM_END, and references to XXXprefs.jport0 with XXXprefs.jports[0].id etc... So if the user selects "None" from the menu for the first joystick port, it will set changed_prefs.jports[0].id to JSEM_END. Is that the right thing to do? Or should I remove the "None" option altogether?
In any case, the attached version of cocoaui.m compiles, at least. The new version seems to get a *lot* further. It comes up, the background flashes from dark-grey to lighter-grey to white, but then the power "led" down the bottom starts flashing and I get an exception message, then it appears to reboot. This just keeps cycling over and over. Output below.
P.S. I don't think anyone has said this yet, but many, many thanks for all your work on this. I think there are quite a few people looking forward to an updated version of UAE for non-windows platforms. :great
PUAE 2.0.2
Build date: Feb 18 2010 12:47:07
SDLGFX: Initialized.
SDLGFX: Using SDL version 1.2.14.
SDLGFX: Display is 32 bits deep.
SDLGFX: Found screenmode: 1920x1200.
SDLGFX: Found screenmode: 1600x1200.
SDLGFX: Found screenmode: 1600x1000.
SDLGFX: Found screenmode: 1344x1008.
SDLGFX: Found screenmode: 1280x960.
SDLGFX: Found screenmode: 1344x840.
SDLGFX: Found screenmode: 1280x800.
SDLGFX: Found screenmode: 1024x768.
SDLGFX: Found screenmode: 1024x640.
SDLGFX: Found screenmode: 960x600.
SDLGFX: Found screenmode: 800x600.
SDLGFX: Found screenmode: 800x500.
SDLGFX: Found screenmode: 640x480.
Found 0 joystick(s)
Found quartz raw keyboard mapping
Using raw keymap
Opening cfgfile '/Users/myname/default.uaerc'...failed
Opening cfgfile 'default.uaerc'...failed
Testing the RDTSC instruction ... done.
Calibrating TSC frequency...TSC frequency: 2660.777520 MHz
Found quartz raw keyboard mapping
Using raw keymap
Found quartz raw keyboard mapping
Using raw keymap
Entered action_replay_load()
ROM loader..
SDLGFX: Added P96 mode: 640x480x32
SDLGFX: Added P96 mode: 640x480x8
SDLGFX: Added P96 mode: 800x600x32
SDLGFX: Added P96 mode: 800x600x8
SDLGFX: Added P96 mode: 1024x768x32
SDLGFX: Added P96 mode: 1024x768x8
SDLGFX: Added P96 mode: 1920x1200x32
SDLGFX: Added P96 mode: 1920x1200x8
SDLGFX: Added P96 mode: 1600x1200x32
SDLGFX: Added P96 mode: 1600x1200x8
SDLGFX: Added P96 mode: 1600x1000x32
SDLGFX: Added P96 mode: 1600x1000x8
SDLGFX: Added P96 mode: 1344x1008x32
SDLGFX: Added P96 mode: 1344x1008x8
SDLGFX: Added P96 mode: 1280x960x32
SDLGFX: Added P96 mode: 1280x960x8
SDLGFX: Added P96 mode: 1344x840x32
SDLGFX: Added P96 mode: 1344x840x8
SDLGFX: Added P96 mode: 1280x800x32
SDLGFX: Added P96 mode: 1280x800x8
SDLGFX: Added P96 mode: 1024x640x32
SDLGFX: Added P96 mode: 1024x640x8
SDLGFX: Added P96 mode: 960x600x32
SDLGFX: Added P96 mode: 960x600x8
SDLGFX: Added P96 mode: 800x500x32
SDLGFX: Added P96 mode: 800x500x8
No disk in drive 0.
CPU cycleunit: 256 (0.500)
Building CPU table for configuration: 68000 prefetch 24-bit
1876 CPU functions
Building CPU, 44316 opcodes (0 1 1)
CPU=68000, FPU=0, JIT=0.
CPUID level=10, Family=6, Model=15, Mask=6, Vendor=GenuineIntel [0]
JIT: Building Compiler function table
JIT: Supposedly 42101 compileable opcodes!
CPU cycleunit: 256 (0.500)
SDL: sound driver found and configured at 44100 Hz, buffer is 100 ms (17640 bytes).
BEAMCON0 0000 -> 0020
PAL mode V=50Hz H=15600Hz (227x312)
chipmem cleared
CPU cycleunit: 256 (0.500)
Illegal instruction: 4e7b at 00FC0564 -> 00FC0582
PAL mode V=50Hz H=15600Hz (227x312)
Exception 3 (fc0fe3) at fc0fe0 -> fc081a!
PAL mode V=50Hz H=15600Hz (227x312)
Illegal instruction: 4e7b at 00FC0564 -> 00FC0582
PAL mode V=50Hz H=15600Hz (227x312)
Exception 3 (fc0fe3) at fc0fe0 -> fc081a!
<--- I pressed the "QUIT" button here
DMACON: 23f0 INTENA: 206c INTREQ: 20 VPOS: 0 HPOS: 1
COP1LC: 00000420, COP2LC: 00c00276 COPPTR: 00000420
DIWSTRT: 2c81 DIWSTOP: f4c1 DDFSTRT: 0038 DDFSTOP: 00d0
BPLCON 0: 1000 1: 0000 2: 0024 3: 0c00 4: 0011
Average frame time: 3849420.55 ms [frames: 812 time: -1169237808]
EDIT: I just noticed the "exception 3" I am getting appears to be the same one that gilgamesh was getting. Sounds like it might be something related to the GUI?
GnoStiC
18 February 2010, 11:03
<p><u><a href="http://www.gamzeguckiran.com/puaex_2010_02_18.tar.gz" target="_blank">http://www.gamzeguckiran.com/puaex_2010_02_18.tar.gz</a></u></p>
<p> </p>
<p>@Hungry Horace:</p>
<p>it was probably fixed when merging</p>
<p> </p>
<p>@gilgamesh:</p>
<p>this version works fine for me with "--disable-ui"</p>
<p> </p>
<p>@xaind:</p>
<p>this version should run fine for you, too.</p>
<p>btw, i used your cocoa.m</p>
________
volcano vaporizers (http://vaporizers.net/volcano-vaporizer)
xc8
18 February 2010, 13:37
Mustafa abi, this is very nice !!
Just managed to compile it on my Mandriva One 2010 box...
BTW, when I 'insert' an adf when the emul is running, the disk is not recognized...
(I have to insert the floppy before to press the start on gui)
also, the stop/pause/reset/quit buttons are not working when the emul is running..
Chris
GnoStiC
18 February 2010, 13:51
selam Chris, tesekkur ederim :)
for the fix, my bad, just remove remark from;
gui_handle_events ();
line in src/custom.c
or wait for my next update..
cheers,
Mustafa abi, this is very nice !!
Just managed to compile it on my Mandriva One 2010 box...
BTW, when I 'insert' an adf when the emul is running, the disk is not recognized...
(I have to insert the floppy before to press the start on gui)
also, the stop/pause/reset/quit buttons are not working when the emul is running..
Chris
________
vaporizer pipe (http://vaporizers.net/vapor-genie)
MagerValp
18 February 2010, 16:03
@MagerValp: You shouldn't need to make any changes to have PUAE work with the SDL framework installed in /Library/Frameworks. That is exactly where I have SDL installed and my builds of PUAE pick it up just fine.
Please paste your configure output for SDL. As the frameworks don't come with an sdl-config script, a "naked" machine just gets you:
checking for SDL - version >= 1.2.0... no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: WARNING: SDL support wanted, but libSDL could not be found
With an sdl-config script that outputs the proper -framework SDL, etc, the configure script fails as conftest.c can't find _main (since there's no SDLMain.m either). And even if you hack past that, the project builds without src/od-macosx/main.m...
GnoStiC
18 February 2010, 17:05
update:
http://www.gamzeguckiran.com/puaex_2010_02_18-2.tar.gz
________
buying vaporizer (http://vaporizers.net/)
ajacocks
18 February 2010, 20:22
I think that there's something wrong with the tar archive, here:
<snip>
puaex/src/sd-none/Makefile
puaex/src/sd-none/sound.c
puaex/src/sd-none/Makefile.am
puaex/src/sd-none/sound.h
puaex/src/sd-none/Makefile.in
puaex/src/guidep/Makefile
tar: puaex/src/guidep/Makefile: Cannot open: Not a directory
puaex/src/guidep/led.h
tar: puaex/src/guidep/led.h: Cannot open: Not a directory
puaex/src/guidep/floppyfileentry.c
tar: puaex/src/guidep/floppyfileentry.c: Cannot open: Not a directory
puaex/src/guidep/chooserwidget.c
tar: puaex/src/guidep/chooserwidget.c: Cannot open: Not a directory
<snip>
Looks like some symbolic links didn't get tarred up properly.
Thanks!
gilgamesh
18 February 2010, 20:30
@gilgamesh:
this version works fine for me with "--disable-ui"
Yes, no-ui and key bugs were fixed. :cool
GnoStiC
18 February 2010, 21:27
when you;
./bootstrap.sh
./configure
they will be re-linked.
I think that there's something wrong with the tar archive, here:
..
Looks like some symbolic links didn't get tarred up properly.
Thanks!
________
Harley-Davidson Servi-Car (http://www.cyclechaos.com/wiki/Harley-Davidson_Servi-Car)
GnoStiC
18 February 2010, 21:29
i'm glad to hear that :)
Yes, no-ui and key bugs were fixed. :cool
________
easy vape reviews (http://vaporizer.org/reviews/easy-vape)
xaind
19 February 2010, 05:39
@MagerValp: It's possible to make an sdl-config script that generates the right output. You would need to get SDLMain.h and SDLMain.m from the "devel-lite" directory on the SDL .dmg though, the version in puae has been modified.
There's no need to go to all that trouble though. Just pass the "--disable-sdltest" option to configure.
xaind
19 February 2010, 06:33
The 2010_02_18-2 build works great! I tried a few things, including a game and PMC's Retroference demo and they all seemed to work well.
When I tried some of my other E-UAE config files, however, I noticed that it didn't let me change the CPU model from the config file. Am I correct that CPU models other than 68000 are not supported right now? I also noticed that it seemed to ignore any hard drives I tried to mount (I tried both the hardfile2 and the filesystem2 config-file options.)
In any case, I have uploaded a binary to the Zone for anyone who wants to give it a try. You'll need to bring your own kickstart roms and config-files. You should be able to just double-click any ".uaerc" file in the Finder and it will automatically launch PUAE with that config file. (Also, the SDL framework is included in the application bundle, so there's no need to install it separately.)
GnoStiC
19 February 2010, 07:51
1) config file parsing is a mess at the moment, but i'll get there eventually :)
2) uae -C 2 = 68020 (cmdline and gui works fine, i'll fix config handling)
3) i need sample hard drive that i can try mounting. can you upload that to someplace i can download?
When I tried some of my other E-UAE config files, however, I noticed that it didn't let me change the CPU model from the config file. Am I correct that CPU models other than 68000 are not supported right now? I also noticed that it seemed to ignore any hard drives I tried to mount (I tried both the hardfile2 and the filesystem2 config-file options.)
________
buy vapir vaporizer (http://vaporizers.net/vapir-air-one)
xaind
19 February 2010, 08:54
1) config file parsing is a mess at the moment, but i'll get there eventually :)
2) uae -C 2 = 68020 (cmdline and gui works fine, i'll fix config handling)
3) i need sample hard drive that i can try mounting. can you upload that to someplace i can download?
Ok, excellent.
The ClassicWB Packs (http://classicwb.abime.net/) each come with a HDF file. I'm using the LITE version, for example. Would that be a suitable sample hard drive for you to mount? If not, let me know and I'll put a HDF somewhere you can get it.
Here's the line from my E-UAE config file for mounting the ClassicWB HDF:
hardfile2=rw,DH0:/Users/myname/Amiga/Harddrives/ClassicWB_LITE.hdf,32,1,2,512,-10,
kas1e
19 February 2010, 14:42
@GnoStIC
Maybe you can help me to build P-UAE for amigaos4 ? I download your puaex_2010_02_18-2 version, then:
./configure
gmake
And on some stage i have these erorrs (http://x25zine.org/aos41peg2/p-uae/output.txt)
GnoStiC
19 February 2010, 15:02
overwrite old one with this;
http://www.gamzeguckiran.com/ami-win.c
@GnoStIC
Maybe you can help me to build P-UAE for amigaos4 ? I download your puaex_2010_02_18-2 version, then:
./configure
gmake
And on some stage i have these erorrs (http://x25zine.org/aos41peg2/p-uae/output.txt)
________
herbal vaporizers (http://vaporizer.org/)
kas1e
19 February 2010, 17:55
overwrite old one with this;
http://www.gamzeguckiran.com/ami-win.c
thanks for help :) It works, but next, new errors was in jd-amigainput/joystick.c:
joystick.c:334: error: conflicting types for 'input_get_default_joystick'
../../src/include/inputdevice.h:73: error: previous declaration of 'input_get_default_joystick' was here
I tyring to change void on int, but the same error. So i just comment out "inputdevice.h", and put necessary defines to joystick.c (so, it compiles fine with int and void as well).
Next error (if skip that one), happenes in the gui-muirexx/ami-rexx.c:
ami-rexx.c: In function 'process_cmd':
ami-rexx.c:421: error: too few arguments to function 'm68k_reset'
That error i skip for now by adding --disable-ui when do ./configure, and then, next error in the od-amiga/blkdev-amiga.c:
blkdev-amiga.c: In function 'execscsicmd_direct':
blkdev-amiga.c:287: error: too few arguments to function 'gui_cd_led'
That error i skip just by commenting gui_cd_led(1); fucntion at all.
And the next error in the cpuemu_0.c , related to flush_icache() function here is output (http://x25zine.org/aos41peg2/p-uae/output2.txt). I think that error related to JIT which enabled in code itself all the time ? (for PPC jit need to disable), and i try to configure it like:
./configure --disable-ui --disable-jit
But have no luck, and error still the same.
Hungry Horace
21 February 2010, 16:53
i tried the build in the Zone, but i assume i cant get it to run any of my A1200 setups because they all feature HDs (either HDFs or folders)
the A500 config file i used seemed to work though. Not got around to testing the input fixes yet though
GnoStiC
22 February 2010, 17:17
another nightly build, lotsa changes, may crash;
http://www.gamzeguckiran.com/puaex_2010_02_22.tar.gz
________
KR350 (http://www.cyclechaos.com/wiki/Kawasaki_KR350)
kas1e
22 February 2010, 19:37
another nightly build, lotsa changes, may crash;
http://www.gamzeguckiran.com/puaex_2010_02_22.tar.gz
Tryed to build it again on aos4, and :
./configure --enable-pthreads=no --enable-pth=no --disable-ui --disable-jit
gmake
joystick.c:334: error: conflicting types for 'input_get_default_joystick'
../../src/include/inputdevice.h:73: error: previous declaration of 'input_get_default_joystick' was here
(as before).
Changed it again by my old way, and then:
gcc -DHAVE_CONFIG_H -I. -I../../src -DCPUEMU_0 -DCPUEMU_11 -DCPUEMU_12 -DCPUEMU_20 -DCPUEMU_31 -DMMU -DFPUEMU -DAGA -DAUTOCONFIG -DFILES
R -DSAVESTATE -DENFORCER -DACTION_REPLAY -DXARCADE -DDRIVESOUND -I../../src/include -I../../src -I../../src -fomit-frame-pointer -Wal
rototypes -Wstrict-prototypes -DREGPARAM= -g -O2 -MT blkdev-amiga.o -MD -MP -MF .deps/blkdev-amiga.Tpo -c -o blkdev-amiga.o blkdev-am
In file included from blkdev-amiga.c:16:
../../src/include/blkdev.h:113: error: expected specifier-qualifier-list before 'scsiinfo_func'
I put here also uname and gcc version (maybe it will help in future):
10/0.Work:PUAE/puaex> uname -a
AmigaOS localhost 53.2 3.5 ppc Motorola MPC 7447/7457 Apollo Pegasos II AmigaOS
10/0.Work:PUAE/puaex> gcc -v
Using built-in specs.
Target: ppc-amigaos
Configured with: ../gcc/configure --prefix=/gcc --host=ppc-amigaos --target=ppc-amigaos --build=i686-cygwin --enable-haifa --enable-sjlj-exceptions --enable-languages=c,c++
Thread model: single
gcc version 4.2.4 (adtools build 20090118)
10/0.Work:PUAE/puaex>
gilgamesh
22 February 2010, 20:04
newcpu.o: In function `m68k_run_mmu':
newcpu.c:(.text+0x192a4): undefined reference to `mmu_do_hit'
In the last version MMU was probably not defined. That function is not in the sources, not even inactive. Otherwise everything seems Ok.
GnoStiC
22 February 2010, 21:24
@gilgamesh:
ah, that's for debug, so just;
#ifdef MMU
#ifdef DEBUG
if (mmu_triggered)
mmu_do_hit ();
#endif
#endif
@kas1e:
ok, i'll look into that.. :)
newcpu.o: In function `m68k_run_mmu':
newcpu.c:(.text+0x192a4): undefined reference to `mmu_do_hit'In the last version MMU was probably not defined. That function is not in the sources, not even inactive. Otherwise everything seems Ok.
________
vaporizer pipe (http://vaporizers.net/vapor-genie)
philpem
04 March 2010, 22:54
I've got it building on Linux/x86_64 (Ubuntu 9.10) after some heavy patching and bugfixing. It seems to work, too.... until you hit the "Start" button. Then it tries to do a CPUID check and falls on its face:
(gdb) bt f
#0 0x0000000003fb9004 in ?? ()
No symbol table info available.
#1 0x00000000034373b4 in cpuinfo ()
No symbol table info available.
#2 0x00000000000000c3 in ?? ()
No symbol table info available.
#3 0x00007ffff4299db7 in mprotect () from /lib/libc.so.6
No symbol table info available.
#4 0x0000000003fb9000 in ?? ()
No symbol table info available.
#5 0x0000000000c3213e in cpuid (op=0, eax=0x34373ac, ebx=0x34373b0, ecx=0x34373b8, edx=0x34373b4) at compemu_raw_x86.c:2363
CPUID_SPACE = 4096
cpuid_space = 0x3fb9000 "PQRS\213\005\210\205\"\001\017\242\211\005\214\205\"\001\211\035\220\205\"\001\211\r\224\205\"\001\211\025\230\205\"\001[ZYX\303\027"
s_op = 0
s_eax = 0
s_ebx = 0
s_ecx = 0
s_edx = 0
tmp = 0x0
#6 0x0000000000c3224a in raw_init_cpu () at compemu_raw_x86.c:2387
c = 0x34373a0
xlvl = 32767
#7 0x0000000000c7ea7f in build_comp () at compemu_support.c:5732
i = 18
jumpcount = 0
opcode = 140737488347472
tbl = 0xe43ea0
nftbl = 0xe4b400
count = 9
#8 0x000000000040a642 in build_cpufunctbl () at newcpu.c:305
i = 1555
---Type <return> to continue, or q <return> to quit---
opcnt = 44316
opcode = 65536
tbl = 0xde7e00
lvl = 0
#9 0x000000000040acfd in init_m68k () at newcpu.c:478
i = 256
#10 0x0000000000409944 in do_init_machine () at main.c:655
No locals.
#11 0x0000000000409d14 in real_main (argc=1, argv=0x7fffffffe308) at main.c:870
want_gui = 1
#12 0x0000000000409e8c in main (argc=1, argv=0x7fffffffe308) at main.c:964
No locals.
Line 2363 in src/compemu_raw_x86.c is:
((compop_func *) cpuid_space) (0);
Commenting this line out seems to make P-UAE run, but it looks like this may have some nasty side effects -- it cripples the CPUID check for a start.
Lastly, I've got X11 video working too, but it looks like the palette is woefully screwed. Yellow floppy drive on the Kickstart screen, anyone? Not to mention the fact that it's running at some insane multiple of real time...
./configure cmdline: ./configure --enable-debug CFLAGS="-g -ggdb -O0 -DDEBUG"
EDIT: Good GRIEF. Recompiled using SDL (--with-sdl --with-sdl-sound --with-sdl-gfx). No better. Palette still screwed up.
gilgamesh
04 March 2010, 23:13
Yes, the x86 cpuid instruction gets treated like a jump by amd64. See the link in #6 for a similar approach. Yet I never got as far as Kickstart screen. Looks promising anyway.
philpem
05 March 2010, 02:12
Yes, the x86 cpuid instruction gets treated like a jump by amd64. See the link in #6 for a similar approach. Yet I never got as far as Kickstart screen. Looks promising anyway.
What is interesting is that the same code is present in E-UAE and that it works fine on AMD64...
I'm tempted to try and backport some of the WinUAE changes into E-UAE to bring it up to date, but for now I've got IPF support going, and it boots Kick3.1, Workbench, and the Wolfchild IPF. I just don't want to bother doing major backport work if someone else is already working on it, and my disc analyser software/hardware (sort of a mix of Cyclone 20, Kryoflux and Catweasel) would probably benefit more from the time...
Silver
05 March 2010, 03:06
..
I'm tempted to try and backport some of the WinUAE changes into E-UAE to bring it up to date...
p-uae is meant to have most of the recent winuae features...?
philpem
05 March 2010, 14:48
p-uae is meant to have most of the recent winuae features...?
... but it doesn't work properly? :)
gilgamesh
05 March 2010, 15:07
It is still beta, but in 32bit it seems stable from my point of view. 64bit is a problem anyway, since JIT is purely x86. Testing 64bit compilation can't be wrong, though.
gilgamesh
05 March 2010, 21:18
Oh, I can't use a directory as harddisk. The line seems to be ignored. E-UAE mounts the drive with the same options.
filesystem2=rw,DH0:Stuff:/home/uae/harddisk,1
Hungry Horace
06 March 2010, 03:41
... but it doesn't work properly? :)
which is the purpose of this thread?
I'm tempted to try and backport some of the WinUAE changes into E-UAE to bring it up to date
Either do it, or leave someone else to do it, don't talk about it ;)
the Amiga Scene has enough all-talk-no-action as it is thanks!
Hungry Horace
11 March 2010, 23:18
back on topic, gnostic, could you look into the following config options;
input.1.joymouse_speed_analog=20
input.1.joymouse_speed_digital=10
input.1.joymouse_deadzone=33
input.1.mouse_speed=100
these options seem to affect me using a joypad as a mouse in e-uae, but do nothing in p-uae.
I am trying to find a good setting for using PS3 pad on linux/OSX (since it works on both) with either e-uae or puae , unfortunately e-uae has bugs where left/right d-pad mapping doesnt work (fixed on puae) , and also 'halts' the movement of the mouse pointer when using the analogue stick (which i currently cannot test if it is fixed).
On p-uae, no matter what changes i make, the pointer moves really fast!
thanks
gilgamesh
11 March 2010, 23:42
@Horace: Did you try typing? Anything unusual?
Hungry Horace
12 March 2010, 00:06
@Horace: Did you try typing? Anything unusual?
just using the keyboard normally you mean? seems fine. i was doing my tests using Action replay 3 funnily enough (since thats on my default a500 config)
Unless you mean, did i try adjusting the settings above? in which case, yes i did, and it made no difference on puae at all. (but did affect the original e-uae)
sadly, puae is fairly useless to me until the HD stuff is fixed, and the mouse->pad mapping is the most important winuae update for me by far!
edit: i should probably add that i was using the puae build for OSX previously put into the Zone.
gilgamesh
12 March 2010, 08:58
Oh, I did mean using the keyboard. When I hit a key, say 'd' in the shell with normal speed, then I get 'dddddddddddddddddddddd'. Typing words is an acade game all by itself. :crazy
But I think this behaviour is new, and if you didn't encounter it, it's probably something about my OS. I have other keyboard problems with all versions of UAE from time to time.
GnoStiC
12 March 2010, 12:36
they are now winuae config compatible so;
input.joymouse_speed_analog=
input.joymouse_speed_digital=
input.joymouse_deadzone=
input.joystick_deadzone=
input.mouse_speed=
input.autofire=
back on topic, gnostic, could you look into the following config options;
input.1.joymouse_speed_analog=20
input.1.joymouse_speed_digital=10
input.1.joymouse_deadzone=33
input.1.mouse_speed=100these options seem to affect me using a joypad as a mouse in e-uae, but do nothing in p-uae.
________
buy vaporizer (http://vaporizers.net/)
GnoStiC
12 March 2010, 12:38
i had the exact same problem some time ago and it fixed itself so i never knew what caused that :)
i've no problems with latest versions.
Oh, I did mean using the keyboard. When I hit a key, say 'd' in the shell with normal speed, then I get 'dddddddddddddddddddddd'. Typing words is an acade game all by itself. :crazy
But I think this behaviour is new, and if you didn't encounter it, it's probably something about my OS. I have other keyboard problems with all versions of UAE from time to time.
________
herbal vaporizers (http://vaporizers.net/)
Hungry Horace
12 March 2010, 15:14
they are now winuae config compatible so;
input.joymouse_speed_analog=
input.joymouse_speed_digital=
input.joymouse_deadzone=
input.joystick_deadzone=
input.mouse_speed=
input.autofire=
still the same problem i'm afraid.
do these not tie up to an input config number then?
GnoStiC
15 March 2010, 16:50
www.gamzeguckiran.com/puaex_2010_03_15.tar.gz
just a release to show you that i'm still alive :}
________
volcano digital review (http://vaporizer.org/reviews/volcano)
gilgamesh
15 March 2010, 21:33
Hey, that's good news. :great
kas1e
22 March 2010, 11:10
www.gamzeguckiran.com/puaex_2010_03_15.tar.gz
just a release to show you that i'm still alive :}
Just for interest tryed to compile that version on aos4, and now, even configure give me errors and cant be compilted .. (with previous versions all was fine with configure).
GnoStiC
22 March 2010, 12:18
i don't have aos4 and without any error messages, i can't help you.
Just for interest tryed to compile that version on aos4, and now, even configure give me errors and cant be compilted .. (with previous versions all was fine with configure).
________
volcano vaporizer reviews (http://vaporizer.org/reviews/volcano)
Hungry Horace
22 March 2010, 20:20
any chance of someone uploading a an IntelMac build? (gilgamesh? hehe)
I m trying to compile but failing (i'm not very experienced with this kind of stuff)
maybe a "definitive" set of ./configure parameters, suitable for this would be enough (although i am not hopeful)
gilgamesh
22 March 2010, 21:37
Oh, I don't have a Mac. (I'm on the wrong thread here, I know) and had to reinstall my OS, so the buildsystem (the part for gtk 32bit which is really problematic on a 64bit openSUSE) is gone. Now I can't compile either, but I don't really know whether it is Puae's or my fault. The error messages are
zfile.o: In function `wrp':
zfile.c:(.text+0x20bf): undefined reference to `unwarp'
drawing.o: In function `vsync_handle_redraw':
drawing.c:(.text+0x4c8dd): undefined reference to `gui_flicker_led'
filesys.o: In function `action_examine_next':
filesys.c:(.text+0x55d9): undefined reference to `gui_flicker_led'
filesys.o: In function `action_read':
filesys.c:(.text+0x67db): undefined reference to `gui_flicker_led'
filesys.o: In function `action_write':
filesys.c:(.text+0x6d33): undefined reference to `gui_flicker_led'
filesys.o: In function `action_seek':
filesys.c:(.text+0x70fd): undefined reference to `gui_flicker_led'
filesys.o:filesys.c:(.text+0x75be): more undefined references to `gui_flicker_led' follow
Sorry can't have a closer look right now.
GnoStiC
23 March 2010, 07:46
that's me.. fixed now :}
Oh, I don't have a Mac. (I'm on the wrong thread here, I know) and had to reinstall my OS, so the buildsystem (the part for gtk 32bit which is really problematic on a 64bit openSUSE) is gone. Now I can't compile either, but I don't really know whether it is Puae's or my fault. The error messages are
zfile.o: In function `wrp':
zfile.c:(.text+0x20bf): undefined reference to `unwarp'
drawing.o: In function `vsync_handle_redraw':
drawing.c:(.text+0x4c8dd): undefined reference to `gui_flicker_led'
filesys.o: In function `action_examine_next':
filesys.c:(.text+0x55d9): undefined reference to `gui_flicker_led'
filesys.o: In function `action_read':
filesys.c:(.text+0x67db): undefined reference to `gui_flicker_led'
filesys.o: In function `action_write':
filesys.c:(.text+0x6d33): undefined reference to `gui_flicker_led'
filesys.o: In function `action_seek':
filesys.c:(.text+0x70fd): undefined reference to `gui_flicker_led'
filesys.o:filesys.c:(.text+0x75be): more undefined references to `gui_flicker_led' follow
Sorry can't have a closer look right now.
________
RC161 (http://www.cyclechaos.com/wiki/Honda_RC161)
AMIGrAve
23 March 2010, 10:07
www.gamzeguckiran.com/puaex_2010_03_15.tar.gz
just a release to show you that i'm still alive :}
Hey GnoStiC !
Dropping a note to let you know that the sound problems [1] I had with the release 2010-02-22 are now gone with the release 2010-03-15 (compiled under ubuntu 9.04).
Good news !!!
[1] every +- 5 seconds I had small cuts in sound
kas1e
23 March 2010, 16:50
i don't have aos4 and without any error messages, i can't help you.
2 thinks now happenes with new/latest configure:
You add CPU cheking, and check it from proc: , which aos4 does not have (unix specific). So, i just "cancel" it, and configure still works. Nextly, after checking on CPU, it create ./config.status, then creating Makefiles, and then (right after create all makefiles):
config.status: src/sysconfig.h is unchanged
config.status: linking src/targets/t-amiga.h to src/target.h
config.status: linking src/md-ppc-gcc to src/machdep
SDK:Local/C/cp: omitting directory `src/md-ppc-gcc'
config.status: error: cannot link or copy src/md-ppc-gcc to src/machdep
/Work/PUAE/puaex>
Kubuntu 9.10 x64 :
Compilation ok : GUI : ok but start = "segmentation fault"
foul@Foulnux:/$ uae
PUAE 2.1.0
Build date: Mar 24 2010 23:24:13
SDLGFX: Initialized.
SDLGFX: Using SDL version 1.2.13.
SDLGFX: Display is 32 bits deep.
SDLGFX: Found screenmode: 1680x1050.
SDLGFX: Found screenmode: 1600x1024.
SDLGFX: Found screenmode: 1440x900.
SDLGFX: Found screenmode: 1400x1050.
SDLGFX: Found screenmode: 1360x768.
SDLGFX: Found screenmode: 1280x1024.
SDLGFX: Found screenmode: 1280x960.
SDLGFX: Found screenmode: 1152x864.
SDLGFX: Found screenmode: 1024x768.
SDLGFX: Found screenmode: 960x720.
SDLGFX: Found screenmode: 960x600.
SDLGFX: Found screenmode: 960x540.
SDLGFX: Found screenmode: 928x696.
SDLGFX: Found screenmode: 896x672.
SDLGFX: Found screenmode: 840x525.
SDLGFX: Found screenmode: 832x624.
SDLGFX: Found screenmode: 800x600.
SDLGFX: Found screenmode: 800x512.
SDLGFX: Found screenmode: 720x450.
SDLGFX: Found screenmode: 720x400.
SDLGFX: Found screenmode: 700x525.
SDLGFX: Found screenmode: 680x384.
SDLGFX: Found screenmode: 640x512.
SDLGFX: Found screenmode: 640x480.
SDLGFX: Found screenmode: 640x400.
SDLGFX: Found screenmode: 640x350.
SDLGFX: Found screenmode: 576x432.
SDLGFX: Found screenmode: 512x384.
SDLGFX: Found screenmode: 416x312.
SDLGFX: Found screenmode: 400x300.
SDLGFX: Found screenmode: 360x200.
SDLGFX: Found screenmode: 320x240.
Found 3 joystick(s)
Found x11pc raw keyboard mapping
Using cooked keymap
Opening cfgfile '/home/foul/.uaerc'...okay.
unknown config entry: 'kdb_lang=fr'
Testing the RDTSC instruction ... done.
TSC frequency: 2999,500000 MHz
Found x11pc raw keyboard mapping
Using raw keymap
Found x11pc raw keyboard mapping
Using raw keymap
Entered action_replay_load()
ROM loader..
Rmemory init end
SDLGFX: Added P96 mode: 320x200x32
SDLGFX: Added P96 mode: 320x200x8
SDLGFX: Added P96 mode: 320x240x32
SDLGFX: Added P96 mode: 320x240x8
SDLGFX: Added P96 mode: 320x256x32
SDLGFX: Added P96 mode: 320x256x8
SDLGFX: Added P96 mode: 320x400x32
SDLGFX: Added P96 mode: 320x400x8
SDLGFX: Added P96 mode: 640x350x32
SDLGFX: Added P96 mode: 640x350x8
SDLGFX: Added P96 mode: 640x480x32
SDLGFX: Added P96 mode: 640x480x8
SDLGFX: Added P96 mode: 640x512x32
SDLGFX: Added P96 mode: 640x512x8
SDLGFX: Added P96 mode: 800x600x32
SDLGFX: Added P96 mode: 800x600x8
SDLGFX: Added P96 mode: 1024x768x32
SDLGFX: Added P96 mode: 1024x768x8
SDLGFX: Added P96 mode: 1152x864x32
SDLGFX: Added P96 mode: 1152x864x8
SDLGFX: Added P96 mode: 1280x1024x32
SDLGFX: Added P96 mode: 1280x1024x8
SDLGFX: Added P96 mode: 1680x1050x32
SDLGFX: Added P96 mode: 1680x1050x8
SDLGFX: Added P96 mode: 1600x1024x32
SDLGFX: Added P96 mode: 1600x1024x8
SDLGFX: Added P96 mode: 1440x900x32
SDLGFX: Added P96 mode: 1440x900x8
SDLGFX: Added P96 mode: 1400x1050x32
SDLGFX: Added P96 mode: 1400x1050x8
SDLGFX: Added P96 mode: 1360x768x32
SDLGFX: Added P96 mode: 1360x768x8
SDLGFX: Added P96 mode: 1280x960x32
SDLGFX: Added P96 mode: 1280x960x8
SDLGFX: Added P96 mode: 960x720x32
SDLGFX: Added P96 mode: 960x720x8
SDLGFX: Added P96 mode: 960x600x32
SDLGFX: Added P96 mode: 960x600x8
SDLGFX: Added P96 mode: 960x540x32
SDLGFX: Added P96 mode: 960x540x8
SDLGFX: Added P96 mode: 928x696x32
SDLGFX: Added P96 mode: 928x696x8
SDLGFX: Added P96 mode: 896x672x32
SDLGFX: Added P96 mode: 896x672x8
SDLGFX: Added P96 mode: 840x525x32
SDLGFX: Added P96 mode: 840x525x8
SDLGFX: Added P96 mode: 832x624x32
SDLGFX: Added P96 mode: 832x624x8
SDLGFX: Added P96 mode: 800x512x32
SDLGFX: Added P96 mode: 800x512x8
SDLGFX: Added P96 mode: 720x450x32
SDLGFX: Added P96 mode: 720x450x8
SDLGFX: Added P96 mode: 720x400x32
SDLGFX: Added P96 mode: 720x400x8
SDLGFX: Added P96 mode: 700x525x32
SDLGFX: Added P96 mode: 700x525x8
SDLGFX: Added P96 mode: 680x384x32
SDLGFX: Added P96 mode: 680x384x8
SDLGFX: Added P96 mode: 640x400x32
SDLGFX: Added P96 mode: 640x400x8
SDLGFX: Added P96 mode: 576x432x32
SDLGFX: Added P96 mode: 576x432x8
SDLGFX: Added P96 mode: 512x384x32
SDLGFX: Added P96 mode: 512x384x8
No disk in drive 0.
CPU cycleunit: 256 (0,500)
Building CPU table for configuration: 68000 24-bit
1876 CPU functions
Building CPU, 44316 opcodes (0 0 1)
CPU=68000, FPU=0, JIT=CPU/FPU=8192.
Erreur de segmentation
foul@Foulnux:/$
AMIGrAve
25 March 2010, 13:24
@Foul : did you tried without .uaerc ?
of course ..same thing ....
gilgamesh
25 March 2010, 19:57
What were your configuration parameters?
foul@Foulnux:/$ uname -a
Linux Foulnux 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 04:38:19 UTC 2010 x86_64 GNU/Linux
foul@Foulnux:/$
./configure --with-sdl-sound --with-sdl-gfx --with-sdl-gl --enable-gccopt
gilgamesh
25 March 2010, 20:59
If I remember (and understood) correctly, you need to compile P-UAE to 32bit even without JIT, because of the emitted getcpuid command. Something like
./configure --with-sdl --with-sdl-sound --with-sdl-gl --with-sdl-gfx --host=i586 --target=i586 CFLAGS="-m32" LDFLAGS="-m32"
foul@Foulnux:~/Téléchargements/puaex$ ./configure --with-sdl --with-sdl-sound --with-sdl-gl --with-sdl-gfx --host=i586 --target=i586 CFLAGS="-m32" LDFLAGS="-m32"
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... i586-pc-none
checking target system type... i586-pc-none
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i586-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for i586-gcc... no
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/home/foul/Téléchargements/puaex':
configure: error: C compiler cannot create executables
See `config.log' for more details.
foul@Foulnux:~/Téléchargements/puaex$
tested without "--host=i586", same thing ...
edit: compilation ok without "CFLAGS="-m32" LDFLAGS="-m32" but always "segmentation error" at Start
:(
gilgamesh
25 March 2010, 21:51
Oh, you must install the 32bit version of gcc (and sdl) first. I have no clue how Ubuntu handles this, but there probably is a package.
EDIT: see here (http://eab.abime.net/showpost.php?p=648583&postcount=54), maybe it is an easier option
not very easy to include all 32 bits version of missing packages. A native x64 version could be cool without modifying tons of codes.
i'm not developper .. just user so i can wait for better development of PUAE ;)
i will test all the future version :)
gilgamesh
25 March 2010, 22:11
Ok, but maybe it is worth the trouble to give philpem's approach a shot and just comment out the call to cpuid in compemu_raw_x86.c before waiting? Might work then.
((compop_func *) cpuid_space) (0);
not existing on line 2363
it's now :
cache_free (cpuid_space);
and .... don't start ... on commenting it.
gilgamesh
25 March 2010, 22:40
;)
GnoStiC
07 April 2010, 09:11
yet another "i'm alive" release.. a lot has changed, i mean "a lot"..
this may not work for you so let me the error messages you get and we'll sort them out..
http://www.gamzeguckiran.com/puaex_2010_04_07.tgz
________
herbal vaporizers (http://vaporizers.net/)
gilgamesh
07 April 2010, 09:47
Here we go ;)
audio.c:939: error: storage size of ‘sdpaula’ isn’t known
commented out the lines
/*static struct sound_data sdpaula;
*static struct sound_data *sdp = &sdpaula;
*/
and compilation continues until
debug.c:(.text+0x5707): undefined reference to `totupper'
then I changed totuper()->toupper() in cfgfile.c and debug.c. What follows is
zfile.o: In function `extadf':
zfile.c:(.text+0x2544): undefined reference to `zfile_seterror'
zfile.c:(.text+0x25ec): undefined reference to `zfile_seterror'
zfile.o: In function `fdi':
zfile.c:(.text+0x2da1): undefined reference to `zfile_seterror'
zfile.c:(.text+0x2e5d): undefined reference to `zfile_seterror'
zfile.o: In function `dsq':
zfile.c:(.text+0x3108): undefined reference to `archive_directory_lzx'
zfile.c:(.text+0x312d): undefined reference to `archive_access_lzx'
zfile.c:(.text+0x33ad): undefined reference to `zfile_fclose_archive'
filesys.o: In function `filesys_media_change':
filesys.c:(.text+0x1f20): undefined reference to `filesys_delayed_change'
filesys.c:(.text+0x2000): undefined reference to `filesys_eject'
filesys.c:(.text+0x207f): undefined reference to `target_get_volume_name'
filesys.c:(.text+0x21ae): undefined reference to `filesys_insert'
filesys.c:(.text+0x2203): undefined reference to `filesys_insert'
:nervous
xaind
07 April 2010, 10:36
yet another "i'm alive" release.. a lot has changed, i mean "a lot"..
this may not work for you so let me the error messages you get and we'll sort them out..
http://www.gamzeguckiran.com/puaex_2010_04_07.tgz
Ok, compiling on the Mac.
In file included from memory.c:9:
../../src/od-generic/memory.c: In function ‘preinit_shm’:
../../src/od-generic/memory.c:115: error: ‘_SC_PHYS_PAGES’ undeclared (first use in this function)(od-macosx/memory.c does a #include on od-generic/memory.c)
The relevant lines of code are:
totalphys64 = sysconf (_SC_PHYS_PAGES) * sysconf (_SC_PAGESIZE);
total64 = (uae_u64)sysconf (_SC_PHYS_PAGES) * (uae_u64)sysconf (_SC_PAGESIZE);The Mac OS X sysconf() doesn't have the _SC_PHYS_PAGES flag. I replaced those lines with the code below. It compiles, at least, and I *think* it will work properly.
#ifdef __APPLE__
int mib[2];
size_t len;
mib[0] = CTL_HW;
mib[1] = HW_MEMSIZE; /* gives a 64 bit int */
len = sizeof(totalphys64);
sysctl(mib, 2, &totalphys64, &len, NULL, 0);
total64 = (uae_u64) totalphys64;
#else
totalphys64 = sysconf (_SC_PHYS_PAGES) * sysconf (_SC_PAGESIZE);
total64 = (uae_u64)sysconf (_SC_PHYS_PAGES) * (uae_u64)sysconf (_SC_PAGESIZE);
#endifI also needed to add
#include <sys/sysctl.h> at the top of the file.
Unfortunately I haven't figured out the second error yet:
In file included from compemu_support.c:608:
compemu_raw_x86.c:1997: warning: ‘struct sigcontext’ declared inside parameter list
compemu_raw_x86.c:1997: warning: its scope is only this definition or declaration, which is probably not what you want
compemu_raw_x86.c:1997: error: parameter 2 (‘sc’) has incomplete typeThe Mac OS X signal handling API doesn't define the sigcontext structure, (at least not for i386, as far as I can tell.) This code hasn't really changed since the previous release though, and I don't yet understand why it is causing a problem now when it didn't before.
./bootstrap ok
./configuration ok
./make ok
./uae ok
start : segmentation error
:(
GnoStiC
07 April 2010, 12:49
@gilgamesh & xaind: fixed (i hope)
@foul:
1) load uae within debugger; "gdb uae"
2) "r"(un)
3) after the crash; "bt"
4) "q"(uit)
copy paste the bt result here..
________
silver surfer vaporizer (http://vaporizers.net/silver-surfer-vaporizer)
foul@Foulnux:~$ gdb uae
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/uae...done.
(gdb) r
Starting program: /usr/local/bin/uae
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffeb2fb910 (LWP 2235)]
[New Thread 0x7fffeaafa910 (LWP 2236)]
PUAE 2.1.0
Build date: Mar 24 2010 23:24:13
SDLGFX: Initialized.
SDLGFX: Using SDL version 1.2.13.
SDLGFX: Display is 32 bits deep.
SDLGFX: Found screenmode: 1680x1050.
SDLGFX: Found screenmode: 1600x1024.
SDLGFX: Found screenmode: 1440x900.
SDLGFX: Found screenmode: 1400x1050.
SDLGFX: Found screenmode: 1360x768.
SDLGFX: Found screenmode: 1280x1024.
SDLGFX: Found screenmode: 1280x960.
SDLGFX: Found screenmode: 1152x864.
SDLGFX: Found screenmode: 1024x768.
SDLGFX: Found screenmode: 960x720.
SDLGFX: Found screenmode: 960x600.
SDLGFX: Found screenmode: 960x540.
SDLGFX: Found screenmode: 928x696.
SDLGFX: Found screenmode: 896x672.
SDLGFX: Found screenmode: 840x525.
SDLGFX: Found screenmode: 832x624.
SDLGFX: Found screenmode: 800x600.
SDLGFX: Found screenmode: 800x512.
SDLGFX: Found screenmode: 720x450.
SDLGFX: Found screenmode: 720x400.
SDLGFX: Found screenmode: 700x525.
SDLGFX: Found screenmode: 680x384.
SDLGFX: Found screenmode: 640x512.
SDLGFX: Found screenmode: 640x480.
SDLGFX: Found screenmode: 640x400.
SDLGFX: Found screenmode: 640x350.
SDLGFX: Found screenmode: 576x432.
SDLGFX: Found screenmode: 512x384.
SDLGFX: Found screenmode: 416x312.
SDLGFX: Found screenmode: 400x300.
SDLGFX: Found screenmode: 360x200.
SDLGFX: Found screenmode: 320x240.
Found 3 joystick(s)
Found x11pc raw keyboard mapping
Using cooked keymap
Opening cfgfile '/home/foul/.uaerc'...failed
Opening cfgfile '.uaerc'...failed
Testing the RDTSC instruction ... done.
TSC frequency: 2999,000000 MHz
[New Thread 0x7fffe9914910 (LWP 2243)]
[Thread 0x7fffe9914910 (LWP 2243) exited]
Found x11pc raw keyboard mapping
Using cooked keymap
Found x11pc raw keyboard mapping
Using cooked keymap
Entered action_replay_load()
ROM loader..
Rmemory init end
SDLGFX: Added P96 mode: 320x200x32
SDLGFX: Added P96 mode: 320x200x8
SDLGFX: Added P96 mode: 320x240x32
SDLGFX: Added P96 mode: 320x240x8
SDLGFX: Added P96 mode: 320x256x32
SDLGFX: Added P96 mode: 320x256x8
SDLGFX: Added P96 mode: 320x400x32
SDLGFX: Added P96 mode: 320x400x8
SDLGFX: Added P96 mode: 640x350x32
SDLGFX: Added P96 mode: 640x350x8
SDLGFX: Added P96 mode: 640x480x32
SDLGFX: Added P96 mode: 640x480x8
SDLGFX: Added P96 mode: 640x512x32
SDLGFX: Added P96 mode: 640x512x8
SDLGFX: Added P96 mode: 800x600x32
SDLGFX: Added P96 mode: 800x600x8
SDLGFX: Added P96 mode: 1024x768x32
SDLGFX: Added P96 mode: 1024x768x8
SDLGFX: Added P96 mode: 1152x864x32
SDLGFX: Added P96 mode: 1152x864x8
SDLGFX: Added P96 mode: 1280x1024x32
SDLGFX: Added P96 mode: 1280x1024x8
SDLGFX: Added P96 mode: 1680x1050x32
SDLGFX: Added P96 mode: 1680x1050x8
SDLGFX: Added P96 mode: 1600x1024x32
SDLGFX: Added P96 mode: 1600x1024x8
SDLGFX: Added P96 mode: 1440x900x32
SDLGFX: Added P96 mode: 1440x900x8
SDLGFX: Added P96 mode: 1400x1050x32
SDLGFX: Added P96 mode: 1400x1050x8
SDLGFX: Added P96 mode: 1360x768x32
SDLGFX: Added P96 mode: 1360x768x8
SDLGFX: Added P96 mode: 1280x960x32
SDLGFX: Added P96 mode: 1280x960x8
SDLGFX: Added P96 mode: 960x720x32
SDLGFX: Added P96 mode: 960x720x8
SDLGFX: Added P96 mode: 960x600x32
SDLGFX: Added P96 mode: 960x600x8
SDLGFX: Added P96 mode: 960x540x32
SDLGFX: Added P96 mode: 960x540x8
SDLGFX: Added P96 mode: 928x696x32
SDLGFX: Added P96 mode: 928x696x8
SDLGFX: Added P96 mode: 896x672x32
SDLGFX: Added P96 mode: 896x672x8
SDLGFX: Added P96 mode: 840x525x32
SDLGFX: Added P96 mode: 840x525x8
SDLGFX: Added P96 mode: 832x624x32
SDLGFX: Added P96 mode: 832x624x8
SDLGFX: Added P96 mode: 800x512x32
SDLGFX: Added P96 mode: 800x512x8
SDLGFX: Added P96 mode: 720x450x32
SDLGFX: Added P96 mode: 720x450x8
SDLGFX: Added P96 mode: 720x400x32
SDLGFX: Added P96 mode: 720x400x8
SDLGFX: Added P96 mode: 700x525x32
SDLGFX: Added P96 mode: 700x525x8
SDLGFX: Added P96 mode: 680x384x32
SDLGFX: Added P96 mode: 680x384x8
SDLGFX: Added P96 mode: 640x400x32
SDLGFX: Added P96 mode: 640x400x8
SDLGFX: Added P96 mode: 576x432x32
SDLGFX: Added P96 mode: 576x432x8
SDLGFX: Added P96 mode: 512x384x32
SDLGFX: Added P96 mode: 512x384x8
No disk in drive 0.
CPU cycleunit: 256 (0,500)
Building CPU table for configuration: 68030
1876 CPU functions
Building CPU, 45975 opcodes (3 0 0)
CPU=68030, FPU=0, JIT=0.
Program received signal SIGSEGV, Segmentation fault.
0x0000000003bf1004 in ?? ()
(gdb) bt
#0 0x0000000003bf1004 in ?? ()
#1 0x0000000000000000 in ?? ()
(gdb) q
A debugging session is active.
Inferior 1 [process 2229] will be killed.
Quit anyway? (y or n) y
foul@Foulnux:~$
:)
GnoStiC
07 April 2010, 13:23
1) march 24 and 2.1.0?
version should be 2.1.20 and
if you've compiled today, build date should be Apr 7?
2) you're in your home folder, is that the directory where uae resides?
foul@Foulnux:~$ gdb uae
...
PUAE 2.1.0
Build date: Mar 24 2010 23:24:13
...
:)
________
volcano digital vaporizer (http://vaporizer.org/reviews/volcano)
uhmmm weird .. i've got 3 uae bin ...
/usr/bin/uae : from ubuntu's package (e-uae 0.8.29) : Working
/usr/bin/local/uae : from old compilation puae 2.1.0
/usr/bin/local/i586-uae : puae 2.1.0
and nothing about 2.1.20 !!!
./configure --with-sdl-sound --with-sdl-gfx --with-sdl-gl --enable-gccopt
...
ok...
foul@Foulnux:~/Téléchargements/puaex$ make
Making all in src
make[1]: entrant dans le répertoire « /home/foul/Téléchargements/puaex/src »
make all-recursive
...
cpuemu_0.c: In function ‘op_d170_4_ff’:
cpuemu_0.c:38487: warning: comparison of promoted ~unsigned with unsigned
make[3]: *** [cpuemu_0.o] Erreur 1
make[3]: quittant le répertoire « /home/foul/Téléchargements/puaex/src »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/foul/Téléchargements/puaex/src »
make[1]: *** [all] Erreur 2
make[1]: quittant le répertoire « /home/foul/Téléchargements/puaex/src »
make: *** [all-recursive] Erreur 1
Maybe something wrong on "make" command...
GnoStiC
07 April 2010, 14:01
so it should be src/uae but you get "Erreur 1"..
i need to see the whole compilation output to comment :/
...
foul@Foulnux:~/T?l?chargements/puaex$ make
Making all in src
...
make[3]: *** [cpuemu_0.o] Erreur 1
make[1]: *** [all] Erreur 2
________
vaporizers (http://vaporizers.net/vaporizers)
The text that you have entered is too long (61384 characters). Please shorten it to 20000 characters long. :banghead
Will post it in 4 times ..
3:
cpuemu_0.c:31248: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_ebc0_0_ff’:
cpuemu_0.c:31270: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_ebd0_0_ff’:
cpuemu_0.c:31293: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_ebe8_0_ff’:
cpuemu_0.c:31315: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_ebf0_0_ff’:
cpuemu_0.c:31339: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_ebf8_0_ff’:
cpuemu_0.c:31359: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_ebf9_0_ff’:
cpuemu_0.c:31380: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_ebfa_0_ff’:
cpuemu_0.c:31403: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_ebfb_0_ff’:
cpuemu_0.c:31429: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_ecc0_0_ff’:
cpuemu_0.c:31449: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_ecd0_0_ff’:
cpuemu_0.c:31474: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_ece8_0_ff’:
cpuemu_0.c:31497: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_ecf0_0_ff’:
cpuemu_0.c:31522: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_ecf8_0_ff’:
cpuemu_0.c:31543: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_ecf9_0_ff’:
cpuemu_0.c:31565: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_edc0_0_ff’:
cpuemu_0.c:31587: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_edd0_0_ff’:
cpuemu_0.c:31612: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_ede8_0_ff’:
cpuemu_0.c:31636: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_edf0_0_ff’:
cpuemu_0.c:31662: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_edf8_0_ff’:
cpuemu_0.c:31684: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_edf9_0_ff’:
cpuemu_0.c:31707: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_edfa_0_ff’:
cpuemu_0.c:31732: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_edfb_0_ff’:
cpuemu_0.c:31760: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_eec0_0_ff’:
cpuemu_0.c:31782: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_eed0_0_ff’:
cpuemu_0.c:31807: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_eee8_0_ff’:
cpuemu_0.c:31830: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_eef0_0_ff’:
cpuemu_0.c:31855: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_eef8_0_ff’:
cpuemu_0.c:31876: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_eef9_0_ff’:
cpuemu_0.c:31898: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_efc0_0_ff’:
cpuemu_0.c:31920: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_efd0_0_ff’:
cpuemu_0.c:31948: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_efe8_0_ff’:
cpuemu_0.c:31974: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_eff0_0_ff’:
cpuemu_0.c:32002: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_eff8_0_ff’:
cpuemu_0.c:32026: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_eff9_0_ff’:
cpuemu_0.c:32051: warning: signed and unsigned type in conditional expression
cpuemu_0.c:32807:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f408_0_ff’:
cpuemu_0.c:32807: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:32807: error: (Each undeclared identifier is reported only once
cpuemu_0.c:32807: error: for each function it appears in.)
cpuemu_0.c:32822:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f410_0_ff’:
cpuemu_0.c:32822: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:32836:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f418_0_ff’:
cpuemu_0.c:32836: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:32850:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f419_0_ff’:
cpuemu_0.c:32850: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:32864:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f41a_0_ff’:
cpuemu_0.c:32864: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:32878:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f41b_0_ff’:
cpuemu_0.c:32878: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:32892:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f41c_0_ff’:
cpuemu_0.c:32892: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:32906:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f41d_0_ff’:
cpuemu_0.c:32906: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:32920:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f41e_0_ff’:
cpuemu_0.c:32920: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:32934:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f41f_0_ff’:
GnoStiC
07 April 2010, 14:17
@foul:
your post 3 shows the error, i'll look into it now.
please remove your posts 1,2 and 4..
________
Harley-Davidson 8 Valve (http://www.cyclechaos.com/wiki/Harley-Davidson_8_Valve)
GnoStiC
07 April 2010, 14:30
fixed some more bugs;
http://www.gamzeguckiran.com/puaex_2010_04_07-2.tar.gz
________
XT250 (http://www.cyclechaos.com/wiki/Yamaha_XT250)
Always getting some errors :
cpuemu_0.c:32026: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_eff9_0_ff’:
cpuemu_0.c:32051: warning: signed and unsigned type in conditional expression
cpuemu_0.c:32807:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f408_0_ff’:
cpuemu_0.c:32807: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:32807: error: (Each undeclared identifier is reported only once
cpuemu_0.c:32807: error: for each function it appears in.)
cpuemu_0.c:32822:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f410_0_ff’:
cpuemu_0.c:32822: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:32836:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f418_0_ff’:
cpuemu_0.c:32836: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:32850:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f419_0_ff’:
cpuemu_0.c:32850: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:32864:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f41a_0_ff’:
cpuemu_0.c:32864: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:32878:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f41b_0_ff’:
cpuemu_0.c:32878: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:32892:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f41c_0_ff’:
cpuemu_0.c:32892: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:32906:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f41d_0_ff’:
cpuemu_0.c:32906: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:32920:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f41e_0_ff’:
cpuemu_0.c:32920: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:32934:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f41f_0_ff’:
cpuemu_0.c:32934: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:32949:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f428_0_ff’:
cpuemu_0.c:32949: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:32964:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f430_0_ff’:
cpuemu_0.c:32964: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:32978:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f438_0_ff’:
cpuemu_0.c:32978: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:32992:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f439_0_ff’:
cpuemu_0.c:32992: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:33006:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f43a_0_ff’:
cpuemu_0.c:33006: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:33020:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f43b_0_ff’:
cpuemu_0.c:33020: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:33034:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f43c_0_ff’:
cpuemu_0.c:33034: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:33048:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f43d_0_ff’:
cpuemu_0.c:33048: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:33062:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f43e_0_ff’:
cpuemu_0.c:33062: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c:33076:63: error: macro "flush_icache" passed 2 arguments, but takes just 1
cpuemu_0.c: In function ‘op_f43f_0_ff’:
cpuemu_0.c:33076: error: ‘flush_icache’ undeclared (first use in this function)
cpuemu_0.c: In function ‘op_0630_4_ff’:
cpuemu_0.c:34056: warning: comparison of promoted ~unsigned with unsigned
cpuemu_0.c: In function ‘op_0670_4_ff’:
cpuemu_0.c:34078: warning: comparison of promoted ~unsigned with unsigned
cpuemu_0.c: In function ‘op_d030_4_ff’:
cpuemu_0.c:38292: warning: comparison of promoted ~unsigned with unsigned
cpuemu_0.c: In function ‘op_d03b_4_ff’:
cpuemu_0.c:38316: warning: comparison of promoted ~unsigned with unsigned
cpuemu_0.c: In function ‘op_d070_4_ff’:
cpuemu_0.c:38339: warning: comparison of promoted ~unsigned with unsigned
cpuemu_0.c: In function ‘op_d07b_4_ff’:
cpuemu_0.c:38363: warning: comparison of promoted ~unsigned with unsigned
cpuemu_0.c: In function ‘op_d130_4_ff’:
cpuemu_0.c:38464: warning: comparison of promoted ~unsigned with unsigned
cpuemu_0.c: In function ‘op_d170_4_ff’:
cpuemu_0.c:38487: warning: comparison of promoted ~unsigned with unsigned
make[3]: *** [cpuemu_0.o] Erreur 1
make[3]: quittant le répertoire « /home/foul/.local/share/Trash/files/puaex_9/src »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/foul/.local/share/Trash/files/puaex_9/src »
make[1]: *** [all] Erreur 2
make[1]: quittant le répertoire « /home/foul/.local/share/Trash/files/puaex_9/src »
make: *** [all-recursive] Erreur 1
foul@Foulnux:~/Téléchargements/puaex$
GnoStiC
07 April 2010, 14:44
@foul:
just to make sure;
1) cd ~
2) rm -rf puaex
3) wget http://www.gamzeguckiran.com/puaex_2010_04_07-2.tar.gz
4) tar -zxvf puaex_2010_04_07-2.tar.gz
5) cd puaex
6) ./bp2010_.sh
7) make clean; make
8) src/uae
________
buy iolite vaporizer (http://vaporizers.net/iolite-vaporizer)
vtlmks
07 April 2010, 14:47
I'm getting another error now:
cpuemu_0.c:32051: warning: signed and unsigned type in conditional expression
cpuemu_0.c: In function ‘op_f408_0_ff’:
cpuemu_0.c:32807: error: ‘X’ undeclared (first use in this function)
cpuemu_0.c:32807: error: (Each undeclared identifier is reported only once
cpuemu_0.c:32807: error: for each function it appears in.)
cpuemu_0.c:32807: error: expected ‘;’ before ‘do’
cpuemu_0.c: In function ‘op_f410_0_ff’:
cpuemu_0.c:32822: error: ‘X’ undeclared (first use in this function)
cpuemu_0.c:32822: error: expected ‘;’ before ‘do’
1-6 ok
7 : some errors
8 : foul@Foulnux:~/puaex$ src/uae
bash: src/uae: Aucun fichier ou dossier de ce type
foul@Foulnux:~/puaex$
/src exist but not /src/uae/ inside puaex dir
GnoStiC
07 April 2010, 16:02
another bug fix rls :crazy
http://www.gamzeguckiran.com/puaex_2010_04_07-3.tar.gz
________
SR50R (http://www.cyclechaos.com/wiki/Aprilia_SR50R)
it's working !!! alleluia my brothers !!! :bowdown
oopss : missing gui ... uae start directly , no way to show gui ^^
GnoStiC
07 April 2010, 16:55
gui = F12 + ENTER
it's working !!! alleluia my brothers !!! :bowdown
oopss : missing gui ... uae start directly , no way to show gui ^^
________
volcano vaporizer (http://vaporizer.org/)
F12 + Enter Working ... reset ok, quit ok, but STOP not working ^^
Hungry Horace
07 April 2010, 19:39
am i missing a trick not getting it to compile for OSX?
./configure
puaex horaceandthespider$ ./configure --with-sdl --with-sdl-sound --with-sdl-gl --with-sdl-gfx --host=i586 --target=i686 CFLAGS="-m32" LDFLAGS="-m32"
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-apple-darwin10.0.0
checking host system type... i586-pc-none
checking target system type... i686-pc-none
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i586-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for i586-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for i586-g++... no
checking for i586-c++... no
checking for i586-gpp... no
checking for i586-aCC... no
checking for i586-CC... no
checking for i586-cxx... no
checking for i586-cc++... no
checking for i586-cl.exe... no
checking for i586-FCC... no
checking for i586-KCC... no
checking for i586-RCC... no
checking for i586-xlC_r... no
checking for i586-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for i586-objcc... no
checking for i586-objc... no
checking for i586-gcc... no
checking for i586-cc... no
checking for i586-CC... no
checking for objcc... no
checking for objc... no
checking for gcc... gcc
checking dependency style of gcc... gcc3
checking if Objective C compiler works... yes
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for i586-ranlib... no
checking for ranlib... ranlib
checking for i586-ar... no
checking for ar... ar
checking for makedepend... /usr/X11/bin/makedepend
checking for file... /usr/bin/file
checking for wrc... not-found
checking for rcl... not-found
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking for _oss_ioctl in -lossaudio... no
checking for pkg-config... no
checking for GTK+ - version >= 2.0.0... no
*** A new enough version of pkg-config was not found.
*** See http://pkgconfig.sourceforge.net
checking for gtk-config... no
checking for GTK - version >= 1.0.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking values.h usability... no
checking values.h presence... no
checking for values.h... no
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking for sys/stat.h... (cached) yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking libraries/cybergraphics.h usability... no
checking libraries/cybergraphics.h presence... no
checking for libraries/cybergraphics.h... no
checking cybergraphx/cybergraphics.h usability... no
checking cybergraphx/cybergraphics.h presence... no
checking for cybergraphx/cybergraphics.h... no
checking devices/ahi.h usability... no
checking devices/ahi.h presence... no
checking for devices/ahi.h... no
checking sys/soundcard.h usability... no
checking sys/soundcard.h presence... no
checking for sys/soundcard.h... no
checking machine/soundcard.h usability... no
checking machine/soundcard.h presence... no
checking for machine/soundcard.h... no
checking sun/audioio.h usability... no
checking sun/audioio.h presence... no
checking for sun/audioio.h... no
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking machine/joystick.h usability... no
checking machine/joystick.h presence... no
checking for machine/joystick.h... no
checking amigainput/amigainput.h usability... no
checking amigainput/amigainput.h presence... no
checking for amigainput/amigainput.h... no
checking byteswap.h usability... no
checking byteswap.h presence... no
checking for byteswap.h... no
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for struct stat.st_blocks... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking whether byte ordering is bigendian... no
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of __int64... 0
checking size of void *... 4
checking for socklen_t... yes
checking whether gcc needs -traditional... no
checking for working memcmp... yes
checking return type of signal handlers... void
checking for utime.h... (cached) yes
checking whether utime accepts a null argument... yes
checking for gettimeofday... yes
checking for sigaction... yes
checking for select... yes
checking for strerror... yes
checking for isnan... yes
checking for isinf... yes
checking for setitimer... yes
checking for alarm... yes
checking for sync... yes
checking for readdir_r... yes
checking for strdup... yes
checking for strstr... yes
checking for strcasecmp... yes
checking for stricmp... no
checking for strcmpi... no
checking for nanosleep... yes
checking for usleep... yes
checking for sleep... yes
checking for vprintf... yes
checking for vsprintf... yes
checking for vfprintf... yes
checking for localtime_r... yes
checking for timegm... yes
checking for gmtime_r... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for bswap_16... no
checking for bswap_32... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/vfs.h usability... no
checking sys/vfs.h presence... no
checking for sys/vfs.h... no
checking sys/fs_types.h usability... no
checking sys/fs_types.h presence... no
checking for sys/fs_types.h... no
checking for sys/mount.h... yes
checking how to get filesystem space usage...
checking for statvfs function (SVR4)... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for fcntl.h... (cached) yes
checking dustat.h usability... no
checking dustat.h presence... no
checking for dustat.h... no
checking sys/fs/s5param.h usability... no
checking sys/fs/s5param.h presence... no
checking for sys/fs/s5param.h... no
checking sys/filsys.h usability... no
checking sys/filsys.h presence... no
checking for sys/filsys.h... no
checking sys/statfs.h usability... no
checking sys/statfs.h presence... no
checking for sys/statfs.h... no
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking for statfs that truncates block counts... no
checking for inflateEnd in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking for library containing sem_init... none required
checking for dlopen in -ldl... yes
checking host OS support... generic
checking host cpu support... i386
checking for GCC 2.7 or higher... yes
checking for GCC 3.0 or higher... yes
checking for GCC 4.0 or higher... yes
checking configuration options... ok
checking for X... libraries /usr/X11/lib, headers
checking whether -R must be followed by a space... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for waddch in -lncurses... yes
checking for sdl-config... no
checking for SDL - version >= 1.2.0... no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: WARNING: SDL support wanted, but libSDL could not be found
checking whether to build JIT compiler... yes
checking whether assembler supports --execstack option... no
checking for graphics target to build... "x11"
checking whether to compile XKB extension support... no
checking whether the X11 MIT-SHM extension can be compiled in... yes
checking for sound target to build... "none"
checking which UI target to build... configure: WARNING: UI wanted, but no UI useable target found
"none"
checking whether to build GAYLE IDE emulation... no
checking whether to build NCR SCSI emulation... no
checking whether to build A2065 Ethernet emulation... no
checking whether to build A2091 SCSI emulation... no
checking whether to build AGA emulation... yes
checking whether to build support for Autconfig devices... yes
checking whether to build SCSI emulation... no
no
checking whether to build CDTV emulation... no
checking whether to build CD32 emulation... no
checking whether to build bsdsocket.library emulation... yes
checking whether to build with threads... yes
checking which thread target to build... posix
checking caps/capsimage.h usability... no
checking caps/capsimage.h presence... no
checking for caps/capsimage.h... no
checking whether to build internal debugger/monitor... yes
checking whether to build support for saving/loading emulator state... yes
checking whether to build with enforcer... yes
checking whether to build Action Replay emulation... yes
checking whether to include keymaps for X-Arcade joysticks... yes
checking want floppy drive sound emulation... yes
checking whether CPU is 64bit... grep: /proc/version: No such file or directory
no
checking whether to use CPU Specific GCC Optimizations... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/dms/Makefile
config.status: creating src/caps/Makefile
config.status: creating src/md-generic/Makefile
config.status: creating src/md-i386-gcc/Makefile
config.status: creating src/md-ppc-gcc/Makefile
config.status: creating src/md-ppc/Makefile
config.status: creating src/md-68k/Makefile
config.status: creating src/md-amd64-gcc/Makefile
config.status: creating src/od-generic/Makefile
config.status: creating src/od-linux/Makefile
config.status: creating src/od-amiga/Makefile
config.status: creating src/od-beos/Makefile
config.status: creating src/od-macosx/Makefile
config.status: creating src/od-macosx/Info.plist
config.status: creating src/od-win32/Makefile
config.status: creating src/td-none/Makefile
config.status: creating src/td-amigaos/Makefile
config.status: creating src/td-beos/Makefile
config.status: creating src/td-posix/Makefile
config.status: creating src/td-sdl/Makefile
config.status: creating src/td-win32/Makefile
config.status: creating src/gfx-amigaos/Makefile
config.status: creating src/gfx-beos/Makefile
config.status: creating src/gfx-x11/Makefile
config.status: creating src/gfx-sdl/Makefile
config.status: creating src/gfx-curses/Makefile
config.status: creating src/gfx-svga/Makefile
config.status: creating src/sd-alsa/Makefile
config.status: creating src/sd-amigaos/Makefile
config.status: creating src/sd-beos/Makefile
config.status: creating src/sd-none/Makefile
config.status: creating src/sd-sdl/Makefile
config.status: creating src/sd-solaris/Makefile
config.status: creating src/sd-uss/Makefile
config.status: creating src/jd-none/Makefile
config.status: creating src/jd-amigainput/Makefile
config.status: creating src/jd-amigaos/Makefile
config.status: creating src/jd-beos/Makefile
config.status: creating src/jd-linuxold/Makefile
config.status: creating src/jd-sdl/Makefile
config.status: creating src/gui-none/Makefile
config.status: creating src/gui-beos/Makefile
config.status: creating src/gui-cocoa/Makefile
config.status: creating src/gui-gtk/Makefile
config.status: creating src/gui-muirexx/Makefile
config.status: creating src/keymap/Makefile
config.status: creating src/test/Makefile
config.status: creating src/sysconfig.h
config.status: src/sysconfig.h is unchanged
config.status: linking src/targets/t-unix.h to src/target.h
config.status: linking src/md-i386-gcc to src/machdep
config.status: linking src/include/fpp-ieee.h to src/md-fpp.h
config.status: linking src/od-generic to src/osdep
config.status: linking src/gfx-x11 to src/gfxdep
config.status: linking src/sd-none to src/sounddep
config.status: linking src/td-posix to src/threaddep
config.status: linking src/jd-none to src/joydep
config.status: linking src/gui-none to src/guidep
config.status: executing depfiles commands
=== configuring in src/tools (/Users/horaceandthespider/Desktop/puaex_2010_04_07-3/puaex/src/tools)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--with-sdl' '--with-sdl-sound' '--with-sdl-gl' '--with-sdl-gfx' '--host=i586' '--target=i686' 'CFLAGS=-m32' 'LDFLAGS=-m32' 'host_alias=i586' 'target_alias=i686' --cache-file=/dev/null --srcdir=.
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-apple-darwin10.0.0
checking host system type... i586-pc-none
checking target system type... i686-pc-none
checking for i586-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of __int64... 0
checking size of void *... 4
checking whether gcc needs -traditional... no
checking for vprintf... yes
checking for _doprnt... no
checking for strdup... yes
checking for strcasecmp... yes
checking for strcmpi... no
checking for stricmp... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sysconfig.h
config.status: sysconfig.h is unchanged
config.status: linking ../missing.c to missing.c
config.status: linking ../writelog.c to writelog.c
config.status: linking ../readcpu.c to readcpu.c
config.status: linking ../build68k.c to build68k.c
config.status: linking ../gencpu.c to gencpu.c
config.status: linking ../gencomp.c to gencomp.c
config.status: linking ../genblitter.c to genblitter.c
config.status: linking ../blitops.c to blitops.c
config.status: linking ../genlinetoscr.c to genlinetoscr.c
Hungry Horace
07 April 2010, 19:40
make
puaex horaceandthespider$ make
Making all in src
make all-recursive
Making all in tools
make[3]: Nothing to be done for `all'.
Making all in md-i386-gcc
make[3]: Nothing to be done for `all'.
Making all in td-posix
make[3]: Nothing to be done for `all'.
Making all in gfx-x11
gcc -DHAVE_CONFIG_H -I. -I../../src -DCPUEMU_0 -DCPUEMU_11 -DCPUEMU_12 -DCPUEMU_20 -DCPUEMU_31 -DMMU -DFPUEMU -DUNALIGNED_PROFITABLE -DJIT -DAGA -DAUTOCONFIG -DFILESYS -DBSDSOCKET -DSUPPORT_THREADS -DFDI2RAW -DDEBUGGER -DSAVESTATE -DENFORCER -DACTION_REPLAY -DXARCADE -DDRIVESOUND -DSHM_SUPPORT_LINKS=1 -I../../src/include -I../../src -I../../src -fomit-frame-pointer -ffast-math -Wall -Wno-unused -Wno-format -W -Wmissing-prototypes -Wstrict-prototypes -fno-strength-reduce -DREGPARAM="__attribute__((regparm(3)))" -m32 -MT xwin.o -MD -MP -MF .deps/xwin.Tpo -c -o xwin.o xwin.c
xwin.c:207:54: error: macro "xmalloc" requires 2 arguments, but only 1 given
xwin.c: In function ‘graphics_subinit’:
xwin.c:886: warning: implicit declaration of function ‘inputdevice_release_all_keys’
xwin.c: In function ‘handle_events’:
xwin.c:1154: warning: implicit declaration of function ‘uae_stop’
xwin.c: At top level:
xwin.c:1630: warning: initialization from incompatible pointer type
xwin.c:1631: warning: initialization from incompatible pointer type
xwin.c:1633: warning: initialization from incompatible pointer type
xwin.c:1634: warning: initialization from incompatible pointer type
xwin.c:1635: warning: initialization from incompatible pointer type
xwin.c:1636: warning: initialization from incompatible pointer type
xwin.c:1638: warning: initialization from incompatible pointer type
xwin.c:1638: warning: missing initializer
xwin.c:1638: warning: (near initialization for ‘inputdevicefunc_mouse.get_widget_first’)
xwin.c:1716: error: conflicting types for ‘input_get_default_mouse’
../../src/include/inputdevice.h:71: error: previous declaration of ‘input_get_default_mouse’ was here
xwin.c:1731: warning: initialization from incompatible pointer type
xwin.c:1732: warning: initialization from incompatible pointer type
xwin.c:1734: warning: initialization from incompatible pointer type
xwin.c:1735: warning: initialization from incompatible pointer type
xwin.c:1736: warning: initialization from incompatible pointer type
xwin.c:1737: warning: initialization from incompatible pointer type
xwin.c:1739: warning: initialization from incompatible pointer type
xwin.c:1739: warning: missing initializer
xwin.c:1739: warning: (near initialization for ‘inputdevicefunc_keyboard.get_widget_first’)
make[3]: *** [xwin.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
???? i am guessing i'm excluding something important? I havent managed to get any version to work yet! (i dont like the look of that 'win' in there!)
perhaps xaind knows why :)
gilgamesh
07 April 2010, 19:56
@gilgamesh & xaind: fixed (i hope)
yes, but I get a new one
filesys.o: In function `filesys_eject':
filesys.c:(.text+0x1e44): undefined reference to `zfile_fclose_archive'
http://foulcap.free.fr/puaex.png
Weird volume name ... (Original was "Amiga")
xaind
08 April 2010, 02:08
another bug fix rls
http://www.gamzeguckiran.com/puaex_2010_04_07-3.tar.gz
I still get this error:
In file included from compemu_support.c:608:
compemu_raw_x86.c:1997: warning: ‘struct sigcontext’ declared inside parameter list
compemu_raw_x86.c:1997: warning: its scope is only this definition or declaration, which is probably not what you want
compemu_raw_x86.c:1997: error: parameter 2 (‘sc’) has incomplete type
It looks like Apple just plain doesn't use the sigcontext structure anymore.
I hacked in a temporary bypass for that problem, and compilation then continues, until it gets to this:
Undefined symbols:
"_zfile_fclose_archive", referenced from:
_filesys_eject in filesys.o
"_init_sdl", referenced from:
-[EUAE_Main applicationDidFinishLaunching:] in libosdep.a(main.o)
"regflags", referenced from:
_op_0000_0_ff in libcpuemu.a(cpuemu_0.o)
_op_0000_0_ff in libcpuemu.a(cpuemu_0.o)
(..snipped many, many more in this list..)
The "_init_sdl" call in od-macosx/main.m can just be commented out. (I have been working on a bunch of fixes to the Mac OS X code in od-macosx/main.m and gui-cocoa/cocoaui.m.. I will upload these when I get a working build of the latest source.)
@Hungry Horace: Add "--disable-sdltest" to your configure flags. It should then fail on one of the above errors, or on cocoaui.m. If it's cocoaui.m I have fixes forthcoming.
GnoStiC
08 April 2010, 07:52
http://www.gamzeguckiran.com/puaex_2010_04_08.tar.gz
@gilgamesh & horace: this should fix your problem.
@foul: there is no stop at the moment.
i'll fix hdd name issue soon.
@xaind: this should fix some of your problems as well.
and i need you to post/mail me the sigcontext.h from your apple
________
Honda XR650L (http://www.cyclechaos.com/wiki/Honda_XR650L)
foul@Foulnux:/usr/local/bin$ ./uae
------------------------------------------------------------------------------------
P-UAE 2.1.20
Build date: Apr 8 2010 08:16:46
------------------------------------------------------------------------------------
Copyright 1995-2002 Bernd Schmidt
1999-2010 Toni Wilen
2003-2007 Richard Drummond
2006-2010 Mustafa Tufan
See the source for a full list of contributors.
This is free software; see the file COPYING for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
------------------------------------------------------------------------------------
Found 3 joystick(s)
Using cooked keymap
SDLGFX: Initialized.
SDLGFX: Using SDL version 1.2.13.
SDLGFX: Display is 32 bits deep.
SDLGFX: Found screenmode: 1680x1050.
SDLGFX: Found screenmode: 1600x1024.
SDLGFX: Found screenmode: 1440x900.
SDLGFX: Found screenmode: 1400x1050.
SDLGFX: Found screenmode: 1360x768.
SDLGFX: Found screenmode: 1280x1024.
SDLGFX: Found screenmode: 1280x960.
SDLGFX: Found screenmode: 1152x864.
SDLGFX: Found screenmode: 1024x768.
SDLGFX: Found screenmode: 960x720.
SDLGFX: Found screenmode: 960x600.
SDLGFX: Found screenmode: 960x540.
SDLGFX: Found screenmode: 928x696.
SDLGFX: Found screenmode: 896x672.
SDLGFX: Found screenmode: 840x525.
SDLGFX: Found screenmode: 832x624.
SDLGFX: Found screenmode: 800x600.
SDLGFX: Found screenmode: 800x512.
SDLGFX: Found screenmode: 720x450.
SDLGFX: Found screenmode: 720x400.
SDLGFX: Found screenmode: 700x525.
SDLGFX: Found screenmode: 680x384.
SDLGFX: Found screenmode: 640x512.
SDLGFX: Found screenmode: 640x480.
SDLGFX: Found screenmode: 640x400.
SDLGFX: Found screenmode: 640x350.
SDLGFX: Found screenmode: 576x432.
SDLGFX: Found screenmode: 512x384.
SDLGFX: Found screenmode: 416x312.
SDLGFX: Found screenmode: 400x300.
SDLGFX: Found screenmode: 360x200.
SDLGFX: Found screenmode: 320x240.
Opening cfgfile '/home/foul/.uaerc': okay.
unknown config entry: 'sdl.use_gl=true'
unknown config entry: 'cachesize=8192'
unknown config entry: 'x86.use_tsc=true'
unknown config entry: 'unix.floppy__path=/media/Emul/Amiga/'
unknown config entry: 'unix.cpu_idle=0'
unknown config entry: 'amd64.use_tsc=yes'
unknown config entry: 'sdl.map_raw_keys=false'
obsolete config entry 'kickstart_key_file'
unknown config entry: 'scsi=false'
unknown config entry: 'scsi_device='
obsolete config entry 'sound_bits'
obsolete config entry 'sound_adjust'
obsolete config entry 'gfx_correct_aspect'
unknown config entry: 'hide_cursor=true'
unknown config entry: 'collision_level=playfields'
obsolete config entry 'catweasel_io'
ALSA lib pcm_dmix.c:975:(snd_pcm_dmix_open) unable to create IPC semaphore
SDL: Couldn't open audio: Fragment size must be a power of two
Sound driver unavailable: Sound output disabled
Using cooked keymap
Thread 'GTK-GUI' started (63554576)
RTAREA located at 00F00000
Entered action_replay_load()
ROM loader..
ROM KEY '/media/Emul/Amiga/rom.key' 750 bytes loaded
Known ROM 'KS ROM v3.1 (A500,A600,A2000)' loaded
ROM loader end
MAP_BANK 00C00000 32 Custom chipset
MAP_BANK 00A00000 32 CIA
MAP_BANK 00D80000 6 (null)
MAP_BANK 00A00000 0 (null)
MAP_BANK 00DC0000 1 Battery backed up clock (none)
MAP_BANK 00F80000 8 Kickstart ROM
MAP_BANK 00E80000 1 Autoconfig
MAP_BANK 00000000 32 (null)
MAP_BANK 00000000 32 Chip memory
MAP_BANK 00F00000 1 UAE Boot ROM
MAP_BANK 00E00000 8 Kickstart ROM
memory init end
...
No disk in drive 0.
CPU cycleunit: 256 (0,500)
Building CPU table for configuration: 68020/68881 24-bit
1879 CPU functions
Building CPU, 45954 opcodes (2 0 1)
CPU=68020, FPU=68881, MMU=0, JIT=CPU=0.
CPU cycleunit: 256 (0,500)
-- SET FILESYS UNIT --
DevName: Amiga
VolName: Amiga
RootDir: /home/foul/Téléchargements/Amiga
FsysDir:
MAP_BANK 00C00000 32 Custom chipset
MAP_BANK 00A00000 32 CIA
MAP_BANK 00D80000 6 (null)
MAP_BANK 00A00000 0 (null)
MAP_BANK 00DC0000 1 Battery backed up clock (none)
MAP_BANK 00F80000 8 Kickstart ROM
MAP_BANK 00E80000 1 Autoconfig
MAP_BANK 00000000 32 (null)
MAP_BANK 00000000 32 Chip memory
MAP_BANK 00F00000 1 UAE Boot ROM
MAP_BANK 00E00000 8 Kickstart ROM
memory init end
Reset at 00000000
00000000 2048K/1 = 2048K Chip memory
00200000 8192K/0 = 8192K <none>
00A00000 2048K/0 = 2048K CIA
00C00000 1536K/0 = 1536K Custom chipset
00D80000 256K/0 = 256K <none>
00DC0000 64K/0 = 64K Battery backed up clock (none)
00DD0000 64K/0 = 64K <none>
00DE0000 128K/0 = 128K Custom chipset
00E00000 512K/1 = 512K Kickstart ROM (FC24AE0D)
=KS ROM v3.1 (A500,A600,A2000) rev 40.63 (512k)
00E80000 64K/0 = 64K Autoconfig
00E90000 448K/0 = 448K <none>
00F00000 64K/1 = 64K UAE Boot ROM
00F10000 448K/0 = 448K <none>
00F80000 512K/1 = 512K Kickstart ROM (FC24AE0D)
=KS ROM v3.1 (A500,A600,A2000) rev 40.63 (512k)
MAP_BANK 00000000 32 Kickstart ROM
PAL mode V=50Hz H=15600Hz (227x312)
hardreset, memory cleared
* configuration check trigger
CPU cycleunit: 256 (0,500)
PAL mode V=50Hz H=15600Hz (227x312)
...
CPU cycleunit: 256 (0,500)
* configuration check trigger
CPU cycleunit: 256 (0,500)
* configuration check trigger
CPU cycleunit: 256 (0,500)
MAP_BANK 00000000 32 (null)
MAP_BANK 00000000 32 Chip memory
* configuration check trigger
CPU cycleunit: 256 (0,500)
...
* configuration check trigger
CPU cycleunit: 256 (0,500)
MAP_BANK 00200000 128 Fast memory
Fastcard: mapped @$200000: 8MB fast memory
Card 1 (ZorroII) done.
MAP_BANK 00E90000 1 Filesystem Autoconfig Area
Filesystem: mapped memory @$e90000.
Card 2 (ZorroII) done.
MAP_BANK 00E80000 1 (null)
Memory map after autoconfig:
00000000 2048K/1 = 2048K Chip memory
00200000 8192K/1 = 8192K Fast memory
00A00000 2048K/0 = 2048K CIA
00C00000 1536K/0 = 1536K Custom chipset
00D80000 256K/0 = 256K <none>
00DC0000 64K/0 = 64K Battery backed up clock (RF5C01A)
00DD0000 64K/0 = 64K <none>
00DE0000 128K/0 = 128K Custom chipset
00E00000 512K/1 = 512K Kickstart ROM (FC24AE0D)
=KS ROM v3.1 (A500,A600,A2000) rev 40.63 (512k)
00E80000 64K/0 = 64K <none>
00E90000 64K/0 = 64K Filesystem Autoconfig Area
00EA0000 384K/0 = 384K <none>
00F00000 64K/1 = 64K UAE Boot ROM
00F10000 448K/0 = 448K <none>
00F80000 512K/1 = 512K Kickstart ROM (FC24AE0D)
=KS ROM v3.1 (A500,A600,A2000) rev 40.63 (512k)
* configuration check trigger
CPU cycleunit: 256 (0,500)
* configuration check trigger
...
* configuration check trigger
CPU cycleunit: 256 (0,500)
Erreur de segmentation
foul@Foulnux:/usr/local/bin$
Foul's Segmentation Error Specialist ^^
GnoStiC
08 April 2010, 08:34
@foul: i need to see "bt" from gdb :}
and why didn't you mention that you don't have sound?
ALSA lib pcm_dmix.c:975:(snd_pcm_dmix_open) unable to create IPC semaphore
SDL: Couldn't open audio: Fragment size must be a power of two
Sound driver unavailable: Sound output disabled
________
BMW R68 (http://www.cyclechaos.com/wiki/BMW_R68)
gilgamesh
08 April 2010, 09:09
problems resolved, I could do my favourite test: Turrican2 ;)
xaind
08 April 2010, 09:42
@xaind: this should fix some of your problems as well.
and i need you to post/mail me the sigcontext.h from your apple
Ok, that's fixed the issue with the zfile symbol. I still get this problem though.
Undefined symbols:
"regflags", referenced from:
_op_0000_0_ff in libcpuemu.a(cpuemu_0.o)
_op_0000_0_ff in libcpuemu.a(cpuemu_0.o)
... skipping a few hundred of these ...
_op_e7f9_12_ff in libcpuemu.a(cpuemu_12.o)
_op_e7f9_12_ff in libcpuemu.a(cpuemu_12.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
I can't figure out why the linker can't see the regflags defined in newcpu.o.
Regarding sigcontext: There is no sigcontext.h in my headers. There is a sigcontext structure defined in the one of the PPC headers, which won't help here, but there's nothing in the i386 headers.
It looks like Apple expects you to either
a) Have a signal handler that only takes one integer argument
OR
b) Use the sigaction() system call to set up the signal handler with the SA_SIGINFO flag. The handler function can then be defined to take the integer, a pointer to a siginfo structure, and a pointer to a ucontext structure. The ucontext structure contains an mcontext structure, which has a member structure containing all the members required (eax, eip etc.) except cr2.
That's about as much as I've been able to figure out so far. More info here (http://developer.apple.com/Mac/library/documentation/Darwin/Reference/ManPages/man2/sigaction.2.html#//apple_ref/doc/man/2/sigaction) and here (http://developer.apple.com/Mac/library/documentation/Darwin/Reference/ManPages/man3/ucontext.3.html).
Hungry Horace
08 April 2010, 09:54
my problem has changed from 'mouse' to 'joystick' in this version
gcc -DHAVE_CONFIG_H -I. -I../../src -DCPUEMU_0 -DCPUEMU_11 -DCPUEMU_12 -DCPUEMU_20 -DCPUEMU_31 -DMMU -DFPUEMU -DUNALIGNED_PROFITABLE -DJIT -DAGA -DAUTOCONFIG -DFILESYS -DBSDSOCKET -DSUPPORT_THREADS -DFDI2RAW -DDEBUGGER -DSAVESTATE -DENFORCER -DACTION_REPLAY -DXARCADE -DDRIVESOUND -DSHM_SUPPORT_LINKS=1 -I../../src/include -I../../src -I../../src -fomit-frame-pointer -ffast-math -Wall -Wno-unused -Wno-format -W -Wmissing-prototypes -Wstrict-prototypes -fno-strength-reduce -DREGPARAM="__attribute__((regparm(3)))" -m32 -MT joystick.o -MD -MP -MF .deps/joystick.Tpo -c -o joystick.o joystick.c
joystick.c:68: warning: initialization from incompatible pointer type
joystick.c:69: warning: initialization from incompatible pointer type
joystick.c:71: warning: initialization from incompatible pointer type
joystick.c:72: warning: initialization from incompatible pointer type
joystick.c:73: warning: initialization from incompatible pointer type
joystick.c:74: warning: initialization from incompatible pointer type
joystick.c:76: warning: initialization from incompatible pointer type
joystick.c:76: warning: missing initializer
joystick.c:76: warning: (near initialization for ‘inputdevicefunc_joystick.get_widget_first’)
joystick.c:82: error: conflicting types for ‘input_get_default_joystick’
../../src/include/inputdevice.h:73: error: previous declaration of ‘input_get_default_joystick’ was here
make[3]: *** [joystick.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
sorry for the short report, i need to get to work!
GnoStiC
08 April 2010, 09:57
@xaind:
i'll code something "blindly" hoping that it'll work and upload asap.. :}
________
herbal vaporizers (http://vaporizer.org/)
@foul: i need to see "bt" from gdb :}
and why didn't you mention that you don't have sound?
just because i can't reach the workbench to launch some progs .. and with a floppy game, i got sounds :)
i'm @ work ... will post the "bt" report asap..
and just a word to say thank you for all your work ;)
GnoStiC
08 April 2010, 10:23
more fixes;
http://www.gamzeguckiran.com/puaex_2010_04_08-2.tar.gz
@xaind: i hope this works for you :}
________
vaporizer pipe (http://vaporizers.net/vapor-genie)
Toni Wilen
08 April 2010, 10:26
Looks like (function names in compilation errors look very familiar..) this is quick'n'dirty partial winuae merge :)
Nothing bad in that, at least there is finally some real progress, unfortunately I don't think I can't really help with these kind of issues.
GnoStiC
08 April 2010, 10:35
puae (e-uae) has different deps for different machines/oses.. sometimes i choose to, sometimes i forget to code/patch every dependencies..
besides i only have ubuntu x86 here so i can't test for apple, ppc etc :}
and what i'm trying to do is to have a winuae clone so that when you release a newer version, it'll be easy for me to patch puae :}
cheers,
Looks like (function names in compilation errors look very familiar..) this is quick'n'dirty partial winuae merge :)
Nothing bad in that, at least there is finally some real progress, unfortunately I don't think I can't really help with these kind of issues.
________
cheap easy vape vaporizer (http://vaporizer.org/reviews/easy-vape)
xaind
08 April 2010, 10:41
@GnoStiC: I have attached modified versions of compemu_support.c and compemu_raw_x86.c. I think this correctly implements the sigaction way of handling the signal. It compiles, at least. :)
(These are modified from the 2010_04_08 versions of these files, *not* the 2010_04_08-2 versions.)
Now all that remains is the undefined symbol "regflags" problem.
xaind
08 April 2010, 10:49
P.S. to my above post: In the code I posted the line
uae_u32 addr = uap->uc_mcontext->es.faultvaddr;
is a complete guess. The "es" member of us_mcontext is the "exception state". It contains members trapno, err and faultvaddr. This was the only field I could see that looked like it might be the right substitute for cr2.
Does it sound right, at least?
GnoStiC
08 April 2010, 10:56
@xaind:
why use es while we have cr2 in ucontext?
can you please try my version, too?
@all:
it's 11:53am here, it'll be a busy afternoon so i won't be around until tomorrow. we'll continue fixing then :}
________
cheap volcano vaporizer (http://vaporizers.net/volcano-vaporizer)
@foul: i need to see "bt" from gdb :}
and why didn't you mention that you don't have sound?
* configuration check trigger
CPU cycleunit: 256 (0,500)
Program received signal SIGSEGV, Segmentation fault.
get_fileinfo (unit=<value optimized out>, packet=0x7fffe9328400 "", info=2106000, aino=0x2fc9cd0) at filesys.c:2834
2834 put_byte (info + i, *x), i++, x++;
(gdb) bt
#0 get_fileinfo (unit=<value optimized out>, packet=0x7fffe9328400 "", info=2106000, aino=0x2fc9cd0) at filesys.c:2834
#1 0x000000000081b5ca in action_examine_object (unit=0x2fc7220, packet=0x7fffe9328400 "") at filesys.c:3281
#2 0x000000000081d951 in handle_packet (unit=0x2fc7220, pck=0x7fffe9328400 "") at filesys.c:4868
#3 0x000000000081e339 in filesys_handler (context=<value optimized out>) at filesys.c:5013
#4 0x0000000000446b42 in m68k_handle_trap (trap_num=<value optimized out>) at traps.c:162
#5 0x0000000000416849 in op_illg (opcode=40978) at newcpu.c:2243
#6 0x00000000004169b9 in op_illg_1 (opcode=2106009) at newcpu.c:187
#7 0x000000000041430d in m68k_run_2 () at newcpu.c:3091
#8 0x00000000004160b3 in m68k_go (may_quit=<value optimized out>) at newcpu.c:3231
---Type <return> to continue, or q <return> to quit---
#9 0x000000000040991c in real_main2 (argc=1, argv=0x7fffffffe308) at main.c:928
#10 real_main (argc=1, argv=0x7fffffffe308) at main.c:956
#11 0x0000000000409fe4 in main (argc=1, argv=0x7fffffffe308) at main.c:969
(gdb) q
A debugging session is active.
Inferior 1 [process 5384] will be killed.
Quit anyway? (y or n)
xaind
08 April 2010, 14:03
@xaind:
why use es while we have cr2 in ucontext?
can you please try my version, too?
There's no cr2 member in the ucontext structure nor the mcontext structure in Apple's headers.
They also don't define a "gregs" member, nor the REG_XXX constants, so your version doesn't compile.
The headers are seriously convoluted, but here are the definitions of the structures:
In sys/_structs.h
#define _STRUCT_UCONTEXT struct ucontext
...
_STRUCT_UCONTEXT
{
int uc_onstack;
__darwin_sigset_t uc_sigmask; /* signal mask used by this context */
_STRUCT_SIGALTSTACK uc_stack; /* stack used by this context */
_STRUCT_UCONTEXT *uc_link; /* pointer to resuming context */
__darwin_size_t uc_mcsize; /* size of the machine context passed in */
_STRUCT_MCONTEXT *uc_mcontext; /* pointer to machine specific context */
};
In i386/_structs.h:
#define _STRUCT_MCONTEXT32 struct mcontext32
_STRUCT_MCONTEXT32
{
_STRUCT_X86_EXCEPTION_STATE32 es;
_STRUCT_X86_THREAD_STATE32 ss;
_STRUCT_X86_FLOAT_STATE32 fs;
};
In mach/i386/_structs.h:
#define _STRUCT_X86_THREAD_STATE32 struct i386_thread_state
_STRUCT_X86_THREAD_STATE32
{
unsigned int eax;
unsigned int ebx;
unsigned int ecx;
unsigned int edx;
unsigned int edi;
unsigned int esi;
unsigned int ebp;
unsigned int esp;
unsigned int ss;
unsigned int eflags;
unsigned int eip;
unsigned int cs;
unsigned int ds;
unsigned int es;
unsigned int fs;
unsigned int gs;
};
...
#define _STRUCT_X86_EXCEPTION_STATE32 struct i386_exception_state
_STRUCT_X86_EXCEPTION_STATE32
{
unsigned int trapno;
unsigned int err;
unsigned int faultvaddr;
};
GnoStiC
09 April 2010, 07:39
@xaind:
i've learnt a lot from these three:
1) http://rsync.slackware.pl/splack/splack-10.2/source/d/clisp/libsigsegv-2.1/configure.in
2) http://www.filewatcher.com/p/SheepShaver-debuginfo-2.3-0.3.20060514.fc7.rf.i386.rpm.1584137/usr/src/debug/SheepShaver-2.3/src/Unix/sigsegv.cpp.html
3) http://git.savannah.gnu.org/gitweb/?p=libsigsegv.git;a=tree;f=src;h=3fb0845a12fa4370edd34eb76e238e7509049316;hb=HEAD
also let's try asm/sigcontext
#ifdef NATMEM_OFFSET
#ifdef _WIN32 // %%% BRIAN KING WAS HERE %%%
#include <winbase.h>
#else
#include <asm/sigcontext.h>
#endif
#include <signal.h>
i still can't understand why cr2 (it's a register for god's sake) is missing in macos headers.
________
K1200R (http://www.cyclechaos.com/wiki/BMW_K1200R)
xaind
09 April 2010, 09:36
There's no asm/sigcontext.h header.
I had a look at those examples you linked, but they all appear to be old, dating from 2005 or earlier. It looks like Apple used to have a sigcontext, but there is no longer any sigcontext anywhere in the current headers (except for PPC, which doesn't help).
I checked the SDK for the previous version of Mac OS X (i.e. 10.5) and there isn't anything there either.
In the SDK for 10.4 there is a struct sigcontext defined in i386/signal.h, but even this is wrapped inside
#ifdef __APPLE_API_OBSOLETE
.. and it doesn't have a cr2 member.
GnoStiC
09 April 2010, 10:43
@xaind:
http://lists.apple.com/archives/Darwin-dev/2009/Jan/msg00117.html
There are actually a bunch of different ucontext formats. The ucontext format will generally be changed (or it's ID changed) when we release a new set of tools or a new version of the OS, or a new platform (which happens to require it). How to decode it is based on its ID, and that's subject to change.
For example, the uc_mcontext field is a structure pointer or literal inlined data, depending. The context can be 32 bit, 64 bit, or both (which was needed to support 64 bit leaf functions on PPC64 code called from PPC32 code).
There's really a lot of tricky, ugly stuff that happens in there, and you can't depend on it (you can only depend on us to update the tools we ship at the same time we ship the OS, if we've updated the OS between one release and the next).
-- Terry
________
Harley-Davidson Peashooter (http://www.cyclechaos.com/wiki/Harley-Davidson_Peashooter)
xaind
09 April 2010, 10:44
Regarding the problem I was having with "regflags":
Undefined symbols:
"regflags", referenced from:
_op_0000_0_ff in libcpuemu.a(cpuemu_0.o)
_op_0000_0_ff in libcpuemu.a(cpuemu_0.o)
... skipping a few hundred of these ...
_op_e7f9_12_ff in libcpuemu.a(cpuemu_12.o)
_op_e7f9_12_ff in libcpuemu.a(cpuemu_12.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
I tried editing the file src/md-i386-gcc/m68kops.h and changed all the references to regflags inside asm instructions to references to _regflags.
For example this was in the original:
"movb %%al,regflags\n\t"
and I changed it to this:
"movb %%al,_regflags\n\t"
I didn't change the references to regflags that were in C code, though.
After doing that, I no longer get the undefined symbols error.
GnoStiC
09 April 2010, 11:38
sorry, i forgot about that. just add;
struct flag_struct regflags;
after the includes to /src/md-i386-gcc/support.c
Regarding the problem I was having with "regflags":
________
XT250 (http://www.cyclechaos.com/wiki/Yamaha_XT250)
xaind
09 April 2010, 14:09
@xaind:
http://lists.apple.com/archives/Darwin-dev/2009/Jan/msg00117.html
It sounds like we can't rely on getting any context information from Mac OS X in the signal handler. Can we work around this in any way?
sorry, i forgot about that. just add;
struct flag_struct regflags;after the includes to /src/md-i386-gcc/support.cI still get the "undefined symbol" error when I do this.
I ran "nm" to list the symbol table for support.o after making this change, and the symbol shows up as "_regflags", just like it does in newcpu.o.
GnoStiC
12 April 2010, 10:06
here we go;
http://www.gamzeguckiran.com/puaex_2010_04_12.tar.gz
________
buying vaporizer (http://vaporizers.net/)
xaind
12 April 2010, 11:38
here we go;
http://www.gamzeguckiran.com/puaex_2010_04_12.tar.gz
I had to make a few small changes, but I have a working build!
I have attached a zip containing the 3 files I had to modify to get it to compile. The changes I had to make were the following:
1. In src/md-i386-gcc/m68kops.h -- Some of the references to the regflags struct don't need to have an underscore pre-pended.
2. In src/compemu_raw_x86.c -- The signature for the vec function needs to be slightly different and an sc variable needs to be created. See the attached version. I'm not sure whether it would be neater to merge the two "#ifdef __APPLE__" blocks into one.
3. The config file parser doesn't know the "sdl.use_gl" entry anymore. This needs to be switched on for the Mac. (It makes a *big* difference to performance.) I can't imagine anyone ever wanting this to be switched off on the Mac, so I added the following lines to the target_default_options function in src/od-macosx/main.m:
#ifdef USE_SDL
p->use_gl = 1;
#endif
I notice that using a config file via the command line with the "-f" option. For example:
uae -f myconfigfile.uaerc
is not working at the moment. Is that temporary, or will the way to specify config files on the command line be changing?
Always the same thing for me :
CPU cycleunit: 256 (0,500)
* configuration check trigger
CPU cycleunit: 256 (0,500)
* configuration check trigger
CPU cycleunit: 256 (0,500)
* configuration check trigger
CPU cycleunit: 256 (0,500)
* configuration check trigger
CPU cycleunit: 256 (0,500)
Program received signal SIGSEGV, Segmentation fault.
get_fileinfo (unit=<value optimized out>, packet=0x7fffe9123408 "", info=2106032, aino=0x2fd5820) at filesys.c:2834
warning: Source file is more recent than executable.
2834 ek->aino = aino;
(gdb) bt
#0 get_fileinfo (unit=<value optimized out>, packet=0x7fffe9123408 "", info=2106032, aino=0x2fd5820) at filesys.c:2834
#1 0x000000000081b5ca in action_examine_object (unit=0x2fd3110, packet=0x7fffe9123408 "") at filesys.c:3281
#2 0x000000000081d951 in handle_packet (unit=0x2fd3110, pck=0x7fffe9123408 "") at filesys.c:4868
#3 0x000000000081e339 in filesys_handler (context=<value optimized out>) at filesys.c:5013
#4 0x0000000000446b42 in m68k_handle_trap (trap_num=<value optimized out>) at traps.c:162
#5 0x0000000000416849 in op_illg (opcode=40978) at newcpu.c:2243
#6 0x00000000004169b9 in op_illg_1 (opcode=2106041) at newcpu.c:187
#7 0x0000000000414ff4 in m68k_run_2p () at newcpu.c:3064
#8 0x00000000004160b3 in m68k_go (may_quit=<value optimized out>) at newcpu.c:3231
#9 0x000000000040991c in real_main2 (argc=1, argv=0x7fffffffe308) at main.c:928
#10 real_main (argc=1, argv=0x7fffffffe308) at main.c:956
#11 0x0000000000409fe4 in main (argc=1, argv=0x7fffffffe308) at main.c:969
(gdb) q
A debugging session is active.
Inferior 1 [process 9215] will be killed.
Quit anyway? (y or n) y
foul@Foulnux:~$
GnoStiC
12 April 2010, 13:59
@Foul:
1) please try the latest version and make sure you're executing the right file.
...
warning: Source file is more recent than executable.
...
2) try without a hardfile
hardfile (dir/gayle/scsi) is something i should work on.
________
Honda CRF250R (http://www.cyclechaos.com/wiki/Honda_CRF250R)
GnoStiC
12 April 2010, 14:00
we're getting there :)
(includes xaind's fixes for macosx)
@xaind: try -f
http://www.gamzeguckiran.com/puaex_2010_04_12-3.tar.gz
________
Harley-Davidson Hummer (http://www.cyclechaos.com/wiki/Harley-Davidson_Hummer)
Hungry Horace
12 April 2010, 19:38
./configure
./configure --without-cocoa-gui
leads to:
make[3]: *** [cocoaui.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
./configure --without-cocoa-gui --disable-ui
leads to:
make[3]: *** [cpuemu_0.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
going from previous tips and using:
./configure --host=i586 --target=i586 --without-cocoa-gui --disable-ui
does the same
./configure --host=i586 --target=i586 CFLAGS="-m32" LDFLAGS="-m32" --without-cocoa-gui --disable-ui
(and i dont really understand these flags anyway tbh)
leads to:
make[3]: *** [libkeymap.a] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
/me looks to xaind and gnostic for more wisdom
last build working with floppy .. but not with my real workbench (hdf or drawer)... good work anyway :)
is there a way to add the "stop" feature, just to configure puae ?
GnoStiC
13 April 2010, 15:20
daily build :}
http://www.gamzeguckiran.com/puaex_2010_04_13.tar.gz
________
Harley-Davidson FXRS (http://www.cyclechaos.com/wiki/Harley-Davidson_FXRS)
Hungry Horace
14 April 2010, 01:38
same errors as above :/ (i still think i'm missing something)
GnoStiC
14 April 2010, 07:21
@Hungry Horace:
your error(s) does not tell anything (cropped too much) so i can't fix them.
a proper example:
...
joystick.c:82: error: conflicting types for ?input_get_default_joystick?
../../src/include/inputdevice.h:73: error: previous declaration of ?input_get_default_joystick? was here
...
________
Ford specs (http://www.ford-wiki.com/)
Hungry Horace
14 April 2010, 09:00
np. i will post a full report on my lunch break!
xaind
14 April 2010, 11:51
I have uploaded a Mac build of PUAE from the 2010_04_13 sources to the zone.
It includes some updates I have made to the Mac startup and UI code. It fixes a major (and silly) bug that prevented the menus from appearing in a certain condition. (Typical of my luck: When Cloanto included E-UAE on Amiga Forever, they triggered just this condition with their default setup, so the menu code was all there, but not used :banghead)
There are also a bunch of new menu items, which should make PUAE much nicer for Mac users.
I have lots more I want to add, obviously.
The modified versions of src/od-macosx/main.m and src/gui-cocoa/cocoaui.m can be found in the attached zip.
@Hungry Horace: You should be able to build using the attached versions of cocoaui.m and main.m, but I'm not sure what could be causing your build problems with compemu_0 and libkeymap. What version of Mac OS X and what version of the Developer Tools do you have?
Hungry Horace
14 April 2010, 13:48
thanks xaind - i am keen to resolve whatever problems are there so I can build gnostic's sources without relying on others :)
i am running Snow Leopard and have only installed the Xcode package that came on the OS disk (i did run accept an update on it a week or so ago however)
what ./configure options did you use?
i had a go using a plain "./configure" and xaind's updated files
the following is the output of another failed compile.
http://pspuae.condor.serverpro3.com/HostedProjects/UltimateAmigaEmulation/PUAE/puae-compiling.txt
i get the same (i think) with --without-cocoa-gui --disable-ui
i then tried:
./configure --host=i586 --target=i586 CFLAGS="-m32" LDFLAGS="-m32" --without-cocoa-gui --disable-ui
and got the second file.
http://pspuae.condor.serverpro3.com/HostedProjects/UltimateAmigaEmulation/PUAE/puae-compiling2-extras.txt
GnoStiC
14 April 2010, 15:39
http://www.gamzeguckiran.com/puaex_2010_04_14.tar.gz
this should fix;
Foul's hdd, Hungry Horace's use_gl problems and more..
also includes xaind's macosx updates..
________
portable vaporizer (http://vaporizers.net/iolite-vaporizer)
much much better !! booting on my real Harddisk and just crashing when workbench loading..
Hungry Horace
14 April 2010, 22:42
./configure
http://pspuae.condor.serverpro3.com/HostedProjects/UltimateAmigaEmulation/PUAE/puaex_2010_04_14-compile_error_01.txt
./configure --host=i586 --target=i586 CFLAGS="-m32" LDFLAGS="-m32" --without-cocoa-gui --disable-ui
http://pspuae.condor.serverpro3.com/HostedProjects/UltimateAmigaEmulation/PUAE/puaex_2010_04_14-compile_error_02.txt
again, i really dont know what these last flags do, but they were mentioned above, so i am trying them out. I am trusting that someone will let me know if that isnt helpful at all!
@ xaind - just ran the latest OSX update, so i am now on 10.6.3
I am also apparently using Xcode 3.2.1 (1613)
xaind
15 April 2010, 04:42
Mac build from the 2010_04_14 sources is up in the zone.
@Hungry Horace: I'm using the configure flags in the bp2010_.sh file. You shouldn't need to use "--without-cocoa-gui" or "--disable-ui". It looks like the build hasn't picked up your CFLAGS etc. Try setting them in the environment before running configure instead.
Hungry Horace
15 April 2010, 08:56
is it possible i have something missing from xcode? I have just tried the build out, and i'm buggered if i can get it to show any kind of GUI (i was surprised to be asked for a config file tbh)
@xaind - i'd gladly set up th CFLAGS in the environment, if i knew how (i am just tapping into terminal atm) - i'm sorry to say this is the first project that has ever been worthy of me attempting to compile code on OSX, so I honestly havent a clue what i'm doing with such things.
Brief test on the PUAE pre-compile:
i tried my normal HDF booting setup. It worked, but the result was some strange colours! (its meant to be a standard ClassicWB/MagicWB with 16 colours)
http://pspuae.condor.serverpro3.com/HostedProjects/UltimateAmigaEmulation/PUAE/HDboot.png
it also wouldnt show any files in the "folder mounted as HD"
no time for me to test any control options i'm afraid - ps3 pad battery has died!
xaind
15 April 2010, 10:44
is it possible i have something missing from xcode? I have just tried the build out, and i'm buggered if i can get it to show any kind of GUI (i was surprised to be asked for a config file tbh)
There's no GUI for Mac OS X at the moment. The only thing the GUI code does it set up the menus so you can use them to do things like insert/eject floppies etc.
You will have to provide your own config file. You can launch PUAE either by double-clicking a config file in the Finder, or by double-clicking the PUAE app and then selecting the config file in the requester that appears.
Obviously I hope to create a full GUI over time. In the mean time check out Hi-Toro (http://www.pimley.net/projects/) which is a tool for creating config files for PUAE's predecessor, E-UAE. Not sure how compatible it will be with PUAE.
Edit: snip gratuitous error - see GnoStiC's post below.
GnoStiC
15 April 2010, 12:13
i watch demos (68000+OCS/ECS and 020/040+AGA) and use hdf files without any problem :D
PUAE is still a fair way away from being ready to run more complicated setups. It should be fine for running OCS games and demos from floppy images though.
________
volcano vaporizer reviews (http://vaporizer.org/reviews/volcano)
xaind
15 April 2010, 12:34
i watch demos (68000+OCS/ECS and 020/040+AGA) and use hdf files without any problem :D
Oops. My bad - I must have misunderstood something. In that case I'm seeing the same problem that Foul reported in his last post (crash when booting into Workbench from HDF). I haven't really tried anything to figure it out yet though, since I wasn't expecting it to be working yet.
I'll try it again tomorrow and post the log.
GnoStiC
15 April 2010, 12:43
@xaind: Foul is using a SD card with an adapter on his real amiga and uses this same SD card on an usb stick on PC.. i have some "guessed" fixes for this already.
and Horace also uses a hdf file without any problems (other than colors being weird)
________
Harley-Davidson FXB (http://www.cyclechaos.com/wiki/Harley-Davidson_FXB)
Hungry Horace
15 April 2010, 14:39
There's no GUI for Mac OS X at the moment. The only thing the GUI code does it set up the menus so you can use them to do things like insert/eject floppies etc.
my bad, I was assuming the difference with the cocoa GUI stuff was to build the same GUI that linux uses, but in an OSX "friendly" way.
I'll stick to using hi-toro as i have been before, although there are some input-control issues I'll report on in time, once i've had the chance to test them with a few of my old configs (some are related to Hi-toro)
Obviously I hope to create a full GUI over time.
I think, every Mac E/P-UAE user would be very grateful for something built into the emulator itself. :)
would the hi-toro source help?
http://www.pimley.net/projects/downloads/Hi-Toro_Source.zip
Hungry Horace
15 April 2010, 15:26
@ xaind - any reason for the lack of IPF support at the mo?
xaind
16 April 2010, 03:38
would the hi-toro source help?
http://www.pimley.net/projects/downl...oro_Source.zip
I'll certainly be looking to Hi-Toro for design ideas, but it was written in applescript so I can't use code from it directly in PUAE.
@ xaind - any reason for the lack of IPF support at the mo?
Not particularly. I was avoiding using it because I thought I was dealing with an early source tree and didn't want to introduce complicating factors. Now that I know otherwise I will include it in builds.
Users will need to download the CAPSImage framework from the SPS (http://www.softpres.org/download).
@GnoStiC: A couple of minor problems crop up building in CAPS support:
In the function caps_loadimage(..) in caps.c there is the line:
buf = xmalloc (len);
I think it should be:
buf = xmalloc (uae_u8, len);
Also, in zfile.c:
#include "caps/caps_win32.h"
For Mac, and presumably linux, this needs to be
#include "caps/capsimage.h"
GnoStiC
16 April 2010, 08:22
In the function caps_loadimage(..) in caps.c there is the line:
buf = xmalloc (len);I think it should be:
buf = xmalloc (uae_u8, len);
yep, that's right.
Also, in zfile.c:
#include "caps/caps_win32.h"For Mac, and presumably linux, this needs to be
#include "caps/capsimage.h"
yep :}
________
vapor genie (http://vaporizers.net/vapor-genie)
gilgamesh
16 April 2010, 22:39
The last versions worked well for me. How is the status of HD emulation btw?
xaind
19 April 2010, 07:23
OK, I did some testing with mounting harddrives using the 2010_04_14 build. My results are below.
For each of these tests my configuration file looked like this:
cpu_type=68020
chipset=aga
collision_level=playfields
chipmem_size=4
bogomem_size=0
fastmem_size=4
kickstart_rom_file=kick31.rom
hardfile2=rw,DH0:System.hdf,32,1,2,512,-10,
I also had the following two lines (and only these two) in 'default.uaerc':
sdl.use_gl=true
floppy0sound=-1
Test 1: I started with the System.hdf file from ClassicWB Lite (http://classicwb.abime.net/classicweb/lite.htm). Using E-UAE, I ran through the installation process that must be done the first time you boot with this HDF. Everything seemed to work fine. I then rebooted.
The first attached screenshot shows what it looks like to boot from the HDF in E-UAE. The second attached screenshot shows what it looks like to boot from it in PUAE.
The attached file "Test1Output.txt" contains the log from PUAE.
Test 2: I added the following line to the configuration file:
filesystem2=rw,DH1:Stuff:/Users/myname/Other/Amiga/Harddrives/Stuff,-10
This should mount the named directory as a second hard drive.
PUAE crashes with this extra line. The log is in the attached file "Test2Output.txt".
Test 3: I removed the "filesystem2=..." line from the configuration file and deleted the System.hdf file I created earlier. I started with a fresh copy of the ClassicWB Lite System.hdf and attempted to run through the installation process using PUAE.
The installation process could not be completed. The third and fourth attached screenshots show the error messages that appeared and "Test3Output.txt" contains the log. (I was using the same "Extras" disk image that I used when running the installation with E-UAE.)
Hope this is helpful. Let me know if there's any specific tests I could run that would be useful.
xaind
19 April 2010, 09:35
Did a little further investigating of the crash I reported in my last post (in Test 2)
It's crashing in the fs_open function in filesys.c, on this line:
fsf->of = my_open (name, flags);
"my_open" is #defined to "fopen", which takes two string arguments, but the second argument here (flags) is an integer.
GnoStiC
19 April 2010, 15:38
daily build;
http://www.gamzeguckiran.com/puaex_2010_04_19.tar.gz
RLS NOTES:
* this should fix hdd issues, i installed wb 3.11 with classwb.
but i don't have any "color" problems under ubuntu so i wonder if it's macosx related.. we'll see..
________
iolite portable vaporizer (http://vaporizers.net/iolite-vaporizer)
GnoStiC
19 April 2010, 15:39
bronx_.sh script inside the package enables amax, cd32, scsi, a2091 etc emulation so you may want to edit it to match your needs..
________
easy vape reviews (http://vaporizer.org/reviews/easy-vape)
Exactly same wrong colors like this screen :
http://eab.abime.net/attachment.php?attachmentid=25016&d=1271653817
Toni Wilen
19 April 2010, 16:30
Exactly same wrong colors like this screen :
http://eab.abime.net/attachment.php?attachmentid=25016&d=1271653817
Could be something to do with OS detecting AGA but only OCS/ECS color registers emulated or vice versa. Do you get correct colors if you use ECS configuration?
with ECS :
http://foulcap.free.fr/uae3.png
GnoStiC
19 April 2010, 16:50
i'll check this tomorrow. (hint: sdlgfx.c __apple__)
it's definitely macosx related as all 3 macosx users (horace, xaind and foul) see weird colors but not me (ubuntu).
btw @xaind:
Opening cfgfile '/Users/myname/default.uaerc': failed
failed to load config '/Users/myname/default.uaerc'
________
BMW R65 (http://www.cyclechaos.com/wiki/BMW_R65)
and always wrong hd's name :
http://foulcap.free.fr/uae4.png
xaind
20 April 2010, 05:17
btw @xaind:
Opening cfgfile '/Users/myname/default.uaerc': failed
failed to load config '/Users/myname/default.uaerc'
I don't keep my default.uaerc in my home directory, so I always get the above message, but afterwards PUAE finds the default.uaerc in the working directory. I'm hearing drive sounds, so it's definitely working.
Could be something to do with OS detecting AGA but only OCS/ECS color registers emulated or vice versa. Do you get correct colors if you use ECS configuration?
Yes... kind-of...
I tried setting my config to ECS and I get appropriate colours for the workbench, but then when it tries to launch the copper program it crashes. The same crash happens in E-UAE though, so I don't think the crash is a problem.
I've attached some screenshots to show what I mean. The first attached screenshot shows what it looks like in PUAE (2010_04_19) with AGA chipset, but before the copper program loads. The second attached screenshot shows what it looks like in both PUAE and E-UAE if I set the chipset to ECS and wait until it loads the copper program.
and always wrong hd's name :
I'm seeing garbled drive names too. Both the HDF and the filesystem drives have garbled drive names for me. Log attached.
I'm not sure if this is related, but in the 2010_04_19 I sometimes get a whole bunch of errors that look like this:
newuae(9571,0xa082b4e0) malloc: *** error for object 0x5e15a14: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
It's very inconsistent. I was getting them for a while and then they went away and I couldn't get them anymore. I managed to get a backtrace on a few of them in GDB. The occurrences were in:
cfgfile_parse_hardware (p=0xb97620, option=0xbfffc1d0 "hardfile2", value=0xbfffb7d3 "DH0") at cfgfile.c:2011
cfgfile_load_2 (p=0xb97620, filename=0xbfffe048 "CWBTest.uaerc", real=1, type=0xbfffe648) at cfgfile.c:2294
setup_sound () at sound.c:102
GnoStiC
21 April 2010, 07:52
daily build;
http://www.gamzeguckiran.com/puaex_2010_04_21.tar.gz
* this should fix color issues..
________
NX125 (http://www.cyclechaos.com/wiki/Honda_NX125)
xaind
21 April 2010, 09:23
daily build;
http://www.gamzeguckiran.com/puaex_2010_04_21.tar.gz
* this should fix color issues..
No improvement for me, unfortunately :sad. Still the same funky colours as in the previously posted screenshots.
Log attached (for a run with chipset=AGA).
GnoStiC
21 April 2010, 11:10
@xaind:
did you make clean and do bootstrap.sh?
No improvement for me, unfortunately :sad. Still the same funky colours as in the previously posted screenshots.
Log attached (for a run with chipset=AGA).
________
Honda CBX (http://www.cyclechaos.com/wiki/Honda_CBX)
xaind
21 April 2010, 11:24
did you make clean and do bootstrap.sh?
Better. I did a
rm -rf puaex
tar xfz puaex_2010_04_21.tar.gz
cd puaex
./bootstrap.sh
./configure ...
GnoStiC
21 April 2010, 12:41
ok, this should do;
http://www.gamzeguckiran.com/puaex_2010_04_21-2.tar.gz
________
cheap vaporizers (http://vaporizers.net/vaporizers)
AMIGrAve
21 April 2010, 12:51
@GnoStiC
Do you have an idea why joystick wouldn't work ?
./configure --with-sdl --with-alsa --with-sdl-gl --with-sdl-gfx
Linux agr 2.6.28-18-generic #60-Ubuntu SMP Fri Mar 12 04:40:52 UTC 2010 i686 GNU/Linux
GnoStiC
21 April 2010, 12:59
@AMIGrAve:
i asked a friend for a usb joypad and he'll send me one..
i'll be testing it this weekend :)
@GnoStiC
Do you have an idea why joystick wouldn't work ?
./configure --with-sdl --with-alsa --with-sdl-gl --with-sdl-gfx
Linux agr 2.6.28-18-generic #60-Ubuntu SMP Fri Mar 12 04:40:52 UTC 2010 i686 GNU/Linux
________
iolite portable vaporizer (http://vaporizers.net/iolite-vaporizer)
colors are good for me with last build ... but it's slowwwwww under sysinfo .. 1.08x A1200 :\
With WinUAE under windows 900x A1200 ...
Hungry Horace
21 April 2010, 13:27
i tried many different options, and some tips from xaind, and i still got this on OSX.
In file included from compemu_support.c:608:
compemu_raw_x86.c: In function ‘vec’:
compemu_raw_x86.c:2000: error: variable ‘sc’ has initializer but incomplete type
compemu_raw_x86.c:2000: error: ‘struct __darwin_mcontext32’ has no member named ‘ss’
compemu_raw_x86.c:2000: error: storage size of ‘sc’ isn’t known
compemu_raw_x86.c:2131: warning: cast from pointer to integer of different size
compemu_raw_x86.c:2163: warning: cast from pointer to integer of different size
compemu_support.c: At top level:
compemu_support.c:2452: warning: no previous prototype for ‘setzflg_l’
compemu_support.c: In function ‘alloc_cache’:
compemu_support.c:5398: warning: assignment from incompatible pointer type
compemu_support.c: In function ‘build_comp’:
compemu_support.c:5735: warning: passing argument 2 of ‘signal’ from incompatible pointer type
make[3]: *** [compemu_support.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
:(
GnoStiC
21 April 2010, 14:09
your cpu speed (m68k_speed) is probably set to "real", change it to "max"
colors are good for me with last build ... but it's slowwwwww under sysinfo .. 1.08x A1200 :\
With WinUAE under windows 900x A1200 ...
________
iolite vaporizer (http://vaporizers.net/iolite-vaporizer)
your cpu speed (m68k_speed) is probably set to "real", change it to "max"
you have my uaerc .. and it's set to "max" :\
kas1e
26 April 2010, 10:30
@GnoStiC
Check PM plz
xaind
27 April 2010, 08:32
ok, this should do;
http://www.gamzeguckiran.com/puaex_2010_04_21-2.tar.gz
Colour issues fixed!
Hungry Horace's compile problem had to do with the signal handling code again. Under certain conditions the Mac headers will define the context structure to have a double-underscore in front of the name of every member (__eax instead of just eax, for example.) I have attached an updated version of compemu_raw_x86.c that fixes this.
P.S. I noticed something interesting. When I compile with -O2 in my CFLAGS, the problem with the corrupted drive name for my HDF goes away. If I compile without -O2 it is still there though.
I still get a crash when I try to add in the second filesystem mount though.
GnoStiC
27 April 2010, 14:11
Colour issues fixed!
:D
Hungry Horace's compile problem had to do with the signal handling code again. Under certain conditions the Mac headers will define the context structure to have a double-underscore in front of the name of every member (__eax instead of just eax, for example.) I have attached an updated version of compemu_raw_x86.c that fixes this.
i did something similar for horace but he didn't reply back if it did worked or not so i wasn't sure. we'll use your version. thanks.
P.S. I noticed something interesting. When I compile with -O2 in my CFLAGS, the problem with the corrupted drive name for my HDF goes away. If I compile without -O2 it is still there though.
weird.
I still get a crash when I try to add in the second filesystem mount though.just let me know how to duplicate your crash :}
________
volcano vaporizers (http://vaporizers.net/volcano-vaporizer)
Hungry Horace
27 April 2010, 19:40
no i didnt have any luck, sorry for not replying, i've been busy coding and didnt really get a chance to experiment with re-attempts :) (plus i felt guilty passing it on to you guys!)
i will give the new fix a try however
GnoStiC
30 April 2010, 13:58
Nightly Build (2.1.0):
http://www.gamzeguckiran.com/puaex_2010_04_30.tar.gz
________
buy vapir vaporizer (http://vaporizers.net/vapir-air-one)
Hi,
I have tried the last version and i get the yellow screen in ECS (AGA looks good). I'm using Debian 64.
$ uname -a
Linux kahlan 2.6.32-3-amd64 #1 SMP Wed Feb 24 18:07:42 UTC 2010 x86_64 GNU/Linux
My configure options are:
$ ./configure --with-sdl --with-sdl-gl --with-sdl-gfx --with-sdl-sound --with-caps --with-gayle
Here is my uaerc, the log and snapshot:
25176
25177
25178
(http://webs.ono.com/maurice/log.txt)
ajacocks
02 May 2010, 00:41
I'm attempting to build the current build, on OS X 10.6, using SDL and GTK+ from MacPorts.
My configure string is:
./configure --prefix=/opt/local --with-sdl --with-sdl-sound --with-sdl-gl --with-sdl-gfx
The configure goes fine, and so does the compile, until I get the error, in the attachment.
Any thoughts?
Thanks!
gilgamesh
02 May 2010, 00:57
You're compiling i386 code with an amd64 gcc. Try and add
--host=i586 --target=i586 CFLAGS="-m32" LDFLAGS="-m32"
to your configure.
ajacocks
02 May 2010, 05:38
Thanks for the advice...that took care of the issue.
I'm having some issues getting anything other than floppy disks to work, on OS X. I can add hardfiles, but they are ignored. What default.uaerc files are others using to test with?
Thanks!
GnoStiC
04 May 2010, 07:10
my .uaerc is just;
cpu_type=68020
chipset=aga
collision_level=playfields
chipmem_size=4
bogomem_size=0
fastmem_size=4
kickstart_rom_file=/home/gnostic/amiga/KickRoms/KICK-3.1(40.10).ROM
hardfile2=rw,DH0:/home/gnostic/amiga/System.hdf,32,1,2,512,-10,
sdl.use_gl=true
floppy0sound=-1
show_leds=true
where System.hdf is classic wblite..
Thanks for the advice...that took care of the issue.
I'm having some issues getting anything other than floppy disks to work, on OS X. I can add hardfiles, but they are ignored. What default.uaerc files are others using to test with?
Thanks!
________
Honda CT200 (http://www.cyclechaos.com/wiki/Honda_CT200)
ajacocks
04 May 2010, 07:31
OK, I tried running puaex with the same default.uaerc, and it launches the GUI OK, but crashes, when I try to power it on.
I dunno if OS X crashdumps are useful, but I attached the one that I got.
Thanks!
I'm looking forward to this :D
Good luck with the compiles chaps, keep up the good work so far.
sirgamble
09 June 2010, 10:37
I just grabbed the latest GIT and compiled it.
my steps were something like this:
1) ./bootstrap.sh
2) ./configure --prefix=/opt/local --with-sdl --with-sdl-sound --with-sdl-gl --with-sdl-gfx --host=i586 --target=i586 CFLAGS="-m32" LDFLAGS="-m32"
3) make
4) During the make process it kept giving me lGL issues, so I removed -lGL from the makefile and added -framework OpenGL in its place. This fixed the linking and got me a binary.
Only issue now is I get a green screen that keeps resetting and saying:
PAL mode V=50Hz H=15600Hz (227x312)
* configuration check trigger
memory init end
I'll have a fiddle and see if I can get it working. Any tips?
Edit: That or some JIT stuff...
JIT_APPLE: can't handle access!
JIT: instruction byte -1773771600 is 66
JIT: instruction byte -1773771600 is 0f
JIT: instruction byte -1773771600 is 74
JIT: instruction byte -1773771600 is 02
JIT: instruction byte -1773771600 is 83
JIT: instruction byte -1773771600 is e1
JIT: instruction byte -1773771600 is 0f
JIT: instruction byte -1773771600 is d3
JIT: instruction byte -1773771600 is e0
JIT: instruction byte -1773771600 is 66
I've had issues because I don't think the JIT's 64-bit? Snow Leopard defaults to 64-bit so I've been changing this in the compile options (-m32, i386, i586... etc.) Not too sure how to fix that one. I'm on a MacBook Pro (core 2 duo.)
sirgamble
14 June 2010, 03:19
No big changes, but -lgl and -lglu don't seem to work with OS X... best to change the makefile to replace them with -framework OpenGL in my opinion.
Hewitson
14 June 2010, 12:58
I've had issues because I don't think the JIT's 64-bit? Snow Leopard defaults to 64-bit so I've been changing this in the compile options (-m32, i386, i586... etc.) Not too sure how to fix that one. I'm on a MacBook Pro (core 2 duo.)
I believe there is an option to disable jit support in the configure script.
gilgamesh
14 June 2010, 13:21
see bronx_.sh and bronx_nojit.sh for example
sirgamble
29 June 2010, 00:12
Yep, based on that here's my "sydney.sh"
./bootstrap.sh
./configure --prefix=/opt/local --with-sdl --with-sdl-sound --with-sdl-gl --with-sdl-gfx --with-sdl-sound --enable-cd32 --enable-scsi-device --disable-jit --host=i586 --target=i586 CFLAGS="-m32" LDFLAGS="-m32"
make
This compiles, but I get a bus error when trying to run UAE... I'll fiddle further.
aperez
19 August 2010, 19:45
When compiling puaex_2010_04_30.tar.gz on Snow Leopard 10.6.4 with:
./configure --prefix=/opt/local --with-sdl --with-sdl-sound --with-sdl-gl --with-sdl-gfx --with-sdl-sound --enable-cd32 --enable-scsi-device --disable-jit --host=i586 --target=i586 CFLAGS="-m32" LDFLAGS="-m32"
compilation fails during cfgfile.c with the following error:
cfgfile.c: In function ‘default_prefs’:
cfgfile.c:3167: error: ‘DEFAULT_SOUND_MAXB’ undeclared (first use in this function)
cfgfile.c:3167: error: (Each undeclared identifier is reported only once
cfgfile.c:3167: error: for each function it appears in.)
cfgfile.c: In function ‘bip_a3000’:
cfgfile.c:3568: warning: implicit declaration of function ‘built_in_chipset_prefs’
cfgfile.c: At top level:
cfgfile.c:3932: warning: no previous prototype for ‘built_in_prefs’
cfgfile.c:3983: warning: no previous prototype for ‘built_in_chipset_prefs’
make[3]: *** [cfgfile.o] Error 1
GnoStiC
20 August 2010, 07:12
puaex_2010_04_30.tar.gz is quite old.
for puae 2.3.0 beta series; http://github.com/GnoStiC/PUAE
When compiling puaex_2010_04_30.tar.gz on Snow Leopard 10.6.4 with:
aperez
20 August 2010, 07:29
Thanks Gnostic!
I had actually run across the github site first, but then couldn't get it to compile so I googled puae OS X and found this thread on EAB.
GnoStiC
20 August 2010, 07:38
please report any problems you have compiling the git version so that i can fix them :)
Thanks Gnostic!
I had actually run across the github site first, but then couldn't get it to compile so I googled puae OS X and found this thread on EAB.
aperez
20 August 2010, 20:43
I am unable to compile the most current git branch, as of this writing. Compilation output is available at the following location
http://pastebin.org/626364
goldenegg
21 August 2010, 06:05
I would love to get PUAE running on my Macbook Pro, but compiling always fails for me.
sys-001:GnoStiC-PUAE-8f059ce user$ ./configure --prefix=/opt/local --with-sdl --with-sdl-sound --with-sdl-gl --with-sdl-gfx --with-sdl-sound --enable-cd32 --enable-scsi-device --disable-jit CFLAGS="-m32" LDFLAGS="-m32" > configure.txt
configure: WARNING: SCSI support is not enabled or cannot be built. Disabling CD32 emulation
sys-001:GnoStiC-PUAE-8f059ce user$ make > make.txt
genlinetoscr.c: In function ‘main’:
genlinetoscr.c:465: warning: comparison between signed and unsigned
gencpu.c: In function ‘gen_nextiword’:
gencpu.c:305: warning: too many arguments for format
gencpu.c: In function ‘gen_nextibyte’:
gencpu.c:345: warning: too many arguments for format
gencpu.c: In function ‘genamode_fixup’:
gencpu.c:859: warning: too many arguments for format
gencpu.c:855: warning: enumeration value ‘Dreg’ not handled in switch
gencpu.c:855: warning: enumeration value ‘Areg’ not handled in switch
gencpu.c:855: warning: enumeration value ‘Aind’ not handled in switch
gencpu.c:855: warning: enumeration value ‘Ad16’ not handled in switch
gencpu.c:855: warning: enumeration value ‘Ad8r’ not handled in switch
gencpu.c:855: warning: enumeration value ‘absw’ not handled in switch
gencpu.c:855: warning: enumeration value ‘absl’ not handled in switch
gencpu.c:855: warning: enumeration value ‘PC16’ not handled in switch
gencpu.c:855: warning: enumeration value ‘PC8r’ not handled in switch
gencpu.c:855: warning: enumeration value ‘imm’ not handled in switch
gencpu.c:855: warning: enumeration value ‘imm0’ not handled in switch
gencpu.c:855: warning: enumeration value ‘imm1’ not handled in switch
gencpu.c:855: warning: enumeration value ‘imm2’ not handled in switch
gencpu.c:855: warning: enumeration value ‘immi’ not handled in switch
gencpu.c:855: warning: enumeration value ‘am_unknown’ not handled in switch
gencpu.c:855: warning: enumeration value ‘am_illg’ not handled in switch
gencpu.c: In function ‘genflags_normal’:
gencpu.c:1272: warning: enumeration value ‘flag_z’ not handled in switch
gencpu.c: In function ‘gen_opcode’:
gencpu.c:2150: warning: format ‘%04X’ expects type ‘unsigned int’, but argument 2 has type ‘long unsigned int’
gencpu.c:2171: warning: format ‘%04X’ expects type ‘unsigned int’, but argument 2 has type ‘long unsigned int’
gencpu.c: In function ‘generate_one_opcode’:
gencpu.c:3643: warning: format ‘%04x’ expects type ‘unsigned int’, but argument 4 has type ‘long int’
gencpu.c:3643: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘long int’
gencpu.c:3746: warning: format ‘%04x’ expects type ‘unsigned int’, but argument 4 has type ‘long int’
gencpu.c:3746: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘long int’
readcpu.c: In function ‘build_insn’:
readcpu.c:735: warning: empty body in an if-statement
missing.c: In function ‘xmalloc’:
missing.c:33: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘size_t’
missing.c: In function ‘xcalloc’:
missing.c:43: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘size_t’
In file included from support.c:13:
../../src/include/options.h:485: warning: ‘struct zfile’ declared inside parameter list
../../src/include/options.h:485: warning: its scope is only this definition or declaration, which is probably not what you want
support.c:241: warning: no previous prototype for ‘machdep_save_options’
support.c: In function ‘machdep_save_options’:
support.c:242: warning: implicit declaration of function ‘cfgfile_write’
support.c: At top level:
support.c:246: warning: no previous prototype for ‘machdep_parse_option’
support.c: In function ‘machdep_parse_option’:
support.c:247: warning: passing argument 4 of ‘cfgfile_yesno’ from incompatible pointer type
support.c: At top level:
support.c:251: warning: no previous prototype for ‘machdep_default_options’
In file included from sdlgfx.c:59:
../../src/include/options.h:485: warning: ‘struct zfile’ declared inside parameter list
../../src/include/options.h:485: warning: its scope is only this definition or declaration, which is probably not what you want
sdlgfx.c: In function ‘graphics_subinit’:
sdlgfx.c:1204: warning: implicit declaration of function ‘inputdevice_release_all_keys’
sdlgfx.c: At top level:
sdlgfx.c:1582: warning: no previous prototype for ‘mousehack_allowed’
sdlgfx.c:2035: warning: initialization from incompatible pointer type
sdlgfx.c:2036: warning: initialization from incompatible pointer type
sdlgfx.c:2038: warning: initialization from incompatible pointer type
sdlgfx.c:2039: warning: initialization from incompatible pointer type
sdlgfx.c:2040: warning: initialization from incompatible pointer type
sdlgfx.c:2041: warning: initialization from incompatible pointer type
sdlgfx.c:2042: warning: initialization from incompatible pointer type
sdlgfx.c:2043: warning: initialization from incompatible pointer type
sdlgfx.c:2136: warning: initialization from incompatible pointer type
sdlgfx.c:2137: warning: initialization from incompatible pointer type
sdlgfx.c:2139: warning: initialization from incompatible pointer type
sdlgfx.c:2140: warning: initialization from incompatible pointer type
sdlgfx.c:2141: warning: initialization from incompatible pointer type
sdlgfx.c:2142: warning: initialization from incompatible pointer type
sdlgfx.c:2143: warning: initialization from incompatible pointer type
sdlgfx.c:2144: warning: initialization from incompatible pointer type
sdlgfx.c: In function ‘input_get_default_mouse’:
sdlgfx.c:2169: warning: implicit declaration of function ‘setid’
sdlgfx.c: At top level:
sdlgfx.c:2194: warning: no previous prototype for ‘gfx_default_options’
sdlgfx.c:2208: warning: no previous prototype for ‘gfx_save_options’
sdlgfx.c: In function ‘gfx_save_options’:
sdlgfx.c:2209: warning: implicit declaration of function ‘cfgfile_write’
sdlgfx.c: At top level:
sdlgfx.c:2216: warning: no previous prototype for ‘gfx_parse_option’
sdlgfx.c: In function ‘gfx_parse_option’:
sdlgfx.c:2217: warning: passing argument 4 of ‘cfgfile_yesno’ from incompatible pointer type
sdlgfx.c:2219: warning: passing argument 4 of ‘cfgfile_yesno’ from incompatible pointer type
In file included from sdlkeys.c:16:
../../src/include/options.h:485: warning: ‘struct zfile’ declared inside parameter list
../../src/include/options.h:485: warning: its scope is only this definition or declaration, which is probably not what you want
In file included from rawkeys.c:12:
../../src/include/options.h:485: warning: ‘struct zfile’ declared inside parameter list
../../src/include/options.h:485: warning: its scope is only this definition or declaration, which is probably not what you want
In file included from sound.c:14:
../../src/include/options.h:485: warning: ‘struct zfile’ declared inside parameter list
../../src/include/options.h:485: warning: its scope is only this definition or declaration, which is probably not what you want
sound.c: In function ‘finish_sound_buffer’:
sound.c:73: warning: implicit declaration of function ‘driveclick_mix’
sound.c: In function ‘open_sound’:
sound.c:147: warning: implicit declaration of function ‘driveclick_init’
sound.c: In function ‘init_sound’:
sound.c:227: warning: implicit declaration of function ‘driveclick_reset’
sound.c: At top level:
sound.c:266: warning: no previous prototype for ‘audio_default_options’
sound.c:270: warning: no previous prototype for ‘audio_save_options’
sound.c:274: warning: no previous prototype for ‘audio_parse_option’
In file included from joystick.c:14:
../../src/include/options.h:485: warning: ‘struct zfile’ declared inside parameter list
../../src/include/options.h:485: warning: its scope is only this definition or declaration, which is probably not what you want
joystick.c:169: warning: initialization from incompatible pointer type
joystick.c:170: warning: initialization from incompatible pointer type
joystick.c:172: warning: initialization from incompatible pointer type
joystick.c:173: warning: initialization from incompatible pointer type
joystick.c:174: warning: initialization from incompatible pointer type
joystick.c:175: warning: initialization from incompatible pointer type
joystick.c:176: warning: initialization from incompatible pointer type
joystick.c:177: warning: initialization from incompatible pointer type
joystick.c: In function ‘input_get_default_joystick’:
joystick.c:192: warning: comparison between signed and unsigned
joystick.c:205: warning: implicit declaration of function ‘setid’
joystick.c:209: warning: implicit declaration of function ‘setid_af’
In file included from cocoaui.m:16:
../../src/include/options.h:485: warning: ‘struct zfile’ declared inside parameter list
../../src/include/options.h:485: warning: its scope is only this definition or declaration, which is probably not what you want
cocoaui.m:63: warning: protocol ‘NSMenuItem’ is deprecated
cocoaui.m:281: warning: protocol ‘NSMenuItem’ is deprecated
cocoaui.m: In function ‘-[PuaeGui displayOpenPanelForInsertIntoDriveNumber:]’:
cocoaui.m:438: warning: initialization makes pointer from integer without a cast
In file included from main.m:19:
../../src/include/options.h:485: warning: ‘struct zfile’ declared inside parameter list
../../src/include/options.h:485: warning: its scope is only this definition or declaration, which is probably not what you want
In file included from ../../src/od-generic/memory.c:12,
from memory.c:9:
../../src/include/options.h:485: warning: ‘struct zfile’ declared inside parameter list
../../src/include/options.h:485: warning: its scope is only this definition or declaration, which is probably not what you want
/usr/bin/ranlib: archive member: libosdep.a(memory.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: libosdep.a(memory.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: for architecture: i386 file: libosdep.a(memory.o) has no symbols
ranlib: warning for library: libosdep.a for architecture: i386 the table of contents is empty (no object file members in the library define global symbols)
make[3]: *** [libosdep.a] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
Any help would be GREATLY appreciated! If someone has a precompiled binary, that would be great too ;)
GnoStiC
23 August 2010, 07:30
i get;
"Unable to connect to database" error.
I am unable to compile the most current git branch, as of this writing. Compilation output is available at the following location
http://pastebin.org/626364
GnoStiC
23 August 2010, 07:33
I would love to get PUAE running on my Macbook Pro, but compiling always fails for me.
ranlib: archive member: libosdep.a(memory.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
make[3]: *** [libosdep.a] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
Any help would be GREATLY appreciated! If someone has a precompiled binary, that would be great too ;)
i don't know why that happens. precompiled binaries are in the zone.
goldenegg
23 August 2010, 08:39
i don't know why that happens. precompiled binaries are in the zone.
Sorry, I'm new around this board. Where is 'the zone'?
Have a look at the upper right for a 'The Zone!' link and read here : http://eab.abime.net/faq.php?faq=vb_faq#faq_thezone_faq_item how to get access.
xaind
23 August 2010, 10:35
Just uploaded a new build from commit 8f059ce... (the old build was about to drop off the end.)
goldenegg
23 August 2010, 13:38
Just uploaded a new build from commit 8f059ce... (the old build was about to drop off the end.)
Much appreciated!!!!
Sune Salminen
26 August 2010, 16:56
+1
Thanks!
Wicked_Digger
09 September 2010, 15:24
Some hints for Mac developers.
If you have a problem with build PUAE on x64 Snow Leopard + new versions of XCode
1. gcc make x64 builds by default, for build PUAE you must specify 32 bit building:
./configure --target=i586 CFLAGS="-m32" LDFLAGS="-m32" CPPFLAGS="-m32"
CFLAGS - for compiling C sources
LDFLAGS - for linking
CPPFLAGS - hack for building Objective C sources with 32 bit arch (in fact we must use OBJCFLAGS but this way don't work for now :( )
2. For building with Cocoa (if you have SDL framework installed) you must NOT use "--host=i586" key for configure, if you use it configuration process try to found libsdl... and X libs but not Cocoa.
lallafa
28 September 2010, 20:05
Compiling on Mac OS X didn't work for me out of box with current Git head.
However with this small patch applied everything worked fine...
> cd /path/to/PUA
> patch -p1 < puae-mac-compile-fix.patch.txt
> ./build_macos_cocoa.sh
Main reason for failure is that Mac OS X does not support SCSI emulation via libscg out of the box. (This lib is an optional install e.g. with cdrtools from MacPorts and no system lib).
GnoStiC
28 September 2010, 20:09
@lallafa: thanx, i'll apply the patch with the next push..
btw, my macbook pro will arrive tomorrow, woot!
nexusle
29 September 2010, 10:43
my macbook pro will arrive tomorrow, woot!
COOOOL!! Now I have hope, that the Mac OS X version gets a heavy kick forward :)
BTW my wishes for the Mac version:
- a kompatible CD ROM Emulation for PUAE. The SCSI Emu is functional, but a little bit bad. You don't have a CD in drive, when start E-UAE/PUAE. If so, the SCSI emulation don't work in this case.
- same problem with joystick/-pad emulation. The joystick (usb) must plugged in at start of (E/P)UAE, if not, the joystick don't work.
all other things, i.e. the On-Emulation-GUI is very good (change disks, grab mouse, etc.).
PS: is it possible to grab the mouse automatically at startup of PUAE?
GnoStiC
29 September 2010, 12:11
COOOOL!! Now I have hope, that the Mac OS X version gets a heavy kick forward :)
i just received my macbook pro.. now i've to install xcode and cocoa i guess :)
BTW my wishes for the Mac version:
- a kompatible CD ROM Emulation for PUAE. The SCSI Emu is functional, but a little bit bad. You don't have a CD in drive, when start E-UAE/PUAE. If so, the SCSI emulation don't work in this case.
- same problem with joystick/-pad emulation. The joystick (usb) must plugged in at start of (E/P)UAE, if not, the joystick don't work.
a "Rescan" button would fix that..
all other things, i.e. the On-Emulation-GUI is very good (change disks, grab mouse, etc.).
PS: is it possible to grab the mouse automatically at startup of PUAE?
it should be possible, that was in my todo list anyway..
nexusle
29 September 2010, 12:43
one more thing :)
- we need a little disk swap gui in fullscreen mode ;)
EricG
01 October 2010, 05:50
No joy for me either .. used some of the suggestions mentioned here and tried to compile osx 10.6 and I get this:
(can someone post a new precompiled binary to the zone, the one up there doesn't work , thanks!)
xwin.c:1796: warning: no previous prototype for ‘gfx_save_options’
xwin.c:1803: warning: no previous prototype for ‘gfx_parse_option’
xwin.c: In function ‘gfx_parse_option’:
xwin.c:1804: warning: passing argument 4 of ‘cfgfile_yesno’ from incompatible pointer type
xwin.c:1805: warning: passing argument 4 of ‘cfgfile_yesno’ from incompatible pointer type
xwin.c:1806: warning: passing argument 4 of ‘cfgfile_yesno’ from incompatible pointer type
xwin.c:1807: warning: passing argument 4 of ‘cfgfile_yesno’ from incompatible pointer type
xwin.c: At top level:
xwin.c:1811: warning: no previous prototype for ‘gfx_default_options’
make[3]: *** [xwin.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
nexusle
01 October 2010, 08:11
@EricG
It seems, that your source tried to build with xwindows. Mac OS X don't support this. You must build using SDL!
i.e.:
./configure CFLAGS="-m32" LDFLAGS="-m32" CPPFLAGS="-m32" --with-sdl --with-sdl-sound --with-sdl-gl --with-sdl-gfx --enable-drvsnd
EricG
01 October 2010, 17:20
@EricG
It seems, that your source tried to build with xwindows. Mac OS X don't support this. You must build using SDL!
i.e.:
./configure CFLAGS="-m32" LDFLAGS="-m32" CPPFLAGS="-m32" --with-sdl --with-sdl-sound --with-sdl-gl --with-sdl-gfx --enable-drvsnd
Thanks.. i'm not really a coder (well not by todays standards) .. while I learned assembly/pascal/fortran in college its been a good 20 years since I coded anything relevant.. ObjC might as well be Latin to me .. lol..
Thanks I appreciate the "push" in the right direction.. I'll give it a go and see how it works.. I figured it had to be something stupid .. I think the confusing part is that OSX has X .. that probably sent me down the wrong path.
If you can .. could you post a working binary in the zone incase my efforts fail horribly (and I fully expect them not to work...)
question .. people are using the sources in github right? .. there isn't a separate "osx" set of source files that I should be using? ..
EricG
01 October 2010, 17:41
@EricG
It seems, that your source tried to build with xwindows. Mac OS X don't support this. You must build using SDL!
i.e.:
./configure CFLAGS="-m32" LDFLAGS="-m32" CPPFLAGS="-m32" --with-sdl --with-sdl-sound --with-sdl-gl --with-sdl-gfx --enable-drvsnd
Thanks but this didn't solve the problem .. I even tried a fresh copy of the code from github .. and your config suggestion .. and it still ended up with the same error ..
sigh.. ..
nexusle
01 October 2010, 19:40
Ok, I have build my last build of UAE at time of E-UAE.
GnoStIC now own a MBP and I think, a fresh binary comes asap :)
GnoStiC
02 October 2010, 16:06
you're probably missing sdl.. did you install sdl ?
No joy for me either .. used some of the suggestions mentioned here and tried to compile osx 10.6 and I get this:
(can someone post a new precompiled binary to the zone, the one up there doesn't work , thanks!)
EricG
02 October 2010, 23:47
you're probably missing sdl.. did you install sdl ?
Honestly i'd have to check .. i don't really do much programming these days.. At this point ill assume its not .. or if it is its horribly old/out of date..
thanks for the tip .. ill just reinstall sdl and see what happens.
pentad
07 November 2010, 19:31
I too am having trouble compiling PUAE on my system... Could somebody upload a bin to the Zone!? I don't see one there currently.
Thank you!!
-P
BobRedthorp
07 January 2011, 21:37
Just recently got a Macbook Pro and hate the hassle of running Boot Camp so looking for an alternative to WinUAE, I managed to get E-UAE running with picasso96 and WHDLoad but the performance is no way near as good as on WinUAE.
The whole compiling thing is a little over my head, is it worth the effort for someone without a clue just now with P-UAE or is there a better way to emulate Amiga on OS X leopard or am I best just running WinUAE via Boot Camp
I would just rather avoid having two Operating Systems installed, any help would be great.
chiark
07 January 2011, 22:22
Have a look in the Zone; there's a DMG for PUAE beta in there.
Check the beta thread for progress, but there will be fairly regular builds.
BobRedthorp
07 January 2011, 22:49
I tried to run it but it says it doesn't support my version of OS X, do I need to install any other software?
chiark
07 January 2011, 23:13
hmm, I compiled it with Snow Leopard but it shouldn't require any version in particular: I'll have a look into it.
Could you see if there's any PUAE.log in the console and, if so, post what it says? Or post the error from console?
Actually, I believe you need the SDL framework installed: http://www.libsdl.org/, specifically http://www.libsdl.org/release/SDL-1.2.14.dmg
BobRedthorp
07 January 2011, 23:47
Cheers, chiark, I got it working :great
chiark
07 January 2011, 23:50
Excellent! Still lots to do, but the aim is to get to the point that WinUAE is not needed :)
BobRedthorp
08 January 2011, 00:12
That would be awesome! its a little more difficult configuring but I'm getting there :great
EDIT:
I have no problems running adf's, but does anyone know how to sort the following WHDLoad error, or am I getting too far ahead of myself :)
DOS-ERROR 235
(bad loadfile hunk)
on loading "MonkeyIsland2.Slave"
Hungry Horace
08 January 2011, 02:34
i have a lot of problems with P-UAE and HD's (including the same error as yourself BobRedthorp) - i beleive there are still problems with HD setups which prevent it from being entirely usable for purist HD users like myself!
BobRedthorp
08 January 2011, 03:36
I was thinking that too as I found I needed to install Workbench via WinUAE then add that directory in PUAE, ah well, runs adfs really well :)
_ThEcRoW
22 September 2012, 22:16
So, is this fork of e-uae pandora-oriented?. Could bring it problems using it in mac?.
gilgamesh
22 September 2012, 22:20
Not really, it's for unix in general now. It works great and imports some nice features from WinUAE.
_ThEcRoW
22 September 2012, 23:53
Where are the sources to compile?. All i can see is a git repository, and i dont have or used git, to get the correct files.
gilgamesh
23 September 2012, 08:47
Look again at https://github.com/GnoStiC/PUAE
See the button "zip" somewhere near the upper left corner? That's where you can get all the sources in a zip archive.
vBulletin® v3.7.0, Copyright ©2000-2013, Jelsoft Enterprises Ltd.