Omnimaga

Calculator Community => TI Calculators => Axe => Topic started by: Wretchedlout on May 21, 2012, 02:35:44 am

Title: Odd screen blinking and contrast change
Post by: Wretchedlout on May 21, 2012, 02:35:44 am
Archive everything, you will need to pull your batteries
After you run it, press down and left

Code: [Select]
.whatever
Clrdraw
DiagnosticOff
[FF818181818181FF]->Pic0
0->X->Y
Repeat getkey(9)
X+(getkey(3))-(getkey(2))->X
Y+(getkey(1))-(getkey(4))->Y
Bitmap(X,Y,Pic0
DispGraph
End

After it did the blinking, hold up and it will remain dark


I've tried other hex's but this has worked the best
Title: Re: Odd screen blinking and contrast change
Post by: Darl181 on May 21, 2012, 02:44:31 am
With bitmaps, you need to tell it how wide/tall it is.  Try putting a Data(H,W) before it that stores to the pic/gdb/etc.
Like...
:Data(23,3)→GDB1
.23 pix wide, 3 pix tall
:[EEA6ECEEA4CA8AECEC]

Then use GDB1 in the Bitmap() command.

What I'm guessing the problem was without those coordinates and looking at that hex, it thought it should draw a sprite 255 ($FF) pixels high and 129 ($81) wide.  Feel free to speculate what happened after that :P


Also, since it's an 8*8 sprite (I'm guessing?  That looks right in 8*8 ) why not use Pt-On? 0.o

Edit: Added the coordinates in wabbit and it worked as it should.
However, it's kind of weird using enter as the quit key because it immediately continues again..maybe use a different key for that ;)