English Amiga Board


Go Back   English Amiga Board > Support > support.Other

 
 
Thread Tools
Old 22 March 2008, 20:55   #1
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,162
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, 13:41   #2
girv
Mostly Harmless
 
girv's Avatar
 
Join Date: Aug 2004
Location: Northern Ireland
Posts: 1,109
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, 14:16   #3
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,162
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, 14:55   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
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 offline  
 


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 12:11
Removing the IDE Wait on Kickstart 3.1 Zetr0 support.Hardware 26 16 June 2010 08:31
'Wait' program that checks for a joy button press instead of 'Return' key... Heavy Stylus request.Apps 7 10 May 2009 19:01
HD won't boot now..wait failed returncode? Amigan25 project.ClassicWB 2 08 June 2007 18:21
Wait a sec - what about Macs? Computolio Amiga scene 10 02 June 2004 07: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 03:36.

Top

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