Animate
Function number: 28
Animates an image doing both the initial transfer and final erase all in one step. The delay is the amount of time to pause between the initial transfer and final erase of the image. Use this to minimize flickering.
Register entry values
AX = EE1C
SI = Starting X position
DI = Starting Y position
DS = Segment address of array
DX = Offset address of array
CX = Delay (1 - 65535)
Register exit values
None
Example
MOV AX,0EE1CH ;Animate function
MOV SI,50 ;Starting X position
MOV DI,75 ;Starting Y position
MOV CX,100 ;Amount of delay
MOV DX,SEG Array ;Segment address of array
MOV DS,DX ; ..
MOV DX,OFFSET Array ;Offset address of array
INT 10H ;Call GRAFIX
Comments
See the 'Animate' and 'ExtPut' functions in chapter 2 for a detailed explanation.