Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!rice!uw-beaver!zephyr.ens.tek.com!vice!bobb From: bobb@vice.ICO.TEK.COM (Bob Beauchaine) Newsgroups: comp.lang.pascal Subject: Re: Ansi Color Message-ID: <7328@vice.ICO.TEK.COM> Date: 21 Apr 91 05:35:34 GMT Reply-To: bobb@vice.ICO.TEK.COM (Bob Beauchaine) Organization: Tektronix, Inc., Beaverton, OR. Lines: 25 In article <1991Apr20.143655.13621@uwasa.fi> ts@uwasa.fi (Timo Salmi) writes: > Q: How to get ansi control codes working in Turbo Pascal writes? >Occasionally I have seen it suggested that one should just set > DirectVideo := false; >This is a popular misconception. It won't produce the desired >result. > Being one of the perpetrators of this hoax, I would like to know why this solution doesn't work. I checked the manual; it says that setting the DirectVideo variable false coerces Turbo into using Bios for all write/writeln statements. I assume the Ansi driver intercepts the video interrupt for output. What gives? Is Ansi.sys not intercepting the correct vector, or does Turbo use a "non standard" output method? BTW, the results are the same using Ansi.com, PC Magazine's enhanced ansi driver. /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ Bob Beauchaine bobb@vice.ICO.TEK.COM C: The language that combines the power of assembly language with the flexibility of assembly language.