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

Atari coding BBS
 
x+y ploting
Posted by: gloky Apr,08.2009-16:39 


; d0 =x*4 d1 = y*2 from the begining


RTS equ $4e75
;a1 = bset dn,ofx(a0) * 320
;a2 = 160*y

move.l (a1,d0.w),d0 d0='bset.b dn,dep(a0)'
add.w (a2,d1),d0 + offset Y
move.l d0,(a3)+ ; a3 = cg

...


move.w #RTS,(a3)
set d0-d7 with apropriate bit or number
jsr cg
...
lot of bset dn,dep(a0)

usable to ploting dots in 1 plan
or in 2 plan for exemple
selecting one part of bset code
with calling and rts
and a0 = screen+4 for exemple

inconveniant: lot of ram used for the cg
anyway we can do in multiple pass

this is gloky style
good night








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

Topic Posted by  Date 
x+y ploting gloky Apr,08.2009-16:39
  Re: x+y ploting glorka Apr,10.2009-20:30
    Re: x+y ploting glorku Apr,29.2009-22:11


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