English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 16 February 2013, 19:37   #1
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,647
Non-cycle exact mode in 2.5.1

I installed WinUAE cleanly again on my PC to have something to test converted samples on quickly and transfer to (Amiga-formatted) CF.

1) If I use Fastest possible+cycle exact chipset off, Protracker 3.15 can't set loopvalue at the correct time, with any vblank, cia, or soft interrupt setting. So the interrupts are executed too fast or out of order. CIA interruptcounters probably already run at normal speed even if cycle exact is off? But the interrupt code seems to be executed at the wrong time despite this.

2) Non cycle exact also causes problems with system-friendly keyboard routines, Amiga-M f.ex. is repeated erratically, or Esc key in Asm-One 1.20. (Sometimes once, twice or 3 times with just a short press.)

Actually 2) seems to work if I go Cycle Exact for CPU and chipset, and then uncheck for both again It didn't fix 1), though.

Also, sometimes it's black window for 20 seconds before booting, if my CF card is in the reader. (not related to above)

Config attached. Bootlog is from normal CF boot, normal 3 seconds black window.
Attached Files
File Type: uae A1200.uae (18.2 KB, 197 views)
File Type: txt winuaebootlog.txt (15.8 KB, 191 views)
Photon is offline  
Old 16 February 2013, 19:45   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,546
I use asmone very regularly without cycle-exact and never had any screen switching or keyboard problems.

You sure you don't have some weird system helper utilities running?

EDIT: also can't say anything without winuaelog.txt.

EDIT2: your config has cycle exact enabled? Also never use it with 68030+ unless you really know what it means.

Last edited by Toni Wilen; 16 February 2013 at 19:54.
Toni Wilen is online now  
Old 16 February 2013, 20:09   #3
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,647
OK, sounds promising And Fastest possible CPU+68060?

I'm using the same startup-sequence as for my real A1200-060, if that's what you mean. I shut down Autohotkey and Sound Volume Hotkeys (Windows), and got the Esc-repeat bug again now. Happens in Asm-One 1.02+ also. I've of course also used the same programs before in WinUAE and didn't get this problem. I noticed when I was cleaning up a source that I typed commands into the source and instructions on the command line I will set keyrepeat in Windows to slowest and see if that helps. (Edit: nope.)

I've used PT 3.15 before in WinUAE too of course. The only difference from before for both programs is that I don't run cycle-exact, which I did before.

The 'theory' about interrupts is probably wrong, though. So it's just two things that happen when you uncheck cycle exact. I think it's just for the CPU non cycle exact.

20 second wait before leaving blackscreen happened again now. Could it be looking at all external harddrives and waiting for spinup? Edit: happened again a bit later when CF was no longer in the reader. So unrelated to the CF.

Edit: booted with no startup-sequence now and ran Asmone from CLI. Same bug.
Edit: will give you winuaelog.txt.

Last edited by Photon; 16 February 2013 at 20:54.
Photon is offline  
Old 16 February 2013, 20:59   #4
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,647
Quote:
Originally Posted by Toni Wilen View Post
I use asmone very regularly without cycle-exact and never had any screen switching or keyboard problems.

You sure you don't have some weird system helper utilities running?

EDIT: also can't say anything without winuaelog.txt.

EDIT2: your config has cycle exact enabled? Also never use it with 68030+ unless you really know what it means.
Weird. Here is the config. Can't find winuaelog.txt under G:\WinuAE or under docs and settings.
Attached Files
File Type: uae A1200.uae (19.3 KB, 193 views)
Photon is offline  
Old 16 February 2013, 21:03   #5
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,867
Have you ticked this box:



