From: Hetz B. H. <he...@wi...> - 2002-01-16 18:26:51
|
> Probably "someone" is trying to access above the SratchMemory area. It > could be a compiler bug too. Please try compiling with optimizations off > (edit the CXXFLAGS in Makefile). CXXFLAGS = -O2 -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -fno-merge-constants ^^ thats what I modified, which brings the same problem (same error). removing also the -fno-merge-constants make B2 screams "floating point exception". > > Playing with the .basilisk_ii_prefs file didn't help much, also tried > > several ROMs of Quadra, Performa, different processors emulation - didn't > > help a single bit. > > Are you operating in windowed mode or DGA? Still crashes even in 68030 > mode with/without FPU? I tried to compile with and without DGA support - same error. > > > The problem appear on version 0.9, current CVS snapshot, and the JIT > > version. It doesn't appear on the 0.8 version. > > > > BTW: the configure script seems to have some problems: trying to disable > > ESD (I'm using KDE) or VSOF (for testing) simply doesn't work. > > VOSF is mandatory for Direct and Real Addressing modes. B2 will work for > you if configured with --enable-addressing=banks. But that's not an > option, it has to work in other modes too. Actually, it doesn't work well - I get on the "mac" - "sorry, a system error occured. "system" "illegal instruction" And on the console: Illegal instruction: 000b at 00034888 Thats on the 68030 with FPU, or with 68040. With the 68040 mode I get at the console: Illegal instruction: 000b at 0003c9dc > I am looking forward to helping you but I can't reproduce here on my > system (Mandrake Linux 8.1 or Cooker). So may I suggest you compile B2 > with cxmon builtin and the attached patch? > > Have you tried with --diable-xf86-vidmode ? --enable-fpe=uae ? ./configure --disable-xf86-vidmode --enable-fpe=uae --disable-xf86-dga gives the exact same error. Now trying with your patch: Output of standard configure without any parameters: Unix]$ ./BasiliskII Basilisk II V1.0 by Christian Bauer et al. ScratchMem starts at 0x44617000 (+/- 32 KB) Mac RAM starts at 0x4050f000 (00000000) Mac ROM starts at 0x4450f000 (04000000) Reading ROM file... Using /dev/dsp audio output LMGlob Ofs/4 Base 0x01d4 2 0x50f00000 0x01d8 3 0x50f04000 0x01dc 4 0x50f04000 0x01d8 17 0x50f0c020 0x01dc 17 0x04108000 0x01e0 5 0x50f16000 0x01e0 16 0x50f1e020 0x0b0a 6 0x00000000 0x0312 6 0x04108000 0x0266 7 0x00000000 0x0c00 8 0x50f10000 0x0c04 9 0x50f12000 0x0c08 10 0x50f06000 0x0cec 11 0x50f02000 0x0cc0 12 0x50f14000 0x0cec 13 0x50f26000 0x0c00 15 0x50f18000 0x0c04 15 0x04108000 0x0c08 15 0x04108000 0x0cec 18 0x00000000 do_handle_screen_fault: unhandled address 0x44ae0380 [IP=0x80a17cc] D0: 00000000 D1: fffcffff D2: fffffffc D3: 0400000f D4: 0003fffc D5: 00000000 D6: 00000012 D7: 00000000 A0: 0000003c A1: 00000002 A2: 00006bd0 A3: 00006fdc A4: 000067c4 A5: 045d1380 A6: 00000000 A7: 020009a6 USP=00000000 ISP=020009a6 MSP=00000000 VBR=00000000 T=00 S=1 M=0 X=1 N=1 Z=0 V=0 C=0 IMASK=0 FP0: 0 FP1: 0 FP2: 0 FP3: 0 FP4: 0 FP5: 0 FP6: 0 FP7: 0 N=0 Z=0 I=0 NAN=0 0402e8e8: 2815 28c4 c081 c284 8287 MOVE.L (A5),D4 next PC: 0402e8ea testing: ./configure --disable-xf86-vidmode --enable-fpe=uae --disable-xf86-dga (with your patch): Unix]$ ./BasiliskII Basilisk II V1.0 by Christian Bauer et al. ScratchMem starts at 0x44617000 (+/- 32 KB) Mac RAM starts at 0x4050f000 (00000000) Mac ROM starts at 0x4450f000 (04000000) Reading ROM file... Using /dev/dsp audio output LMGlob Ofs/4 Base 0x01d4 2 0x50f00000 0x01d8 3 0x50f04000 0x01dc 4 0x50f04000 0x01d8 17 0x50f0c020 0x01dc 17 0x04108000 0x01e0 5 0x50f16000 0x01e0 16 0x50f1e020 0x0b0a 6 0x00000000 0x0312 6 0x04108000 0x0266 7 0x00000000 0x0c00 8 0x50f10000 0x0c04 9 0x50f12000 0x0c08 10 0x50f06000 0x0cec 11 0x50f02000 0x0cc0 12 0x50f14000 0x0cec 13 0x50f26000 0x0c00 15 0x50f18000 0x0c04 15 0x04108000 0x0c08 15 0x04108000 0x0cec 18 0x00000000 do_handle_screen_fault: unhandled address 0x44ae0380 [IP=0x809b5d4] D0: 00000000 D1: fffcffff D2: fffffffc D3: 0400000f D4: 0003fffc D5: 00000000 D6: 00000012 D7: 00000000 A0: 0000003c A1: 00000002 A2: 00006d14 A3: 00007120 A4: 00006908 A5: 045d1380 A6: 00000000 A7: 020009a6 USP=00000000 ISP=020009a6 MSP=00000000 VBR=00000000 T=00 S=1 M=0 X=1 N=1 Z=0 V=0 C=0 IMASK=0 FP0: 0 FP1: 0 FP2: 0 FP3: 0 FP4: 0 FP5: 0 FP6: 0 FP7: 0 N=0 Z=0 I=0 NAN=0 0402e8e8: 2815 28c4 c081 c284 8287 MOVE.L (A5),D4 next PC: 0402e8ea Segmentation fault Any other ideas? I'm on IRC in irc.kde.org server (on channel #winehq) - feel free to contact me and I'll let you in to 1 of my machines if you want to test or change B2.. Thanks, Hetz |