Hi this is related monitor updation in turbo c in DOS
-
Hi all, i have written a program using system timer, i configures system timer using outportb(portAdd, byte) for achiveing 1msec interval. i was trying to update on filled rectangle(moving) evry 20msec. sometimes if shows flikkering effect. can i solve this problem. can i synchronise rectangle plotting with monitor updation(vertical sync), HOW? shri
-
Hi all, i have written a program using system timer, i configures system timer using outportb(portAdd, byte) for achiveing 1msec interval. i was trying to update on filled rectangle(moving) evry 20msec. sometimes if shows flikkering effect. can i solve this problem. can i synchronise rectangle plotting with monitor updation(vertical sync), HOW? shri
The drawing operations usually can't keep up with the display when this happens. So, if you have the flickering issues you either need to A: slow down the animation or B: use double buffering by drawing to an off/memory buffer and the blitting that to the display so the delay isn't noticeable.
Jeremy Falcon "It's a good thing to do and a tasty way to do it." - Wilford Brimley[^]
-
Hi all, i have written a program using system timer, i configures system timer using outportb(portAdd, byte) for achiveing 1msec interval. i was trying to update on filled rectangle(moving) evry 20msec. sometimes if shows flikkering effect. can i solve this problem. can i synchronise rectangle plotting with monitor updation(vertical sync), HOW? shri
Oh wow, that's a trip back. If you're seriously doing DOS graphics programming, you might want to spend some time with the old Abrash columns[^]...
----
It appears that everybody is under the impression that I approve of the documentation. You probably also blame Ken Burns for supporting slavery.
--Raymond Chen on MSDN
-
Oh wow, that's a trip back. If you're seriously doing DOS graphics programming, you might want to spend some time with the old Abrash columns[^]...
----
It appears that everybody is under the impression that I approve of the documentation. You probably also blame Ken Burns for supporting slavery.
--Raymond Chen on MSDN
Define Crazy: I spent days and almost $100 trying to track down that black book w/ the CD in good condition. So, I get it and it sits collecting dust alongside my other books. But, it does look neato sitting there. :)
Jeremy Falcon "It's a good thing to do and a tasty way to do it." - Wilford Brimley[^]
-
Define Crazy: I spent days and almost $100 trying to track down that black book w/ the CD in good condition. So, I get it and it sits collecting dust alongside my other books. But, it does look neato sitting there. :)
Jeremy Falcon "It's a good thing to do and a tasty way to do it." - Wilford Brimley[^]
Heh. :) I think i first read it in electronic form; it came on CD with The Zen of Graphics. Gosh, it's been probably ten years or more since i bought that book... loved it though; the guy can really write.
----
It appears that everybody is under the impression that I approve of the documentation. You probably also blame Ken Burns for supporting slavery.
--Raymond Chen on MSDN
-
Heh. :) I think i first read it in electronic form; it came on CD with The Zen of Graphics. Gosh, it's been probably ten years or more since i bought that book... loved it though; the guy can really write.
----
It appears that everybody is under the impression that I approve of the documentation. You probably also blame Ken Burns for supporting slavery.
--Raymond Chen on MSDN
Oh yeah, and if I ever end up dumb enough to write video drivers in DOS, well I'm set - minus the whole I don't know ASM *that* well thing thugh. :)
Jeremy Falcon "It's a good thing to do and a tasty way to do it." - Wilford Brimley[^]