|
Atari coding BBS
Re: Rock-steady HBL |
Posted by: Per Almered (XiA)
|
Jul,19.2009-11:25
|
HBL or Timer B: Hmmm... This is really my first attempt, I didn't know there was a difference. *blush* I set Timer B to Event Count mode, I use the $120, is that a Timer B?
I had no idea you could address an FFFF address that way, that's great! I'm going to give this a try and get back to you, thanks a lot for the tip!
Also, I'm thinking: I'll have to convert "real longword address" into three bytes SOMEWHERE, why not do it in the HBL, after I've set the addresses like you showed above? That way, I could do it in just two HBL routines? Pseudo-code:
HBL1: ; called first line only
set copper list pointer to start
write screenaddress to HBL2
update copper list pointer
set HBL2 to $120 vector
HBL2: ; called all remaining lines
set new screenaddress
get copper list pointer
write new screenaddress into HBL2
update copper list pointer
That'd make the code a little easier to read, at least? 8-) The disadvantage is that I won't be able to do it in the very first line on the screen, but for what I'm doing that's not a problem at all. Oh, but you COULD do it in the first line too, if you just use the VBL to set the first HBL, then you could do it in a single HBL routine.
Thanks a lot for your help, I'll give birth to your children anytime you want. 8-)
Per.
|
[All messages in this thread] [Start new thread]
Topic
|
Posted by
|
Date
|
Rock-steady HBL
|
Per Almered (XiA)
|
Jul,19.2009-10:22
|
Re: Rock-steady HBL
|
evil
|
Jul,19.2009-10:53
|
Re: Rock-steady HBL
|
evil
|
Jul,19.2009-11:11
|
Re: Rock-steady HBL
|
Per Almered (XiA)
|
Jul,19.2009-11:25
|
Re: Rock-steady HBL
|
evil
|
Jul,19.2009-11:52
|
Re: Rock-steady HBL
|
Per Almered (XiA)
|
Jul,19.2009-11:59
|
Re: Rock-steady HBL
|
Kalms
|
Jul,19.2009-12:47
|
Re: Rock-steady HBL
|
Per Almered (XiA)
|
Jul,19.2009-12:59
|
Re: Rock-steady HBL
|
Per Almered (XiA)
|
Jul,19.2009-13:59
|
Re: Rock-steady HBL
|
ggn
|
Jul,21.2009-08:09
|
Re: Rock-steady HBL
|
Nicolas Pomarede
|
Jul,20.2009-00:33
|
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.
|