Re: [hatari-devel] New WinUAE core Falcon compatibility

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

On perjantai 02 tammikuu 2015, Nicolas Pomarède wrote:
> Le 02/01/2015 12:01, Eero Tamminen a écrit :
> > On torstai 01 tammikuu 2015, Nicolas Pomarède wrote:
> >> Le 01/01/2015 19:33, Eero Tamminen a écrit :
> >>> One thing that has regressed in Falcon emulation (not 060),
> >>> is GT2 playback with GemPlay. Now GT2 format playback bombs
> >>> out instead of just having bad sound.
> >> 
> >> never tried this. Is this with a particular module ? with or without
> >> mmu?
> > 
> > Using the yescrew.gt2 tune coming with GemPlay. Without MMU or TT-RAM.
> > 
> > I tested it more and it happens also with old WinUAE version
> > before you upgraded the CPU core.
> > 
> > GT2 playback works fine when using old UAE core though
> > (whereas with that, AM playback sounds just noise).
> 
> OK, I will try it myself. Does it crash always at the same point ?

It's not that deterministic because one can use the GEM
GUI at the same time as module is playing.

I suggest using "--debug-except all,autostart" and
"--parse history.ini" with:
-------- history.ini --------
history on
-----------------------------

Note that with newer GemPlay versions the module needs to
be in the directory where the file selector starts from
(^L opens file selector).


Here's a trace with GemPlay v1.49:
--------------------------------------------
GEMDOS 0x3D Fopen("C:\TUNES\YESCREW.GT2", read-only) at PC=0xFA002A
GEMDOS 0x42 Fseek(0, 64, 2) at PC 0xFA002A
GEMDOS 0x42 Fseek(0, 64, 0) at PC 0xFA002A
GEMDOS 0x3F Fread(64, 1331570, 0x861e8) at PC 0xFA002A
GEMDOS 0x3E Fclose(64) at PC 0xFA002A
XBIOS 0x69 Dsp_Unlock() at PC 0x1EA96
XBIOS 0x81 Unlocksnd() at PC 0x1EAA4
GEMDOS 0x44 Mxalloc(0x40000, 0x3) at PC 0xFA002A
GEMDOS 0x3D Fopen("plugins\gt2play.bin", read-only) at PC=0xFA002A
GEMDOS 0x42 Fseek(0, 64, 2) at PC 0xFA002A
GEMDOS 0x42 Fseek(0, 64, 0) at PC 0xFA002A
GEMDOS 0x3E Fclose(64) at PC 0xFA002A
GEMDOS 0x44 Mxalloc(0xE8EE, 0x3) at PC 0xFA002A
GEMDOS 0x3D Fopen("plugins\gt2play.bin", read-only) at PC=0xFA002A
GEMDOS 0x42 Fseek(0, 64, 2) at PC 0xFA002A
GEMDOS 0x42 Fseek(0, 64, 0) at PC 0xFA002A
GEMDOS 0x3F Fread(64, 29815, 0x20b35c) at PC 0xFA002A
GEMDOS 0x3E Fclose(64) at PC 0xFA002A
XBIOS 0xA0 (???)
XBIOS 0x26 Supexec(0x20B3B2) at PC 0x20B39E
XBIOS 0x80 Locksnd() at PC 0x20B5A8
XBIOS 0x68 Dsp_Lock() at PC 0x20B5B6
XBIOS 0x26 Supexec(0x20B9AA) at PC 0x20B99C
XBIOS 0x26 Supexec(0x20B632) at PC 0x20B614
XBIOS 0x71 Dsp_RequestUniqueAbility() at PC 0x20B642
XBIOS 0x6D Dsp_ExecProg(0x20DE62, 0x2DD, 0x8001) at PC 0x20B658
XBIOS 0x26 Supexec(0x20B3B2) at PC 0x20B39E
XBIOS 0x26 Supexec(0x20B3B2) at PC 0x20B39E
XBIOS 0xA0 (???)
XBIOS 0x26 Supexec(0x20B3B2) at PC 0x20B39E
XBIOS 0x26 Supexec(0x20B3B2) at PC 0x20B39E
XBIOS 0x26 Supexec(0x20B3B2) at PC 0x20B39E
Bus error exception at 0xe2a48a!

CPU=$e2a48a, VBL=276, FrameCycles=151900, HBL=296, LineCycles=348, DSP=$299
$00e2a48a : b06e 0008                          cmp.w     8(a6),d0
> d $00e2a486
$00e2a486 : 3028 0008                          move.w    8(a0),d0
$00e2a48a : b06e 0008                          cmp.w     8(a6),d0
$00e2a48e : 66e0                               bne.s     $e2a470
> r
  D0 0000FFFF   D1 00032282   D2 0000000B   D3 00000000 
  D4 00000000   D5 00000000   D6 00000001   D7 00030001 
  A0 FFFFFF00   A1 00032282   A2 000421F4   A3 00042284 
  A4 0003942C   A5 00042068   A6 0000C5B2   A7 0000C5A8 
USP  0004151E ISP  0000C5A8 SFC  00000000 DFC  00000000 
CACR 00003111 VBR  00000000 CAAR 00000000 MSP  00000000 
T=00 S=1 M=0 X=0 N=1 Z=0 V=0 C=0 IMASK=3 STP=0
Prefetch b06e (CMP) 0000 (OR) Chip latch 00000000
00E2A48A b06e 0008                CMP.W (A6, $0008) == $0000c5ba,D0
Next PC: 00e2a48e
> c
Returning to emulation...
Exception 2 (e2a486) at e2a486 -> e00fb6!
A-Trap a000 at e01028 (0x98958b6)
A-Trap a000 at e010a0 (0x989de0c)
A-Trap a00e at e010c0 (0x989de0c)
A-Trap a000 at e010a0 (0x9895948)
A-Trap a00e at e010c0 (0x989de0c)
Address error exception at 0xe3568a!

