|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Graphics Problems
--- Sponsor's Message -------------------------------------- Who Are the Top Dogs? Find out about the best newsletters and discussions! http://click.topica.com/caaaa4qbUrGczbU68iFb/TopDogs ------------------------------------------------------------Hi all, Hope you can help with this problem, the code for some VGA stuff I was experimenting with looks like this: void main() { int x,y,color; word i; set_mode(VGA_256_COLOR_MODE); for(i=0;i<320;i++) { for(x=0;x<320;x++) { y=199; color=3; plot_pixel_slow(x,y,color); } } if(kbhit()) return; } The problem is with the kbhit() function at the end. The program seems to time out and quit regardless if a key is pressed or not. I have include the .exe file and the souce code file - ignre the comments because most of them r now wrong because i have changed the file and i did not write them in the first place. Please could someone have a fiddle with the file and see if thhey can get it too work. Thanks, Rob. ------------------------------------------------------------ //// Totally FREE software. Just pay shipping! \\\\ || Click here --->> http://www.free-cd-software.com || AOL Link ==^================================================================ EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrGcz.bU68iF Or send an email To: gameprogrammer-unsubscribe@topica.com This email was sent to: list@pendleton.com T O P I C A -- Learn More. Surf Less. Newsletters, Tips and Discussions on Topics You Choose. http://www.topica.com/partner/tag01 ==^================================================================
|
|