Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Productions > VIC interrupts
2002-12-29 09:28
Cybernator

Registered: Jun 2002
Posts: 154
VIC interrupts

Can anyone tell me: In which cycle the VIC is, when a raster interrupt occurs? (on normal line, badline, if there're sprites...)

Any help is appreciated.
 
... 10 posts hidden. Click here to view all posts....
 
2002-12-30 17:01
CyberBrain
Administrator

Posts: 392
@cybernator: damn, i must have messed those 2 up then. It's been too long.. Gotta check my sources.
2002-12-31 12:24
Stryyker

Registered: Dec 2001
Posts: 468
I never thought of using $D011 method. The DMA delay issue doesn't always happen as easy as it seems. I had to do it in a FLD gap (idle gfx state). Another method is to use the CIA timer registers. I haven't figured out how they get it started. Lightpen X register can be used. It got messed up if space was pressed. Maybe some DDR of $DD02/$DD03 might fix that. I use the simpler double interrupt with first padded with NOPs.

With 8 sprites on screen check the timing charts - you need to simply shift the read forward some bytes. C= Hacking has it. I think 64doc or some other Marko text had it. I did plan to do this in a disk magazine but the coder who was to write about the methods I don't know has been very busy. I know in the past some writes to memory have made getting an interrupt stable a nightmare. Some effort and it'll all work out fine. Don't try to be too complex. If Singles Collection volume 2 was released then you would see a very simple double interrupt with $D012 comparing for the scroller stretcher.
Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
JackAsser/Booze Design
Higgie/Kraze/Slackers
Guests online: 86
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 The Demo Coder  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Wonderland XIV  (9.6)
10 Comaland 100%  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Triad  (9.2)
Top Crackers
1 Mr. Z  (9.9)
2 Antitrack  (9.8)
3 OTD  (9.8)
4 Fungus  (9.8)
5 S!R  (9.8)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.035 sec.