Article View: comp.bbs.waffle
Article #3166"BUG FIX" for Waffle for DOS
From: Mark Buckaway
Date: Sun, 24 Jan 1993 03:23
Date: Sun, 24 Jan 1993 03:23
39 lines
2078 bytes
2078 bytes
I have seen some complaints about Waffle doing screwy things to the screen when you are in 43 or 50 line mode. After some fiddling with Turbo Debugger, I have figured it out. If this has been done already, ignore this message and I apologize for the wasted bandwitdh, however... Tom is doing something I consider a no-no. Using CONIO and STDIO functions BOTH for video in ONE program. This does not work properly in most circumstances as the CONIO functions don't always know what the STDIO functions are doing (this is my experience). Anyways, for those of you who have purchase the source for Waffle, you can fix this VERY EASILY. Load up DOS.H, and look for: #define VSPRINT #define CONIO ...comment out the #define CONIO and recompile. When you do so, two things will happen: 1) The screen will now go properly to the bottom of a 50 line display. 2) The reverse video will stop working. (Tom, every consider fixing this?) The reverse video stops working because Tom uses the Borland textattr function to change the screen attribute on some cases, and without CONIO defined, the textattr functions are redirected to no where. If I may inject my personal opinion, some of the code for the DOS portion of Waffle is rather shakey. I am surprised some of it works. Oh, unless I am brain dead, no where in the docs does it say, add #define MSDOS to the version.h header file to compile under DOS. I'll be glad to finally switch to UNIX in the coming months.... Mark ---- Club InSaNiTy BBS | BBS:+1 416 691 0679 | root@cibbs.UUCP DataSoft Consulting | Voice:+1 416 691 5529 | uunorth!cibbs!root Mark Buckaway | Toronto, Ont. CANADA | 1@4653 (WWIVnet)
Technical Details
Message-ID:
<903uXB1w165w@cibbs.UUCP>Path:
arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!howland.reston.ans.net!usc!rpi!utcsri!geac!torsqnt!uunorth!cibbs!rootShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!howland.reston.ans.net!usc!rpi!utcsri!geac!torsqnt!uunorth!cibbs!root From: root@cibbs.UUCP (Mark Buckaway) Newsgroups: comp.bbs.waffle Subject: "BUG FIX" for Waffle for DOS Message-ID: <903uXB1w165w@cibbs.UUCP> Date: Sat, 23 Jan 93 22:23:43 EST Organization: DataSoft Consulting (Toronto, Ont. Canada) Lines: 39