25 August 2011, 16:56 | #61 |
Posts: n/a
|
I tried the latest source code from git for 2.3.3 version on 32-bit Ubuntu 11.04, but I still can't make mouse and keyboard to work, like they are not attached (I tried A500 and A1200 roms). This is my uaerc file:
kickstart_rom_file=./kick.rom floppy0type=0 floppy0=/home/zzarko/Desktop/Amiga/WB-1_3D.ADF cpu_type=68000 cpu_compatible=false cpu_cycle_exact=false cpu_speed=real chipset=ecs_agnus chipmem_size=2 gfx_framerate=1 show_leds=true sound_output=normal sound_channels=stereo joyport0=mouse joyport1=kbd1 sdl.use_gl=false bogomem_size=0 Can somebody who has a working mouse/keyboard under linux with P-UAE 2.3.3 post uaerc file? Or is the problem somwhere outside uaerc? Should I file a bug report about this? |
26 August 2011, 03:11 | #62 |
Registered User
Join Date: Nov 2009
Location: UK
Posts: 497
|
PUAE progress
I have built GnoStiC-PUAE-bae1862 on Ubuntu 11.04.
Unfortunately, I still get segmentation faults almost every time I attempt to launch any recent build of PUAE (2.3.3). It also doesn't seem to work with AROS-68k ROMs. Linux + PUAE + AROS-68k ROM = totally free Amiga emulation. When it works, it will be excellent. (Actually I could boot the AROS Bootstrap floppy in E-UAE {with Kickstart 3.1}, but not PUAE. I get "Illegal instruction: 4e7a at 001174E4 -> 001174F6"). Edit: On using the two AROS ROM files in a PUAE configuration, I get "Illegal instruction: 4e7a at 00F804B4 -> 00F804C6". GnoStiC, it would be great if you could fix this! Of course there is also Wine for running WinUAE under Linux, but this still has some bugs which I'm not sure Toni wishes to fix (since it's Wine's job to emulate WinAPI), but I personally think WinUAE could well be improved for enhanced Wine compatibility in lieu of a stable version of PUAE, which would provide another totally free route. (E-UAE is dated now.) Also, has anyone managed to port PUAE to AROS-x86, as was done with E-UAE? If this can be successfully done, with the latest PUAE with JIT up and running on AROS-x86, I can forsee a bounty to merge AROS PUAE with Janus-UAE and its AROS integration... AROS-x86 (or ARM?) distro + PUAE/Janus-UAE merge + AROS-68k = free software Amiga clone worthy of the name? Last edited by Mequa; 26 August 2011 at 04:21. |
26 August 2011, 06:33 | #63 | |
Posts: n/a
|
That's the same version I tried yesterday. I built both GTK and QT versions, but neither allows mouse or keyboard emulation. Also, QT version's interface, altough richer, still isn't working (I cannot swap adf images, for example), so I'm mostly using outdated GTK version.
Quote:
That's a nice idea, but it would have to wait. AROS still doesn't have support for many graphic/sound/network hardware... |
|
26 August 2011, 06:54 | #64 |
Registered User
Join Date: Nov 2009
Location: UK
Posts: 497
|
Mouse and keyboard are working here.
|
26 August 2011, 11:51 | #65 | |||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,545
|
Quote:
Usual problem with AROS ROM hanging on non-WinUAE is lack of serial port emulation. It _has_ to be emulated and enabled or debug serial output will hang. Quote:
btw, Quote:
|
|||
26 August 2011, 18:47 | #66 |
Amazing Bloke!
Join Date: May 2009
Location: Ormskirk, UK
Age: 42
Posts: 29
|
|
26 August 2011, 18:48 | #67 |
Posts: n/a
|
|
28 August 2011, 06:56 | #68 |
Registered User
Join Date: Aug 2008
Location: Spain
Posts: 527
|
@chiark: I'm using the latest OSX build, but I don't get the screen centering options to do anything. I'm running in a 1280x1024@60HZ fullscreen resolution, emulatong an NTSC Amiga, but the "gfx_center_horizontal=smart" seems to be ignored, and all software is missing the right border.
I'm suing the SDL_GL renderer, so I guess there are new opengl-based centering and scaling options, but I don't know about them: the docs just mention the old e-uae options... thanks |
28 August 2011, 13:33 | #69 |
Banned
Join Date: Jul 2010
Location: Earth
Age: 46
Posts: 500
|
Please test:
gfx_center_horizontal_position=-1 gfx_center_vertical_position=-1 |
28 August 2011, 14:04 | #70 |
Registered User
Join Date: Aug 2008
Location: Spain
Posts: 527
|
@nexusle: sadly, those settings seem to have no effect at all, at least in the OSX port. Any other ideas, please?
|
28 August 2011, 20:54 | #71 |
Needs a life
Join Date: Jan 2008
Location: England
Posts: 1,707
|
Well, my toolchain is producing nothing useful any more; looks like a reinstall of Lion and xcode 3 needed. GnoStiC is going to start seeing if he can fix stuff in the near future...
|
01 September 2011, 03:39 | #72 | |
Registered User
Join Date: Nov 2009
Location: UK
Posts: 497
|
Quote:
(How about in Janus-UAE on AROS-x86? Is that compatible with AROS-68k ROM?) Also, has anyone managed to build PUAE (with JIT) on AROS-x86 yet? How about a Win32 build of PUAE as a proof of concept? Last edited by Mequa; 01 September 2011 at 03:45. |
|
07 September 2011, 09:47 | #73 |
Posts: n/a
|
I've compiled PUAE-bae1862 on Ubuntu 10.10, and work fine if I place Kickstart on the directory of PUAE, but does not work if specified path in .uaerc.
Anyway, the GTK interface, not permit to stop emulation, and change kickstart and hardfile. |
11 September 2011, 17:11 | #74 |
Posts: n/a
|
Segfault when RTG RAM set to non-zero
Hi,
I am using PUAE 2.3.3 compiled for 64bit from git on Archlinux Code:
uname -a Linux uranus 3.0-ARCH #1 SMP PREEMPT Wed Aug 17 21:55:57 CEST 2011 x86_64 AMD Athlon(tm) II X2 245e Processor AuthenticAMD GNU/Linux segmentation fault... Here is my .uaerc without P96 RTG RAM: Code:
unix.rom_path=/home/ronny/projects/amiga/roms/ unix.floppy_path=/home/ronny/projects/amiga/adfs/ unix.hardfile_path=/home/ronny/projects/amiga/hdfs/ cpu_type=68020/68881 cachesize=8192 compfpu=true chipset=aga ntsc=false kickstart_rom_file=$(FILE_PATH)/ks31_a1200.rom chipmem_size=4 bogomem_size=4 fastmem_size=0 z3mem_size=64 gfxcard_size=0 gfx_width_windowed=1024 gfx_height_windowed=768 gfx_correct_aspect=true gfx_center_horizontal=smart gfx_center_vertical=smart show_leds=true hide_cursor=true bsdsocket_emu=true hardfile2=rw,DH0:$(FILE_PATH)/disk1.hdf,32,3,2,512,0, hardfile=rw,32,3,2,512,$(FILE_PATH)/disk1.hdf Code:
------------------------------------------------------------------------------------ P-UAE 2.3.3 Git Commit: bae18629bd5ffea20b4ddf1f2d7642eb2e145513 Build date: Sep 11 2011 03:36:11 ------------------------------------------------------------------------------------ Copyright 1995-2002 Bernd Schmidt 1999-2011 Toni Wilen 2003-2007 Richard Drummond 2006-2011 Mustafa 'GnoStiC' 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 0 joystick(s) SDLGFX: Initialized. SDLGFX: Using SDL version 1.2.14. SDLGFX: Display is 32 bits deep. SDLGFX: Found screenmode: 3840x1080. SDLGFX: Found screenmode: 1920x1080. SDLGFX: Found screenmode: 1280x1024. SDLGFX: Found screenmode: 1024x768. SDLGFX: Found screenmode: 640x480. load config '/home/ronny/././.uaerc':0 Opening cfgfile '/home/ronny/././.uaerc': OK unknown config entry: 'cachesize=8192' unknown config entry: 'compfpu=true' obsolete config entry 'gfx_correct_aspect' unknown config entry: 'hide_cursor=true' Testing the RDTSC instruction ... done. TSC frequency: 2910.500000 MHz ALSA lib version: 1.0.24.1 Thread 'GTK-GUI' started (70327840) RTAREA located at 00F00000 uaegfx.card magic code: 00F0185C-00F0199A ABI=00000000 Entered action_replay_load () ROM loader.. (<none>) Known ROM 'KS ROM v3.1 (A1200)' loaded ROM loader end memory init end bsdsocked.library installed Multimonitor detection disabled SDLGFX: Added P96 mode: 320x200x32 SDLGFX: Added P96 mode: 320x240x32 SDLGFX: Added P96 mode: 320x256x32 SDLGFX: Added P96 mode: 320x400x32 SDLGFX: Added P96 mode: 640x350x32 SDLGFX: Added P96 mode: 640x480x32 SDLGFX: Added P96 mode: 640x512x32 SDLGFX: Added P96 mode: 800x600x32 SDLGFX: Added P96 mode: 1024x768x32 SDLGFX: Added P96 mode: 1152x864x32 SDLGFX: Added P96 mode: 1280x1024x32 No disk in drive 0. Building CPU table for configuration: 68020/68881 prefetch 1879 CPU functions Building CPU, 45954 opcodes (2 1 0) CPU=68020, FPU=68881, MMU=0, JIT=CPU=0. ALSA lib version: 1.0.24.1 ALSA: Using device 'default'. ALSA: Sound configured for 16 bits at 44100 Hz. Buffer length is 100000 us, period size 5880 bytes. hfd open: '/home/ronny/projects/amiga/hdfs/disk1.hdf' HDF '/home/ronny/projects/amiga/hdfs/disk1.hdf' opened, size=2097120K mode=3 empty=0 memory init end Reset at 00000000 00000000 2048K/1 = 2048K Chip memory 00200000 8192K/0 = 8192K <none> 00A00000 2048K/0 = 2048K CIA 00C00000 1024K/1 = 1024K Slow memory 00D00000 512K/0 = 512K 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 (1483A091) =KS ROM v3.1 (A1200) rev 40.68 (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 (1483A091) =KS ROM v3.1 (A1200) rev 40.68 (512k) 01000000 4080M/0 = 4080M <none> P96FREQ: 312*50.0000 = 15600.0000 / 50 = 312 PAL mode V=50.0000Hz H=15600.0000Hz (227x312+1) Multimonitor detection disabled SDLGFX: Added P96 mode: 320x200x32 SDLGFX: Added P96 mode: 320x240x32 SDLGFX: Added P96 mode: 320x256x32 SDLGFX: Added P96 mode: 320x400x32 SDLGFX: Added P96 mode: 640x350x32 SDLGFX: Added P96 mode: 640x480x32 SDLGFX: Added P96 mode: 640x512x32 SDLGFX: Added P96 mode: 800x600x32 SDLGFX: Added P96 mode: 1024x768x32 SDLGFX: Added P96 mode: 1152x864x32 SDLGFX: Added P96 mode: 1280x1024x32 hardreset, memory cleared ALSA lib version: 1.0.24.1 ALSA: Using device 'default'. ALSA: Sound configured for 16 bits at 44100 Hz. Buffer length is 100000 us, period size 5880 bytes. P96FREQ: 312*49.9201 = 15575.0799 / 50 = 311 PAL mode V=49.9201Hz H=15575.0799Hz (227x312+1) (UAE:27994): GLib-GObject-WARNING **: invalid cast from `GtkFrame' to `GtkBox' (UAE:27994): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_BOX (box)' failed (UAE:27994): GLib-GObject-WARNING **: invalid cast from `GtkFrame' to `GtkBox' (UAE:27994): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_BOX (box)' failed Z3MEM (32bit): mapped @$10000000: 64 MB Zorro III fast memory Card 1 remapped 40000000 -> 10000000 Card 1 (ZorroIII) done. UAEGFX-card: mapped @$0, 4 MB RTG RAM Card 2 (ZorroIII) done. Segmentation fault regards ronny |
12 September 2011, 17:44 | #75 |
Posts: n/a
|
Btw:
I also tried compiling PUAE in 32bit compatibility mode using the following configure options: Code:
./configure --enable-autoconfig --enable-a2091 --enable-aga --enable-audio --enable-bsdsock --enable-compatible-cpu --enable-cycle-exact-cpu --enable-gayle --enable-scsi-device --enable-threads --enable-ui --with-sdl --with-sdl-sound --with-sdl-gfx --with-sdl-gl --with-sdl-gui --with-caps --enable-ncr --libdir=/usr/lib32 --target=i686-pc-linux-gnu --host=i686-pc-linux-gnu However, I dont know if anybody but me also experience very heavy IO problems. I tried installing OS 3.5 from CDRom that I originally bought for my A1200. During creation of the Emergency Disk as well as during Installation onto the HDF disk there are several IO Errors which lead to AmigaOS system freeze. Now I also installed an older version of E-UAE (0.8.29) and managed to install OS 3.5 and later on OS 3.9 without any problems. In E-UAE I was also able to install P96 drivers which was not possible using PUAE booting the fresh installed OS3.9 The problem that remains now is the following: I have a OS3.9 installation with P96 support (resolution 1024x768) that runs smoothly (but slow) using E-UAE. When I boot the same installation with PUAE 2.3.3 (either 32bit or 64bit, without JIT support) then PUAE is not able to boot anything. Depending on how much RTG memory I set in .uaerc it either hangs in a hard reboot loop or just creates segmentation faults... If I compile PUAE for 32bit with JIT support then It boots my Workbench but it falls back to PAL monitor driver without the possibility to choose any uaegfx modes... Is there anybody out there who has PUAE 2.3.3 running with OS3.9 and P96 support such that I might compare compile flags as well as .uaerc??? thanx ronny Last edited by raumzeit; 12 September 2011 at 18:39. |
12 September 2011, 19:06 | #76 |
Posts: n/a
|
its me again
I just wanted to post the debugging output that shows where PUAE stops with segmentation fault on my system... Code:
uname -a Linux uranus 3.0-ARCH #1 SMP PREEMPT Wed Aug 17 21:55:57 CEST 2011 x86_64 AMD Athlon(tm) II X2 245e Processor AuthenticAMD GNU/Linux Code:
./configure \ --with-sdl \ --with-sdl-gfx \ --with-sdl-gl \ --with-alsa \ --enable-bsdsock My .uaerc config looks like this: Code:
unix.rom_path=/home/ronny/projects/amiga/roms/ unix.floppy_path=/home/ronny/projects/amiga/adfs/ unix.hardfile_path=/home/ronny/projects/amiga/hdfs/ cpu_type=68020/68881 cachesize=0 cpu_model=68020 fpu_model=68881 cpu_24bit_addressing=no chipset=aga ntsc=false show_leds=true keyboard_leds=true hide_cursor=true kickstart_rom_file=$(FILE_PATH)/ks31_a1200.rom chipmem_size=4 bogomem_size=0 fastmem_size=0 z3mem_size=64 gfxcard_size=8 gfx_linemode=double gfx_width_windowed=1024 gfx_height_windowed=800 gfx_correct_aspect=true gfx_center_horizontal=smart gfx_center_vertical=simple x11.map_raw_keys=true bsdsocket_emu=true hardfile2=rw,DH0:$(FILE_PATH)/disk1.hdf,32,3,2,512,0, hardfile=rw,32,3,2,512,$(FILE_PATH)/disk1.hdf When I run puae with gnu debugger, the following happens: Code:
gdb src/uae GNU gdb (GDB) 7.3.1 Copyright (C) 2011 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-unknown-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /home/ronny/projects/amiga/PUAE/src/uae...done. (gdb) run Starting program: /home/ronny/projects/amiga/PUAE/src/uae [Thread debugging using libthread_db enabled] ------------------------------------------------------------------------------------ P-UAE 2.3.3 Git Commit: bae18629bd5ffea20b4ddf1f2d7642eb2e145513 Build date: Sep 12 2011 18:39:52 ------------------------------------------------------------------------------------ Copyright 1995-2002 Bernd Schmidt 1999-2011 Toni Wilen 2003-2007 Richard Drummond 2006-2011 Mustafa 'GnoStiC' 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. ------------------------------------------------------------------------------------ [New Thread 0x7fffeeee6700 (LWP 13135)] Found 0 joystick(s) SDLGFX: Initialized. SDLGFX: Using SDL version 1.2.14. SDLGFX: Display is 32 bits deep. SDLGFX: Found screenmode: 3840x1080. SDLGFX: Found screenmode: 1920x1080. SDLGFX: Found screenmode: 1280x1024. SDLGFX: Found screenmode: 1024x768. SDLGFX: Found screenmode: 640x480. load config '/home/ronny/././.uaerc':0 Opening cfgfile '/home/ronny/././.uaerc': OK unknown config entry: 'cachesize=0' unknown config entry: 'hide_cursor=true' obsolete config entry 'gfx_correct_aspect' unknown config entry: 'x11.map_raw_keys=true' Testing the RDTSC instruction ... done. TSC frequency: 2910.500000 MHz ALSA lib version: 1.0.24.1 [New Thread 0x7fffe7a23700 (LWP 13136)] [Thread 0x7fffe7a23700 (LWP 13136) exited] [New Thread 0x7fffe7a23700 (LWP 13137)] Thread 'GTK-GUI' started (50593856) RTAREA located at 00F00000 uaegfx.card magic code: 00F0185C-00F0199A ABI=00000000 Entered action_replay_load () ROM loader.. (<none>) Known ROM 'KS ROM v3.1 (A1200)' loaded ROM loader end memory init end bsdsocked.library installed Multimonitor detection disabled SDLGFX: Added P96 mode: 320x200x32 SDLGFX: Added P96 mode: 320x240x32 SDLGFX: Added P96 mode: 320x256x32 SDLGFX: Added P96 mode: 320x400x32 SDLGFX: Added P96 mode: 640x350x32 SDLGFX: Added P96 mode: 640x480x32 SDLGFX: Added P96 mode: 640x512x32 SDLGFX: Added P96 mode: 800x600x32 SDLGFX: Added P96 mode: 1024x768x32 SDLGFX: Added P96 mode: 1152x864x32 SDLGFX: Added P96 mode: 1280x1024x32 No disk in drive 0. Building CPU table for configuration: 68030/68882 prefetch 1879 CPU functions Building CPU, 45975 opcodes (3 1 0) CPU=68030, FPU=68882, MMU=0, JIT=CPU=0. ALSA lib version: 1.0.24.1 [New Thread 0x7fffdf220700 (LWP 13138)] ALSA: Using device 'default'. ALSA: Sound configured for 16 bits at 44100 Hz. Buffer length is 100000 us, period size 5880 bytes. hfd open: '/home/ronny/projects/amiga/hdfs/disk1.hdf' HDF '/home/ronny/projects/amiga/hdfs/disk1.hdf' opened, size=2097120K mode=3 empty=0 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 (1483A091) =KS ROM v3.1 (A1200) rev 40.68 (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 (1483A091) =KS ROM v3.1 (A1200) rev 40.68 (512k) 01000000 4080M/0 = 4080M <none> P96FREQ: 312*50.0000 = 15600.0000 / 50 = 312 PAL mode V=50.0000Hz H=15600.0000Hz (227x312+1) Multimonitor detection disabled SDLGFX: Added P96 mode: 320x200x32 SDLGFX: Added P96 mode: 320x240x32 SDLGFX: Added P96 mode: 320x256x32 SDLGFX: Added P96 mode: 320x400x32 SDLGFX: Added P96 mode: 640x350x32 SDLGFX: Added P96 mode: 640x480x32 SDLGFX: Added P96 mode: 640x512x32 SDLGFX: Added P96 mode: 800x600x32 SDLGFX: Added P96 mode: 1024x768x32 SDLGFX: Added P96 mode: 1152x864x32 SDLGFX: Added P96 mode: 1280x1024x32 hardreset, memory cleared [Thread 0x7fffdf220700 (LWP 13138) exited] ALSA lib version: 1.0.24.1 [New Thread 0x7fffdf220700 (LWP 13139)] ALSA: Using device 'default'. ALSA: Sound configured for 16 bits at 44100 Hz. Buffer length is 100000 us, period size 5880 bytes. P96FREQ: 312*49.9201 = 15575.0799 / 50 = 311 PAL mode V=49.9201Hz H=15575.0799Hz (227x312+1) (UAE:13132): GLib-GObject-WARNING **: invalid cast from `GtkFrame' to `GtkBox' (UAE:13132): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_BOX (box)' failed (UAE:13132): GLib-GObject-WARNING **: invalid cast from `GtkFrame' to `GtkBox' (UAE:13132): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_BOX (box)' failed Get Filesys Unit: VIRT Get Filesys Unit: VIRT Z3MEM (32bit): mapped @$10000000: 64 MB Zorro III fast memory Card 1 remapped 40000000 -> 10000000 Card 1 (ZorroIII) done. UAEGFX-card: mapped @$0, 8 MB RTG RAM Card 2 remapped 44000000 -> 00000000 Card 2 (ZorroIII) done. Program received signal SIGSEGV, Segmentation fault. op_0000_0_ff (opcode=<optimized out>) at cpuemu_0.c:39 39 SET_ZFLG (((uae_s8)(src)) == 0); (gdb) bt #0 op_0000_0_ff (opcode=<optimized out>) at cpuemu_0.c:39 #1 0x0000000000419ebb in m68k_run_2p () at newcpu.c:3903 #2 0x0000000000418334 in m68k_go (may_quit=<optimized out>) at newcpu.c:4111 #3 0x000000000040be01 in real_main2 (argv=0x7fffffffe168, argc=1) at main.c:974 #4 real_main (argc=1, argv=0x7fffffffe168) at main.c:1009 #5 0x000000000040aee9 in main (argc=<optimized out>, argv=<optimized out>) at main.c:1021 Setting Code:
cpu_cycle_exact=true cpu_compatible=true Code:
... Get Filesys Unit: VIRT Get Filesys Unit: VIRT Z3MEM (32bit): mapped @$10000000: 64 MB Zorro III fast memory Card 1 remapped 40000000 -> 10000000 Card 1 (ZorroIII) done. UAEGFX-card: mapped @$0, 32 MB RTG RAM Card 2 remapped 44000000 -> 00000000 Card 2 (ZorroIII) done. PUAE also consumed about 70% of my 2 cores CPU power, while I waited for it What should I do now? regards ronny Last edited by raumzeit; 12 September 2011 at 19:13. |
12 September 2011, 20:01 | #77 |
PUAE maintainer
Join Date: Feb 2010
Location: fort lauderdale
Posts: 195
|
i'm back from a long europe road trip and i'll work on these mentioned problems asap. please wait for my next git push.
|
12 September 2011, 20:38 | #78 |
Posts: n/a
|
Thanx! I'll try to be patient
btw: I compiled without optimization and ran again to make gdb output a bit more clear: Code:
gdb src/uae GNU gdb (GDB) 7.3.1 Copyright (C) 2011 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-unknown-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /home/ronny/projects/amiga/PUAE/src/uae...done. (gdb) run Starting program: /home/ronny/projects/amiga/PUAE/src/uae [Thread debugging using libthread_db enabled] ------------------------------------------------------------------------------------ P-UAE 2.3.3 Git Commit: bae18629bd5ffea20b4ddf1f2d7642eb2e145513 Build date: Sep 12 2011 20:32:05 ------------------------------------------------------------------------------------ Copyright 1995-2002 Bernd Schmidt 1999-2011 Toni Wilen 2003-2007 Richard Drummond 2006-2011 Mustafa 'GnoStiC' 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. ------------------------------------------------------------------------------------ [New Thread 0x7fffeeee6700 (LWP 14450)] Found 0 joystick(s) SDLGFX: Initialized. SDLGFX: Using SDL version 1.2.14. SDLGFX: Display is 32 bits deep. SDLGFX: Found screenmode: 3840x1080. SDLGFX: Found screenmode: 1920x1080. SDLGFX: Found screenmode: 1280x1024. SDLGFX: Found screenmode: 1024x768. SDLGFX: Found screenmode: 640x480. load config '/home/ronny/././.uaerc':0 Opening cfgfile '/home/ronny/././.uaerc': OK unknown config entry: '//cpu_cycle_exact=true' unknown config entry: '//cpu_compatible=true' unknown config entry: 'cachesize=0' unknown config entry: 'hide_cursor=true' unknown config entry: '//collision_level=full' obsolete config entry 'gfx_correct_aspect' unknown config entry: 'x11.map_raw_keys=true' Testing the RDTSC instruction ... done. TSC frequency: 2910.500000 MHz ALSA lib version: 1.0.24.1 [New Thread 0x7fffe7a23700 (LWP 14451)] [Thread 0x7fffe7a23700 (LWP 14451) exited] [New Thread 0x7fffe7a23700 (LWP 14452)] Thread 'GTK-GUI' started (56004672) RTAREA located at 00F00000 uaegfx.card magic code: 00F0185C-00F0199A ABI=00000000 Entered action_replay_load () ROM loader.. (<none>) Known ROM 'KS ROM v3.1 (A1200)' loaded ROM loader end memory init end bsdsocked.library installed Multimonitor detection disabled SDLGFX: Added P96 mode: 320x200x32 SDLGFX: Added P96 mode: 320x240x32 SDLGFX: Added P96 mode: 320x256x32 SDLGFX: Added P96 mode: 320x400x32 SDLGFX: Added P96 mode: 640x350x32 SDLGFX: Added P96 mode: 640x480x32 SDLGFX: Added P96 mode: 640x512x32 SDLGFX: Added P96 mode: 800x600x32 SDLGFX: Added P96 mode: 1024x768x32 SDLGFX: Added P96 mode: 1152x864x32 SDLGFX: Added P96 mode: 1280x1024x32 No disk in drive 0. Building CPU table for configuration: 68020/68881 prefetch 1879 CPU functions Building CPU, 45954 opcodes (2 1 0) CPU=68020, FPU=68881, MMU=0, JIT=CPU=0. ALSA lib version: 1.0.24.1 [New Thread 0x7fffdf220700 (LWP 14453)] ALSA: Using device 'default'. ALSA: Sound configured for 16 bits at 44100 Hz. Buffer length is 100000 us, period size 5880 bytes. hfd open: '/home/ronny/projects/amiga/hdfs/disk1.hdf' HDF '/home/ronny/projects/amiga/hdfs/disk1.hdf' opened, size=2097120K mode=3 empty=0 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 (1483A091) =KS ROM v3.1 (A1200) rev 40.68 (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 (1483A091) =KS ROM v3.1 (A1200) rev 40.68 (512k) 01000000 4080M/0 = 4080M <none> P96FREQ: 312*50.0000 = 15600.0000 / 50 = 312 PAL mode V=50.0000Hz H=15600.0000Hz (227x312+1) Multimonitor detection disabled SDLGFX: Added P96 mode: 320x200x32 SDLGFX: Added P96 mode: 320x240x32 SDLGFX: Added P96 mode: 320x256x32 SDLGFX: Added P96 mode: 320x400x32 SDLGFX: Added P96 mode: 640x350x32 SDLGFX: Added P96 mode: 640x480x32 SDLGFX: Added P96 mode: 640x512x32 SDLGFX: Added P96 mode: 800x600x32 SDLGFX: Added P96 mode: 1024x768x32 SDLGFX: Added P96 mode: 1152x864x32 SDLGFX: Added P96 mode: 1280x1024x32 hardreset, memory cleared ALSA lib version: 1.0.24.1 [Thread 0x7fffdf220700 (LWP 14453) exited] [New Thread 0x7fffdf220700 (LWP 14454)] ALSA: Using device 'default'. ALSA: Sound configured for 16 bits at 44100 Hz. Buffer length is 100000 us, period size 5880 bytes. P96FREQ: 312*49.9201 = 15575.0799 / 50 = 311 PAL mode V=49.9201Hz H=15575.0799Hz (227x312+1) (UAE:14447): GLib-GObject-WARNING **: invalid cast from `GtkFrame' to `GtkBox' (UAE:14447): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_BOX (box)' failed (UAE:14447): GLib-GObject-WARNING **: invalid cast from `GtkFrame' to `GtkBox' (UAE:14447): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_BOX (box)' failed Get Filesys Unit: VIRT Get Filesys Unit: VIRT (UAE:14447): GLib-GObject-WARNING **: invalid cast from `ChipsetSpeedPanel' to `<unknown>' (UAE:14447): GLib-GObject-WARNING **: invalid cast from `ChipsetSpeedPanel' to `<unknown>' (UAE:14447): GLib-GObject-WARNING **: invalid cast from `ChipsetSpeedPanel' to `<unknown>' (UAE:14447): GLib-GObject-WARNING **: invalid cast from `ChipsetSpeedPanel' to `<unknown>' Z3MEM (32bit): mapped @$10000000: 64 MB Zorro III fast memory Card 1 remapped 40000000 -> 10000000 Card 1 (ZorroIII) done. UAEGFX-card: mapped @$0, 32 MB RTG RAM Card 2 remapped 44000000 -> 00000000 Card 2 (ZorroIII) done. Program received signal SIGSEGV, Segmentation fault. 0x000000000057aa8c in get_ibyte (o=2) at ../src/include/newcpu.h:293 293 return do_get_mem_byte((uae_u8 *)((regs).pc_p + (o) + 1)); (gdb) bt #0 0x000000000057aa8c in get_ibyte (o=2) at ../src/include/newcpu.h:293 #1 op_0000_0_ff (opcode=0) at cpuemu_0.c:35 #2 0x000000000041fce0 in m68k_run_2p () at newcpu.c:3903 #3 0x00000000004227d5 in m68k_go (may_quit=1) at newcpu.c:4111 #4 0x000000000040b001 in do_start_program () at main.c:753 #5 0x000000000040b083 in start_program () at main.c:806 #6 0x000000000040b3a5 in real_main2 (argc=1, argv=0x7fffffffe168) at main.c:974 #7 0x000000000040b46a in real_main (argc=1, argv=0x7fffffffe168) at main.c:1009 #8 0x000000000040b4cb in main (argc=1, argv=0x7fffffffe168) at main.c:1021 (gdb) print o $1 = 2 (gdb) print regs $2 = {regs = {255, 4294919168, 4278190082, 0, 0, 0, 4294967295, 0, 15204420, 3144, 15204352, 3144, 15204352, 1880, 2676, 944}, pc = 16269122, pc_p = 0x7ffff7ef7ffe "", pc_oldp = 0x7ffff7e2df52 "\345H", <incomplete sequence \360>, instruction_pc = 17096686, irc = 1024, ir = 20472, spcflags = 0, usp = 0, isp = 0, msp = 0, sr = 0, t1 = 0 '\000', t0 = 0 '\000', s = 1 '\001', m = 0 '\000', x = 0 '\000', stopped = 0 '\000', exception = 0, intmask = 7, ipl = 0, ipl_pin = 0, vbr = 0, sfc = 0, dfc = 0, fp = {0, 0, 0, 0, 0, 0, 0, 0}, fp_result = 1, fpcr = 0, fpsr = 0, fpiar = 0, fpsr_highbyte = 0, cacr = 9, caar = 0, itt0 = 0, itt1 = 0, dtt0 = 0, dtt1 = 0, tcr = 0, mmusr = 0, urp = 0, srp = 0, buscr = 0, mmu_fslw = 0, mmu_fault_addr = 0, mmu_ssw = 0, wb3_data = 0, wb3_status = 0, mmu_enabled = 0, mmu_pagesize_8k = 0, pcr = 0, address_space_mask = 4294967295, panic = 0 '\000', panic_pc = 0, panic_addr = 0, prefetch020 = {0, 0, 0}, prefetch020addr = 4294967295, cacheholdingdata020 = 0, cacheholdingaddr020 = 4294967295, ce020memcycles = 0, ce020tmpcycles = 4} (gdb) print regs.pc_p $3 = (uae_u8 *) 0x7ffff7ef7ffe "" |
13 September 2011, 13:49 | #79 |
Banned
Join Date: Jul 2010
Location: Earth
Age: 46
Posts: 500
|
|
13 September 2011, 19:05 | #80 |
Registered User
Join Date: Aug 2008
Location: Spain
Posts: 527
|
When I emulate a 68020 CPU and add cachesize=8192 (thus enabling JIT + direct memory access) in the latest git compiled for OSX with JIT support, I get:
Code:
JIT_APPLE: Can't handle acess! I suppose it's because PUE doesn't still support direct memory access (I can enable JIT with 68ec020 emulation), is that correct? (of course it's a 32bit i386 binary, but it's running on 64bit Snow Leopard). |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PUAE 2.5.1 beta series | GnoStiC | support.OtherUAE | 3 | 07 February 2016 20:09 |
PUAE 2.4.0 beta series | GnoStiC | support.OtherUAE | 74 | 26 January 2016 12:37 |
PUAE 2.3.0 beta series | GnoStiC | support.OtherUAE | 222 | 28 January 2011 06:09 |
PUAE 2.2.0 beta series | GnoStiC | support.OtherUAE | 65 | 15 September 2010 16:24 |
PUAE 2.2.1 beta series | GnoStiC | support.OtherUAE | 36 | 23 August 2010 16:32 |
|
|