23 April 2003, 15:01 | #1 |
Zone Friend
Join Date: Mar 2003
Location: uk
Posts: 426
|
Captured Dreams from TBL problems
I try for ages with each new version of WinUAE to watch CD from TBL and always same "#!!@$%"!" black screen...
Is anybody able to watch it? Any suggestion about the config? |
23 April 2003, 17:16 | #3 |
Registered User
Join Date: Jan 2003
Location: South-West Wales
Posts: 382
|
It's a shame, because I've seen this on my real A1200 a few times, and some areas could use a boost in the CPU department. But as you said, it doesn't want to work at all in WinUAE.
|
23 April 2003, 17:23 | #4 |
Zone Friend
Join Date: Mar 2003
Location: uk
Posts: 426
|
The demo works fine on my 68030, 68040 and 68060 amigas.
Does it work on 68020? |
23 April 2003, 17:28 | #5 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,645
|
I dont think it works on 020s.
Anywya, this one's a bitch to run in my real A1200. Only way to make it run without it crashing, is by loading it first thing when you turn on the machine. If you do it after loading some other stuff, it crashes. Seems like it relies in a completely CLEAN memory. Great demo |
23 April 2003, 17:55 | #6 | |
Registered User
Join Date: Jan 2003
Location: South-West Wales
Posts: 382
|
Quote:
I should get some more memory, currently 2mb chip + 8mb fast. |
|
23 April 2003, 17:58 | #7 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
Try copying demo files to RAM: (this time the problem appears to be caused by bug in demo instead of UAE filesystem because all UAE filesystem call parameters and return codes look fine)
|
23 April 2003, 18:07 | #8 |
Zone Friend
Join Date: Mar 2003
Location: uk
Posts: 426
|
Bloody hell it works in RAM: !!!!!
So it comes a question now... Does WinUAE should manage that kind of bugs ? |
23 April 2003, 18:09 | #9 |
Zone Friend
Join Date: Mar 2003
Location: uk
Posts: 426
|
oops, I spoke too fast...
the demo crashs at the dolphin part. |
23 April 2003, 18:35 | #10 |
Zone Friend
Join Date: Mar 2003
Location: uk
Posts: 426
|
I tried different configuration but always the same thing...
The music still playing but screen freeze. At least I have the beguining |
23 April 2003, 19:32 | #11 | |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,645
|
Quote:
Try loading it up first thing after booting up WinUAE. Might do the trick. I never tried copying it to RAM: tough. I only have 32MB , goddarnit |
|
23 April 2003, 19:37 | #12 |
Zone Friend
Join Date: Mar 2003
Location: uk
Posts: 426
|
I did
|
23 April 2003, 19:45 | #13 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
I found the reason for freeze: demo disables some interrupts and one of the disabled interrupts (EXTER) is needed by UAE to jump between native and m68k code. After disabling the interrupts demo tries to load data files from filesystem which of course stops responding..
No EXTER-interrupt -> filesystem, bsdsocket etc.. all "expansion" devices stop working correctly. Fortunately (?) there is easy fix, changing interrupt from level 6 to level 2 which is not disabled because A1200/4000 IDE-hardware uses level 2 interrupt and also because there will be (I am absolute sure...) other buggy HD installable demos or games.. |
23 April 2003, 20:02 | #14 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
I knew there was other buggy games that disabled EXTER-interrupt. Old Timer also works now!
|
23 April 2003, 20:51 | #15 |
Zone Friend
Join Date: Mar 2003
Location: uk
Posts: 426
|
Hehe
the best news of the day. Any idea about the freezing during the demo? I start from a fresh boot, choose boot with no startup copy my files with copy #? ram: and execute... It can't be cleaner ? |
24 April 2003, 03:29 | #16 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,645
|
unclean it a bit: run setpatch before booting the demo.
see what happens. (procedure would be: * boot Amiga * boot without startup-sequence * run setpatch * run demo *pray ) |
24 April 2003, 10:54 | #17 |
Zone Friend
Join Date: Mar 2003
Location: uk
Posts: 426
|
On Amiga the demo refuse to start without Setpatch, but not on WinUAE.
Anyway I tried with setpatch on UAE but the problem is still the same :/ |
24 April 2003, 15:29 | #18 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
Disassembly from CD-demo:
Code:
1005137c 2039 00df f104 MOVE.L $00dff104,D0 10051382 0280 0001 ff00 AND.L #$0001ff00,D0 10051388 0c80 0001 1800 CMP.L #$00011800,D0 1005138e 66ec BNE.B #$ffffffec == 1005137c 10051390 41f9 1028 48bc LEA.L $102848bc,A0 Reading from write-only/non-existing registers return something interesting depending on many things like chipset type, state of other dma channels etc... WinUAE emulates this about 90% correctly only in 68000/ECS Agnus-mode.. Easy workaround: wait until demo freezes, press SHIFT+F12 (in windowed mode), type d<return>, check address after BNE.B-line. type g <address><return> (10051390 in this example) and demo continues. |
24 April 2003, 18:55 | #19 |
Zone Friend
Join Date: Mar 2003
Location: uk
Posts: 426
|
Hehe it works
here |
26 April 2003, 18:45 | #20 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
I added hack that fixes dolphin part crash and also other programs with similar bug. (for example Codertrash and unpatched Industrial Fudge - Director's Cut)
It may or may not be included in R7 because it can cause some side-effects, more testing needed.. Last edited by Toni Wilen; 26 April 2003 at 18:51. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Magia/TBL music | PopoCop | request.Demos | 6 | 21 October 2012 16:52 |
Wanted: Wasted Dreams (Amiga CD, Digital Dreams Entertainment) | dex | MarketPlace | 1 | 11 August 2012 15:52 |
Silkcut/TBL | Bobic | support.Demos | 18 | 13 July 2008 15:52 |
Music from MAGIA by TBL | tomcat666 | request.Modules | 7 | 07 September 2003 14:25 |
TBL-Captured Dreams | Amiga1992 | support.Demos | 0 | 05 March 2002 21:50 |
|
|