smartin@iemisi.UUCP (Stephen Martin) (11/09/88)
Help, About a year or so ago i got my hands on an archive (.ARC file) containing a library of windowing routines for Turbo C. This was a Public Domain or sharware package that was adapted from a pascal package called something like WNDW21 or something like that. I don't remember the name of the package but some of the routines in the library were: makewindow(); titlewindow(); removewindow(); It came with a related library containing routines that were used for writing strings to the windows. These routines all started with the letter 'q' as in: qwritev(); qattr(); If any one has the slightest idea what i am talking about and knows where i can get my hands on these little devils, i will be eternally gratefull. I wrote a package using them and while i backed up my source code, i didn't bother with the libraries. Well, my hard disk bit the dust and i can't for the life of me find the floppy that i originally had the library on. thanks Stephen-- ___ ___ ___ ___ _ _ ___ /__/ / / /__ / /\ / / _ Stephen Martin, Boeing Canada, Toronto. /__/ /__/ /__ _/_ / / /__/ "Nuke gay whales for Jesus" UUCP: {geac|utzoo|utgpu}!syntron!jtsv16!marsal1!iemisi!smartin suncan!jtsv16!marsal1!iemisi!smartin
spolsky-joel@CS.YALE.EDU (Joel Spolsky) (11/11/88)
In article <386@iemisi.UUCP> smartin@iemisi.UUCP (Stephen Martin) writes: >Help, About a year or so ago i got my hands on an archive (.ARC file) >containing a library of windowing routines for Turbo C. This is available via anonymous ftp from simtel20. It is in the directory PD1:<MSDOS.TURBO-C>. There are at least 2 windowing packages in that directory: one is called TCWIND16.ARC.1 and the other is called WINDOWTC.ARC.1. They are each about 110K in archived form. +----------------+---------------------------------------------------+ | Joel Spolsky | bitnet: spolsky@yalecs uucp: ...!yale!spolsky | | | arpa: spolsky@yale.edu voicenet: 203-436-1483 | +----------------+---------------------------------------------------+ #include <disclaimer.h>
osh@houxv.UUCP (D.OSHINSKY) (11/15/88)
In article 23090, Joel Spolsky writes: > I understand there is an undocumented variable that can be used to > keep Turbo-C (in directvideo mode) from trying to prevent snow (i.e., > how can you tell Turbo-C not to wait for Horiz. refresh to end before > it writes directly to the screen). Does anybody know how to do this? Article 23150, by Jerry Berlin, contains the following reply: > This variable is described on page 52 of the Turbo C Addendum to > version 1.5 and is named directvideo. The directvideo variable controls whether output goes directly to video RAM (directvideo = 1, the default) or through ROM BIOS calls (directvideo = 0). The version 1.5 documentation does not describe how to control snow removal when directvideo = 1. There is an undocumented structure called _video which contains a field which controls snow removal. If you look in a MAP file produced by the linker, you will see this global variable listed. The following code works with Turbo C versions 1.5 or 2.0: extern char _video; *(&_video+10) = X; /* X=1 turns on snow removal, X=0 turns it off */ Beware of the fact that this may break in future versions of Turbo C if the offset of the "snow" field changes. David Oshinsky AT&T Bell Laboratories Holmdel, NJ UUCP: att!houxv!osh Phone: (201)949-0037