|
Atari demoscene BBS
Re: R-TYPE DELUXE |
Posted by: wietze
|
Dec,30.2015-09:16
|
As I read the documentation, Atari discourages to set the per-pixel finescroll during the vbl, since it causes jumping. As a solution it suggests to set the per-pixel finescroll AFTER the vbl; for example the HBL (but I guess timer a, or timer b is as good as any).
I assume you set the finescroll only once per vbl (or once per frame even?). In this case, the HBL would work to ensure the register is set AFTER the vbl. But if the setting of the register only occurs during the first interrupt of the HBL per vbl, then you may as well raise the interrupt after the first HBL occurs, rather than to load RTE to the HBL interrupt handler.
This would prevent the unnecesarry 300-odd hbl interrupts to occur. So the general approach would be, VBL enables HBL interrupts, HBL interrupt occurs to set address, to subsequently raise interrupt level to prevent additional HBL interrupts to occur during the same VBL.
Again, it may only save you 10% of the total cycles over the average 3 vbls per frame, but its free cycles I believe.
|
[All messages in this thread] [Start new thread]
Topic
|
Posted by
|
Date
|
R-TYPE DELUXE
|
Bod/Effect
|
Dec,24.2015-11:44
|
Re: R-TYPE DELUXE
|
s_t_s
|
Dec,24.2015-12:38
|
Re: R-TYPE DELUXE
|
Bod/Effect
|
Dec,24.2015-18:54
|
Re: R-TYPE DELUXE
|
s_t_s
|
Dec,24.2015-20:10
|
Re: R-TYPE DELUXE
|
Bod/Effect
|
Dec,24.2015-23:43
|
Re: R-TYPE DELUXE
|
ggn
|
Dec,25.2015-16:15
|
Re: R-TYPE DELUXE
|
Bod/Effect
|
Dec,26.2015-09:03
|
Re: R-TYPE DELUXE
|
ggn
|
Dec,26.2015-09:41
|
Re: R-TYPE DELUXE
|
Paranoid / pdx
|
Dec,26.2015-11:49
|
Re: R-TYPE DELUXE
|
s_t_s
|
Dec,25.2015-16:48
|
Re: R-TYPE DELUXE
|
bob_er/mec
|
Dec,25.2015-16:56
|
Re: R-TYPE DELUXE
|
Bod/Effect
|
Dec,26.2015-09:01
|
Re: R-TYPE DELUXE
|
Oldskool
|
Dec,27.2015-15:24
|
Re: R-TYPE DELUXE
|
Bod/Effect
|
Dec,27.2015-15:52
|
Re: R-TYPE DELUXE
|
wietze
|
Dec,28.2015-02:50
|
Re: R-TYPE DELUXE
|
Bod/Effect
|
Dec,29.2015-19:54
|
Re: R-TYPE DELUXE
|
wietze
|
Dec,30.2015-09:16
|
Re: R-TYPE DELUXE
|
wietze
|
Dec,30.2015-09:23
|
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.
|