? (sorry... couldn't resist )
TCD is offline  
Old 16 February 2013, 21:18   #6
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,546
And also test with normal 68020 configuration first. (and test latest beta too)
Toni Wilen is online now  
Old 16 February 2013, 21:24   #7
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,647
Quote:
Originally Posted by TheCyberDruid View Post
Have you ticked this box:



? (sorry... couldn't resist )
I have now. (Didn't it use to create that log file by default before?)

Also attached a winuaebootlog.txt (run after cycle exact unchecked), if you didn't have that Toni.
Attached Files
File Type: txt winuaebootlog.txt (15.8 KB, 188 views)
File Type: txt winuaelog.txt (17.9 KB, 203 views)
Photon is offline  
Old 16 February 2013, 21:26   #8
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,647
Quote:
Originally Posted by Toni Wilen View Post
And also test with normal 68020 configuration first. (and test latest beta too)
Sure, 68020 without cycle exact?

Nothing special to consider, just unzip the beta over 2.5.1?

Edit: Results 2.5.1, 68020:
Keyboard bug: even in 68020 normal mode, and also with Fastest Possible/chipset nonexact.

Protracker setloop: bugs if Fastest Possible is on, otherwise not. (Just as with 68060.)

Edit: Results beta:
(to be tested)

Last edited by Photon; 16 February 2013 at 21:45.
Photon is offline  
Old 16 February 2013, 21:33   #9
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,867
Quote:
Originally Posted by Photon View Post
(Didn't it use to create that log file by default before?)
It has been a Misc option for quite a while now
TCD is offline  
Old 16 February 2013, 21:36   #10
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,546
Just unpack the exe, nothing else needed.

But you should first minimize unknown variables, remove all unneeded harddrives etc. winuaelog.txt shows nothing interesting (except huge number of harddrives)

winuaelog.txt has never been created by default because it can slow down emulation.
Toni Wilen is online now  
Old 16 February 2013, 22:36   #11
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,647
Same behavior in beta 7, see logs.

Edit:
Regarding the Protracker bug, it bugs with 68020 cycle exact and no startup-sequence - with CIA timing and softint on. With CIA timing and softint off, it works with cycle exact off and normal 68020. If I drag the slider to 500% or turn on fastest possible, it bugs again. Smells like 'too fast for CPU wait loop', except it works on real fast Amigas.
Attached Files
File Type: txt winuaebootlog.txt (15.9 KB, 179 views)
File Type: txt winuaelog.txt (17.3 KB, 198 views)

Last edited by Photon; 17 February 2013 at 00:05.
Photon is offline  
Old 17 February 2013, 10:59   #12
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,546
Quote:
Originally Posted by Photon View Post
Regarding the Protracker bug, it bugs with 68020 cycle exact and no startup-sequence - with CIA timing and softint on. With CIA timing and softint off, it works with cycle exact off and normal 68020. If I drag the slider to 500% or turn on fastest possible, it bugs again. Smells like 'too fast for CPU wait loop', except it works on real fast Amigas.
Note that 68020+ CPU automatically (if not CE) will enable audio hacks that prevent buggy CPU timed DMA waits to not cause lost notes.

Attach bootable test disk image or zip archive (contains everything needed + short instructions. Make sure problem can be heard in max 30s or I lose interest and quite the emulator )
Toni Wilen is online now  
Old 17 February 2013, 13:32   #13
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,647
Ah. Didn't know this. An option to hack or not to hack maybe fixes the ones that do it correctly? Or something. My crystal ball (I have one too) says playroutine waits for rasterchange a few times if softint is off, and there's no DMAwait value so there's no DBF d0-loop.

Anyway here is a little zip file
Attached Files
File Type: zip ToToni.zip (98.7 KB, 185 views)
Photon is offline  
Old 18 February 2013, 21:15   #14
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,647
It's not related to 68020, 68000 in non cycle exact + fastest possible also causes the Protracker sound bug. Just made a standard A600 3.1 8MB normal fastmem config, same phenomenon.
Photon is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
More cycle-exact speeds Leandro Jardim request.UAE Wishlist 5 28 June 2013 08:44
cycle-exact or not? brolly support.WinUAE 10 27 March 2012 16:18
Cycle-Exact and A1200 Another World New to Emulation or Amiga scene 2 15 December 2008 20:38
Cycle-Exact tim_calladine support.WinUAE 1 24 October 2008 15:57
Cycle exact really slow FreakyDan support.WinUAE 0 19 May 2004 22:22

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 22:57.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09931 seconds with 16 queries