Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Re: Rock-steady HBL
Posted by: ggn Jul,21.2009-08:09 

Hi there, a bit late to the thread but whattaheck!

If you want to gain a bit extra cpu time, consider this: How about if you made sure that your screen's high byte is always the same? Then you would only have to set it up during the vbl and then just update middle/low bytes only (movep.w instead of movep.l in your code)!

Of course, implementing it will either cost you more memory allocation (if you use malloc() I guess the only safe bet would be to allocate 65536*2 bytes - ouch!), or will cost you a bit of "dirtyness" (i.e. have a fixed absolute address - for example, grabbing physbase from xbios(2) and killing middle and low bits, so you can have 2 screens' worth of bytes!)

Hope that made sense :)







[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


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

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.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson