🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #8355

Help: How to remove snow checking?

#8355
From: Jim Slack
Date: Fri, 15 Mar 1991 04:53
32 lines
2169 bytes
Could someone please tell me how to remove snow checking from programs? 

I have a Tandy 1100FD laptop (which I *love*, by the way) which uses a CGA
screen.  There is absolutely no flicker, and thus no reason for a program
to do snow checking for this machine.  (Some of the very early IBM PCs
with CGA cards used to flicker when characters were placed in screen
memory directly.  Current computers don't usually have this problem.)

Programs that do snow checking run extremely slowly on my laptop machine,
for some reason.  (Screen operations remind me of the days of 300
baud communications!)

Here is my approach to removal of snow checking:

First, I check if there is a command line switch or configuration option to 
turn off snow checking.  If so, the problem is solved.  Otherwise, I
roll up my sleeves and try to patch the program.  I load the program into
DEBUG, and look for the byte patterns BA 03 or DA 03.  These correspond
to the ports that give information about horizontal retrace (I think).
Often, I'll find these ports accessed with MOV DX,03BA or MOV DX,03DA.
If I find a tight loop around the instruction IN AX,DX, then I've got the
place to apply the patch.  I just jump around the loop.

I've just run across a program that does snow checking, but does not appear
to use the above method.  My next step was to search for all occurrences
of hex ED (the code for IN AX,DX).  I examined all such occurrences, but
could not find a tight loop around this instruction.

Do you have any suggestions on a next step?

------------
Reply to: slack@cis.ksu.edu
Technical Details
Message-ID: <1991Mar15.045316.18068@maverick.ksu.ksu.edu>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!rutgers!dimacs.rutgers.edu!bcm!convex!linac!mp.cs.niu.edu!ux1.cso.uiuc.edu!maverick.ksu.ksu.edu!slack

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!rutgers!dimacs.rutgers.edu!bcm!convex!linac!mp.cs.niu.edu!ux1.cso.uiuc.edu!maverick.ksu.ksu.edu!slack
From: slack@cis.ksu.edu (Jim Slack)
Newsgroups: comp.sys.ibm.pc.misc
Subject: Help: How to remove snow checking?
Message-ID: <1991Mar15.045316.18068@maverick.ksu.ksu.edu>
Date: 15 Mar 91 04:53:16 GMT
Sender: news@maverick.ksu.ksu.edu (The News Guru)
Reply-To: slack@procyon.UUCP (Jim Slack)
Distribution: usa
Organization: Kansas State University, Department of Computing and Information Sciences
Lines: 33