29 May 2010, 19:50 | #1 |
Bug hunter
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
|
whdload issue reintroduced?
Mmmmh, it was since WUAE 2.0.2b10 (2010.02.10) I didn't update WUAE...
Bad news to report: the mysterious WHDLoad freeze on game startup bug has been reintroduced with 2.1.0 and current 2.2.0b6. Moreover some games have serious timinig issues and are very slow, just like Dynablaster (always WHDLoad) that did work fine... |
29 May 2010, 19:54 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
This isn't 2.2 beta related either..
|
29 May 2010, 19:56 | #3 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Can you find the beta that re-introduced this? All 2.1 betas should be still available for download.
EDIT: I can duplicate Dynablaster slowdown. EDIT2: black screen issue is solved I think but in my opinion whdload should be modified because any "too fast" Amiga can trigger this condition if it also tries to handle hpos "offset". (vpos increments when hpos is ~4, not when hpos changes to 0!) Last edited by Toni Wilen; 29 May 2010 at 20:28. |
29 May 2010, 20:36 | #4 | |
Bug hunter
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
|
Quote:
He's just about to release WHD 17.0. |
|
30 May 2010, 11:54 | #5 |
Moderator
Join Date: Nov 2001
Location: Germany
Posts: 866
|
@Toni: does it hang inside whdload? can you give me a code snippet?
|
30 May 2010, 14:19 | #6 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
I don't anymore remember the exact reason but it is this piece of code:
Code:
2FFD7B62 277c 0000 1004 0080 MOVE.L #$00001004,(A3, $0080) == $00dff080 2FFD7B6A 082b 0000 0005 BTST.B #$0000,(A3, $0005) == $00dff005 2FFD7B70 67f8 BEQ.B #$fffffff8 == $2FFD7B6A 2FFD7B72 082b 0000 0005 BTST.B #$0000,(A3, $0005) == $00dff005 2FFD7B78 66f8 BNE.B #$fffffff8 == $2FFD7B72 2FFD7B7A 377c 8280 0096 MOVE.W #$8280,(A3, $0096) == $00dff096 2FFD7B80 4a39 00bf e001 TST.B $00bfe001 2FFD7B86 082b 0002 001f BTST.B #$0002,(A3, $001f) == $00dff01f 2FFD7B8C 67f2 BEQ.B #$fffffff2 == $2FFD7B80 2FFD7B8E 4a39 00bf e001 TST.B $00bfe001 If for some reason "old" adress is also 1004 or copper has been strobed earlier, first few moves at 1004 can be executed twice, copper pointer gets changed and this hangs because move to intreq never happens. Polling until vpos is larger than 0, strobe copper, enable copper DMA should prevent all side effects even if timing is weird Not sure if either is real problem but I remember it hanging in that INTREQR loop in JIT modes if hpos "offset" is emulated. (I disabled this now if JIT is enabled, it is pointless because JIT breaks required timing anyway ) |
30 May 2010, 16:58 | #7 | ||
Moderator
Join Date: Nov 2001
Location: Germany
Posts: 866
|
Quote:
Quote:
Ok, I will change it that way. |
||
30 May 2010, 17:02 | #8 | ||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Quote:
Quote:
|
||
30 May 2010, 18:10 | #9 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
[dynablaster slowdown]
Mumblemumble (difficult to talk clearly while wearing brown paper bag, sorry about that) Lets try again.. krhm.. in some situations if JIT is enabled, reading INTREQR can return bit 15 set.. When this happens MOVE INTREQR to INTREQ causes some less than fun side effects.. EDIT: http://www.winuae.net/files/b/winuae.zip should fix this, please confirm. Last edited by Toni Wilen; 30 May 2010 at 19:19. |
31 May 2010, 10:10 | #10 |
Bug hunter
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
|
Yes, Dynablaster now works fine.
ElfMania WHD always freezes after intro screen, but I think it's the same black screen freeze problem discussed above... |
31 May 2010, 11:50 | #11 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
|
31 May 2010, 16:14 | #12 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Quote:
Same black screen in other games that also had it few winuae versions ago? btw, Elfmania whdload version pokes DSKPT and DSKLEN continuously (slave 1.2) Code:
00080548 426c 00dc CLR.W (A4, $00dc) == $00080384 0008054C 2b7a 073e 0020 MOVE.L (PC,$073e) == $00080c8c,(A5, $0020) == $00dff020 00080552 3b7c 1002 009c MOVE.W #$1002,(A5, $009c) == $00dff09c 00080558 3b7c 4000 0024 MOVE.W #$4000,(A5, $0024) == $00dff024 0008055E 3b7c 8014 0024 MOVE.W #$8014,(A5, $0024) == $00dff024 00080564 3b7c 8014 0024 MOVE.W #$8014,(A5, $0024) == $00dff024 0008056A 487a 0032 PEA.L (PC,$0032) == $0008059e 0008056E 289f MOVE.L (A7)+,(A4) 00080570 4e75 RTS.L |
|
31 May 2010, 17:54 | #13 | |
Bug hunter
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
|
Quote:
Doesn't happen with old beta WUAE 2.0.2b10 (2010.02.10) EDIT: I was wrong. Runs fine with latest beta... Last edited by hexaae; 31 May 2010 at 18:04. |
|
01 June 2010, 09:34 | #14 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Issue with whdload and ACA1232? | ascp | project.WHDLoad | 4 | 01 July 2013 21:55 |
WHDload controls issue | csc2ya | support.Amiga Forever | 0 | 18 June 2013 03:46 |
whdload input issue | MagikGimp | support.WinUAE | 3 | 24 July 2012 16:52 |
WHDLoad Keyfile issue | DC33 | support.Apps | 19 | 12 July 2008 09:34 |
WHDLoad Issue | [Mr_L] | Amiga scene | 0 | 19 January 2004 23:15 |
|
|