Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
graphics delay (svgalib, c, linux)
Name: zoem Date: September 18, 2005 at 03:28:11 Pacific OS: Slackware Linux 8.1 CPU/Ram: P133Mhz / 80MB
Comment:
I am using the SVGALIB 1.4.3 graphics library in my program (which is written in C) and i am trying to do a simple animation. I am currently using a FOR loop to control the movement of the shape. Trouble is, i need it to be able to delay in milliseconds on each iteration of the FOR loop.
I created a function earlier which ran 120000 x 5 iterations of a for loop to delay the next draw which worked fine on my P1 laptop. however, i believe on a modern P4 machine this would have virtually no effect.
It is a must that i use SVGALIB. Any suggestions to how i could go about delaying the draws? Thank in advance.
Summary: when i try to run a graphics pgm i c i get the following error: " hte ntvdm cpu has encountered an illegal instruction cs:0040 ip:03eb op:c6 of 00 c0 15. ...
Summary: i have searched all over the web, but i can't find any good graphics tutorials for c++. if anybody knows of any good places to learn the basics of incorporating graphics into programs, could you email...