0 Members and 1 Guest are viewing this topic.
DiagnosticOffGetCalc("Pic1")->Y[FFFFFFFFFFFFFFFF]->Pic0[0000000000000000]ClrDrawFor(A,0,3)For(B,0,3)Pt-On(8*B,8*A,{A*4+B+Y}+Pic0)EndEndDispGraphRepeat getKey(15)End
I think your problem is that the pixels in the buffer are stored in bits, not bytes. A simple solution is to use the arbitrary-buffer pxl-test instruction, like so:Pt-On(B*8,A*8,pxl-Test(A*4+B,0,Y)*8+Pic0)
Quote from: calc84maniac on August 02, 2011, 07:01:52 pmI think your problem is that the pixels in the buffer are stored in bits, not bytes. A simple solution is to use the arbitrary-buffer pxl-test instruction, like so:Pt-On(B*8,A*8,pxl-Test(A*4+B,0,Y)*8+Pic0)I tried this, and it says Err: Argument when compiling, it says that only two arguments are needed for pxl-test(
What version of Axe are you using?