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

Atari coding BBS
 
Re: Rock-steady HBL
Posted by: Nicolas Pomarede Jul,20.2009-00:33 

Hello,
just a little explanation to your problem : your code is changing scrolling and video pointer *during* the active display line (after cycle 56 when not using overscan).
Especially, changing the video pointer while the shifter is reading data will produce unexpected results on a real STE (the behaviour is not described in the hardware docs).
To get a decent emulation's speed, emulators don't try to emulate video pointer changes in the middle of a line ; this will be more or less ignored, but the result is that it will look stable.

When using HBL, by the time your routine starts you will already be at cycle 56 or more, so your modification of $ff8203 will be wrong.

If you use timer b, it will start on cycle 404 and your routine will start at cycle 460, which leaves you 108 cycles before display starts again, which is enough to change video pointer while display is off.

Nicolas








[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