English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 30 September 2019, 22:26   #21
meynaf
son of 68k
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 46
Posts: 3,595
The problem here is that VERTB and BLIT share the same interrupt vector.
And the IRQ is set even if not enabled (this is actually useful, you may want to poll events this way).

Therefore the code will work fine by simply replacing :
Code:
UWORD intreqr = custom->intreqr;
by :
Code:
UWORD intreqr = custom->intreqr & custom->intenar;
meynaf is online now  
Old 30 September 2019, 22:43   #22
deimos
Registered User

 
Join Date: Jul 2018
Location: Londonish / UK
Posts: 428
Quote:
Originally Posted by meynaf View Post
The problem here is that VERTB and BLIT share the same interrupt vector.
And the IRQ is set even if not enabled (this is actually useful, you may want to poll events this way).

Therefore the code will work fine by simply replacing :
Code:
UWORD intreqr = custom->intreqr;
by :
Code:
UWORD intreqr = custom->intreqr & custom->intenar;
Yes, that's exactly what I've done. Everything now works and seems solid.
deimos 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
Copper Interrupts and Blit Performance mcgeezer Coders. Asm / Hardware 14 04 May 2019 03:15
Damn Interrupts mcgeezer Coders. Asm / Hardware 10 24 March 2019 17:50
Blitz- cannot blit a shape peceha Coders. Blitz Basic 4 22 December 2018 12:57
CIA interrupts... bloodline Coders. System 6 18 January 2018 11:33
How to calculate possible blit times? Steril707 Coders. Asm / Hardware 14 28 October 2016 13:41

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 11:06.


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