English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 09 April 2024, 18:47   #1
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,801
Error in HowToCode?

The part about interrupt said :
moveq.l #INTB_VERTB,d0 ; INTB_COPER for copper interrupt
But still is vertical blank like above right?

https://jvaltane.kapsi.fi/amiga/howt...nterrupts.html
kamelito is offline  
Old 09 April 2024, 18:53   #2
paraj
Registered User
 
paraj's Avatar
 
Join Date: Feb 2017
Location: Denmark
Posts: 1,105
Quote:
Originally Posted by kamelito View Post
The part about interrupt said :
moveq.l #INTB_VERTB,d0 ; INTB_COPER for copper interrupt
But still is vertical blank like above right?

https://jvaltane.kapsi.fi/amiga/howt...nterrupts.html

It's just saying "If you want to install a copper interrupt routine instead, change INTB_VERTB to INTB_COPER here". So yes, it is installing a vblank handler.
paraj is offline  
Old 09 April 2024, 20:03   #3
a/b
Registered User
 
Join Date: Jun 2016
Location: europe
Posts: 1,039
If you use INTB_COPER you will have to manually set the corresponding bit in INTREQ in your copper list (e.g. $009c,$8010), because it's not set/triggered by any actual event, it's strictly manually triggered. The reason for that is to have a unique source for the copper itself and not have to use/share any of the other bits (so you can easily identify the interrupt source).
a/b 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
WHDLoad error: error during 'resload_LoadKick' on monkey island & others jamespstevenson project.GameBase Amiga 14 20 February 2014 05:33
ERROR: Metal Masters (Illegal Instruction / Address Error / Black Screen) killergorilla project.Killergorilla's WHD packs 7 25 March 2012 15:32
Matrix calculation questions (HowToCode) kae Coders. General 3 20 January 2012 02:42
ERROR: Leisure Suit Larry Enhanced (Address Error) batwinky project.Killergorilla's WHD packs 23 30 January 2011 13:00
(ERROR) Shadow Warriors - DOS Error #219 Retro-Nerd project.Killergorilla's WHD packs 5 04 January 2009 16:26

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 00:28.

Top

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