Article View: comp.os.msdos.programmer
Article #3675flicker free drawing
From: rajiv_sud
Date: Wed, 07 Oct 1992 18:03
Date: Wed, 07 Oct 1992 18:03
18 lines
1174 bytes
1174 bytes
Hello, I am fairly new to the world of pc's and hardware dependent programming. The question I am about to ask has probably been discussed in depth before so if someone has the info archived I'd appreciate it they would e-mail it to me. I am writing a graphics application and understand that to do flicker free animation one should do the screen update during the verticle retrace period. I believe I have a fairly good idea of catching the virtcle sycn pulse by setting it to cause a level 2 interrupt in turboC. What I am not clear on is how does one determine how much time one has to draw i.e., how many assembly instructions can I run. Since different instructions take different amounts of time has anyone come up with a method to determine when to stop updating the screen? ..Rajiv
Technical Details
Message-ID:
<7052@transfer.stratus.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!att!bu.edu!transfer!sw.stratus.com!rsudShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!att!bu.edu!transfer!sw.stratus.com!rsud From: rajiv_sud@sw.stratus.com Newsgroups: comp.os.msdos.programmer Subject: flicker free drawing Message-ID: <7052@transfer.stratus.com> Date: 7 Oct 92 18:03:14 GMT Sender: usenet@transfer.stratus.com Organization: Stratus Computer, Inc. Lines: 18