berenfie@tortoise.cis.ohio-state.edu (gregory neil berenfield) (03/04/91)
HELP! Could some knowledgable, kind person please mail me an example of how to draw a 100x100 square in a window on a 1 BitPlane BitMap. Draw it using the A register only, where BLTADAT=#$FFFF (16 bits at a time) I know this seems trivial but I'm having problems getting the correct values for BLTAMOD (have it 30 PIXELS to the right and 30 PIXELS down from the top of the window) and BLTAPTR. I'm not sure, but I THINK my main problem is in how BLTCON0 is initially set. (I really don't know what to do with it). I do something like, clr.w BLTCON0(a1) move.w #DEST,BLTCON0(a1) move.w #$FFFF,BLTADAT move.w #0,BLTBDAT move.w #0,BLTCDAT so that $FFFF is the only thing being moved into the destination address. Any help would be greatly appreciated. Thanks in advance. Greg -- ____________________________________________________________________ | Gregory N. Berenfield - CIS | You name it, I'll study it. | | student, programmer Math | Except... Wait! Uh, is that | | Dept. of Physics | a testtube?!?! Help it's a |