|
Atari coding BBS
Re: Another STE question |
Posted by: evil
|
May,12.2012-18:24
|
Well I can't tell for sure what's going on, BUT the blitter will also delay VBL, just as it delays other interrupts.
An idea is to do the VBL interrupt just as you do the lower border - switch off the blitter first thing, do VBL stuff:
1. Set screen address
2. Set bg colour say $0700 directly after setting screen
3. Start and setup Timer-B as usual from VBL
Here I assume you use Timer-B for rasters (it's hard to know from the few details we have got :)
4. First raster colour, make it $0070 or so
Now, will the top border be red and first raster setting green, without flickers ? Then it seems pretty stable to me.
There is one thing.. If the blitter bus-period begins just before when the VBL starts, maybe the screen address settings will be delayed for too long. I'm not sure how close to the interrupt the registers must be set. One solution to this is to update screen address at say the lower border rout, then you know it will be done long before VBL and it shouldn't be delayed.
However all this also suggests that your rout is not running within 1 VBL, and that's why the blitter pass will go past VBL 1 and delay VBL 2. Hopefully the above thing will help fixing it.
--
Anders Eriksson
ae@dhs.nu
|
[All messages in this thread] [Start new thread]
Topic
|
Posted by
|
Date
|
Another STE question
|
Bod/STAX
|
May,10.2012-20:28
|
Re: Another STE question
|
RA/pdx
|
May,11.2012-11:56
|
Re: Another STE question
|
Bod/STAX
|
May,11.2012-13:06
|
Re: Another STE question
|
Cyprian
|
May,11.2012-13:17
|
Re: Another STE question
|
RA/pdx
|
May,11.2012-21:04
|
Re: Another STE question
|
Bod/STAX
|
May,12.2012-12:41
|
Re: Another STE question
|
evil
|
May,12.2012-14:45
|
Re: Another STE question
|
Bod/STAX
|
May,12.2012-17:56
|
Re: Another STE question
|
evil
|
May,12.2012-18:24
|
Re: Another STE question
|
Bod/STAX
|
May,12.2012-21:20
|
Re: Another STE question
|
evil
|
May,13.2012-13:17
|
Re: Another STE question
|
Frank b
|
May,14.2012-20:16
|
Re: Another STE question
|
Cyprian
|
May,13.2012-18:22
|
Re: Another STE question
|
Patrice Mandin
|
May,13.2012-14:38
|
Re: Another STE question
|
Bod/STAX
|
May,15.2012-11:15
|
Re: Another STE question
|
evil
|
May,16.2012-09:17
|
Re: Another STE question
|
Bod/STAX
|
May,16.2012-21:30
|
Re: Another STE question
|
evil
|
May,16.2012-22:40
|
Re: Another STE question
|
Bod/STAX
|
May,17.2012-01:10
|
Re: Another STE question
|
Klaz
|
May,17.2012-14:08
|
Re: Another STE question
|
Bod/STAX
|
May,17.2012-21:35
|
Re: Another STE question
|
dan/pdx
|
May,18.2012-16:03
|
Re: Another STE question
|
Bod/STAX
|
May,18.2012-20:24
|
Re: Another STE question
|
Bod/STAX
|
May,19.2012-16:21
|
What's the anti-troll code? That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
|