Re: A83: Will someone answer?
[Prev][Next][Index][Thread]
Re: A83: Will someone answer?
In a message dated 9/24/99 10:12:31 PM Central Daylight Time, 123abc@chek.com
writes:
> Can someone please show me how to pixel test in ASM?
Here is the Info off of TI's website. This should be what you need...
;-----------------------------------------------------------------------
; _IPoint: Change a point on the screen, no clipping!
;
; INPUT: Coordinate values input are integer and assumed
; within screen values
; B - X Coordinate of point to change - 0..94
; C - Y Coordinate of point to change - 1..63
; D - Command to perform
; 0 - Set point to light
; 1 - Set point to dark
; 2 - Reverse point (XOR operation)
; 3 - TEST PIXEL
; 4 - Copy from display buffer
;
; OUTPUT:
; FOR PIXEL TEST (3) Z=1 IF OFF, Z=0 IF ON
;
; NOTES:
; All register and flags are preserved
; UNLESS PIXEL TEST IS THE COMMAMD THEN NO REGS ARE
; PRESERVED.
;
; No plotting occurs if point is outside
; of current RANGE.
;
; (BC) is (X,Y), the (0,0) point is lower left corner
;
; Graphics always written to graphics buffer and/or
; display RAM and, depending on PlotLoc flag.
;-----------------------------------------------------------------------
There ya go, cya...
Jason_K