22 March 2008, 20:55 | #1 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,360
|
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? |
23 March 2008, 13:41 | #2 |
Mostly Harmless
Join Date: Aug 2004
Location: Northern Ireland
Posts: 1,149
|
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?
|
23 March 2008, 14:16 | #3 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,360
|
|
23 March 2008, 14:55 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
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)
|
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 |
|
|