English Amiga Board


Go Back   English Amiga Board > Support > support.Other

 
 
Thread Tools
Old 22 March 2008, 21:55   #1
jotd
This cat is no more
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 48
Posts: 3,304
timed wait using CIAs

Hi,

I've been hacking around for 15 years but I still cannot figure out a "clean" method to avoid an active delay loop using the CIAs.

I have a method using VPOS that we use extensively in whdload fixes, but it fails in that particular case (seems to interfere with the processing and gfx is trashed)

Anyone has a "generic" CIA timing routine?
jotd is offline  
Old 23 March 2008, 14:41   #2
girv
Registered User

girv's Avatar
 
Join Date: Aug 2004
Location: Northern Ireland
Posts: 924
I've uploaded source code of my blitter speed test WHD slave to the Zone. It includes an example use of CIA interval timing. Maybe that will be useful?
girv is offline  
Old 23 March 2008, 15:16   #3
jotd
This cat is no more
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 48
Posts: 3,304
Quote:
Originally Posted by girv View Post
I've uploaded source code of my blitter speed test WHD slave to the Zone. It includes an example use of CIA interval timing. Maybe that will be useful?
thanks, I think I can use it.
jotd is offline  
Old 23 March 2008, 15:55   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 23,359
Extrmely stupid but simple delay: poll any CIA register in a loop, CIA accesses have same (very slow) speed on all Amiga models (if the problem only happens when polling "Agnus bus" = chip ram or custom registers)
Toni Wilen is online now  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASM: Wait for Vertical Blank Asman Coders. Tutorials 75 01 October 2019 13:11
Removing the IDE Wait on Kickstart 3.1 Zetr0 support.Hardware 26 16 June 2010 09:31
'Wait' program that checks for a joy button press instead of 'Return' key... Heavy Stylus request.Apps 7 10 May 2009 20:01
HD won't boot now..wait failed returncode? Amigan25 project.ClassicWB 2 08 June 2007 19:21
Wait a sec - what about Macs? Computolio Amiga scene 10 02 June 2004 08:23

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 08:17.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.06864 seconds with 13 queries