CPU=$e3568a, VBL=277, FrameCycles=109616, HBL=214, LineCycles=48, DSP=$1d3
$00e3568a : 2e79 0000 9a3a                     movea.l   $9a3a,sp
> d $00e35686
$00e35686 : 4cdf 0707                          movem.l   (sp)+,d0-d2/a0-a2
$00e3568a : 2e79 0000 9a3a                     movea.l   $9a3a,sp
$00e35690 : 4e75                               rts       
> r
  D0 00420089   D1 000A0000   D2 00000001   D3 0000FFBE 
  D4 00000000   D5 00000000   D6 00000010   D7 0000001C 
  A0 0000116A   A1 00E35664   A2 00003E86   A3 00042284 
  A4 0003942C   A5 00042068   A6 0000C5B2   A7 00009AAE 
USP  0004151E ISP  00009AAE SFC  00000000 DFC  00000000 
CACR 00003111 VBR  00000000 CAAR 00000000 MSP  00000000 
T=00 S=1 M=0 X=0 N=0 Z=0 V=0 C=0 IMASK=6 STP=0
Prefetch 2e79 (MOVEA) 0000 (OR) Chip latch 00000000
00E3568A 2e79 0000 9a3a           MOVEA.L $00009a3a,A7
Next PC: 00e35690
> c
Returning to emulation...
Exception 3 (e35686) at e35686 -> e00fb6!
A-Trap a000 at e01028 (0x98958b6)
A-Trap a000 at e010a0 (0x989de0c)
A-Trap a00e at e010c0 (0x989de0c)
A-Trap a000 at e010a0 (0x9895948)
A-Trap a00e at e010c0 (0x989de0c)
A-Trap a000 at e010a0 (0x9895948)
A-Trap a00e at e010c0 (0x989de0c)
GEMDOS 0x4C Pterm(-1) at PC 0xFA002A
--------------------------------------------


This is with latest v1.95:
--------------------------------------------
....
GEMDOS 0x3D Fopen("plugins\gt2play.bin", read-only) at PC=0xFA002A
GEMDOS 0x42 Fseek(0, 64, 2) at PC 0xFA002A
GEMDOS 0x42 Fseek(0, 64, 0) at PC 0xFA002A
GEMDOS 0x3F Fread(64, 29815, 0x20e1f0) at PC 0xFA002A
GEMDOS 0x3E Fclose(64) at PC 0xFA002A
XBIOS 0xA0 (???)
XBIOS 0x26 Supexec(0x20E246) at PC 0x20E232
XBIOS 0x80 Locksnd() at PC 0x20E43C
XBIOS 0x68 Dsp_Lock() at PC 0x20E44A
XBIOS 0x26 Supexec(0x20E83E) at PC 0x20E830
XBIOS 0x26 Supexec(0x20E4C6) at PC 0x20E4A8
XBIOS 0x71 Dsp_RequestUniqueAbility() at PC 0x20E4D6
XBIOS 0x6D Dsp_ExecProg(0x210CF6, 0x2DD, 0x8001) at PC 0x20E4EC
XBIOS 0x26 Supexec(0x20E246) at PC 0x20E232
XBIOS 0x26 Supexec(0x20E246) at PC 0x20E232
XBIOS 0xA0 (???)
XBIOS 0x26 Supexec(0x20E246) at PC 0x20E232
XBIOS 0x26 Supexec(0x20E246) at PC 0x20E232
XBIOS 0x26 Supexec(0x20E246) at PC 0x20E232
XBIOS 0x25 Vsync() at PC 0x3671A
Address error exception at 0xe03cac!

CPU=$e03cac, VBL=699, FrameCycles=83398, HBL=162, LineCycles=454, DSP=$1d3
$00e03cac : 4e73                               rte       
> d $00e03ca2
$00e03ca2 : 4cdf 7fff                          movem.l   (sp)+,d0-d7/a0-a6
$00e03ca6 : 11fc 00df fa11                     move.b    #$df,$fffffa11.w
$00e03cac : 4e73                               rte       
> r
  D0 00000008   D1 00009124   D2 00030000   D3 00000000 
  D4 00000000   D5 00000000   D6 00000001   D7 0004001F 
  A0 00003AF8   A1 00003AF8   A2 0000F8F2   A3 00001DC0 
  A4 000088AE   A5 0000F8F2   A6 000099A4   A7 00009988 
USP  00043CE8 ISP  00009988 SFC  00000000 DFC  00000000 
CACR 00003111 VBR  00000000 CAAR 00000000 MSP  00000000 
T=00 S=1 M=0 X=0 N=1 Z=0 V=0 C=0 IMASK=6 STP=0
Prefetch 4e73 (RTE) 0000 (OR) Chip latch 00000000
00E03CAC 4e73                     RTE 
Next PC: 00e03cae
> c
Returning to emulation...
Exception 3 (e03ca6) at e03ca6 -> e00fb6!
A-Trap a000 at e01028 (0x98958b6)
A-Trap a000 at e010a0 (0x989de0c)
A-Trap a00e at e010c0 (0x989de0c)
A-Trap a000 at e010a0 (0x9895948)
A-Trap a00e at e010c0 (0x989de0c)
A-Trap a000 at e010a0 (0x9895948)
A-Trap a00e at e010c0 (0x989de0c)
GEMDOS 0x4C Pterm(-1) at PC 0xFA002A
--------------------------------------------


	- Eero



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/