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

Atari coding BBS
 
Re: clear pixel
Posted by: leonard Nov,16.2013-11:49 

you're right, fullscreen is a bit different. In a fullscreen dot demo (I think it's the reset demo of 20 years atari celebration), I use that trick, only 4 cycles added:

;drawing routine, the screen offset if stored in D0.W
or.w d1,d0 ; XOR #$8000, transform unsigned value to signed value
move.w d0,n(a1) ; patch clearing instruction

;clear
move.w d0,n(a1) ; offset is signed now, just add 32768 to your screen ad, and it works

total is 28 cycles instead of 24cyles








[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
clear pixel gloky Oct,20.2013-11:44
  Re: clear pixel specter Oct,24.2013-04:19
    Re: clear pixel evil Oct,24.2013-16:58
      Re: clear pixel nerve Oct,25.2013-18:18
        Re: clear pixel gwEm Oct,27.2013-22:57
          Re: clear pixel gloky Nov,05.2013-09:29
  Re: clear pixel Leonard Nov,13.2013-02:30
    Re: clear pixel gloky Nov,16.2013-12:54
      Re: clear pixel gloky Nov,27.2013-00:44
  Re: clear pixel RA/pdx Nov,13.2013-10:27
    Re: clear pixel leonard Nov,14.2013-01:15
      Re: clear pixel RA/pdx Nov,14.2013-10:01
        Re: clear pixel leonard Nov,16.2013-11:49


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