[A89] ti-os glitch


[Next][Index][Thread]

[A89] ti-os glitch




Does anyone know why the TIOS routine DrawClipLine crashes the calc if you 
attempt to draw a line from 80,32767 to -32760,0?
this is the code i used:

WIN_RECT display;
SCR_RECT screen;
screen.l=0;
screen.xy.x1=LCD_WIDTH;
screen.xy.y1=LCD_HEIGHT;
display.x0=80;
display.y0=32767;
display.x1=-32760;
display.y1=0;
DrawClipLine(&display,&screen,A_NORMAL);

and the calculator crashes.

This certain example may seem obscure, but these aren't the only points that 
cause a crash. If anyone knows what about this code causes a crash, what i 
could do to prevent the crash, etc., i'd be glad to hear it. Even an 
alternate clipped line routine would be great. Thanks. :)
asmviper

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com