Quote:
Originally Posted by StingRay
DMACON is a word sized register, so a dc.w is enough. dc.l will work too of course but you waste 2 bytes.
|
Yes, oops. I was more concerned with getting it to work properly and overlooked that.
Quote:
Originally Posted by StingRay
blk is SEKA specific, yes. Devpac and most other Assemblers use ds (d.efine s.torage) which is the same as blk. And watch out, dc.w 0 is not the same blk.l 1,0. (word vs. long).
|
Thanks for that. I just reached example 6 (part 4, page 9) that uses "blk.l 10240,$80" to define one bitplane and pre-sets the bitplane value for a quick display of how a bitplane works.
Of course, I'll have to add some move.l's and a dbra loop to do the same thing, as ds (define storage) doesn't seem to support the pre-set values (2nd part of blk.l)
Regards,
Lonewolf10