[A83] Re: How to pixel test other than bcall(_ipoint) plz help
[Prev][Next][Index][Thread]
[A83] Re: How to pixel test other than bcall(_ipoint) plz help
Hello! I am also moderatly new to asm and this list. Try sending in your
source, as the only other alternative is to use direct lcd output. Why are
you trying to use the Z flag? Try this code. part of a simple unreliable
worm game, but may be of use, even if in ion, and I can't understand it:
pixel test syntax is ld d,3 ld b,x (or y, was it?) ld c,y (or x)
returns nz = true if pxl on
ld d,3 ; pixel test part
ld a,(X_Var)
ld b,a
ld a,(Y_Var)
ld c,a
ld a,b
ld (X_Var),a
ld a,c
ld (Y_Var),a
bcall(_IPoint)
jp nz,gameover
ld d,2 ;Pixel draw part
ld a,(X_Var)
ld b,a
ld a,(Y_Var)
ld c,a
ld a,b
ld (X_Var),a
ld a,c
ld (Y_Var),a
bcall(_IPoint)
Jimmy Pardey
>From: "Shane" <ti83asm2001@yahoo.com>
>hello, i am new to this message board and 83 asm and i was wondering how to
>pixel test. i know that ti has the bcall(_ipoint) thing and u load the
>certain registers and then i sets the flag z, but for some reason that isnt
>working in my program so i was wondering if there was another way to pixel
>test
>thanx
>
>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp