delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/1997/02/10/20:39:15

Date: Mon, 10 Feb 1997 19:23:21 -0600 (CST)
From: "Colin W. Glenn" <cwg01 AT gnofn DOT org>
To: "'OpenDOS newsgroup'" <opendos AT mail DOT tacoma DOT net>
Subject: Re: [opendos] 7k mouse driver
In-Reply-To: <Pine.LNX.3.95.970210085234.285p-100000@capslock.com>
Message-ID: <Pine.GSO.3.95.970210191611.19524C-100000@sparkie.gnofn.org>
MIME-Version: 1.0
Sender: owner-opendos AT mail DOT tacoma DOT net

On Mon, 10 Feb 1997 mharris AT blackwidow DOT saultc DOT on DOT ca wrote:
> On Fri, 7 Feb 1997, Colin W. Glenn wrote:
<SWISH!>
> > IF the driver is compiled by a Good Compiler, it leaves a tiny footprint.
> IF the driver is written in 100% ASM by a good programmer, it
> leaves a smaller footprint.

You are, of course, right, namely because the first language I learned is
assembly, and golden rule one is, write as little as possible to get the
job done without sacrificing safety.

As an example, I got interested in a program's disk usage and wrote a TSR
which would trap INT21's and see if it was a disk access.  If yes, it
dumped the registar contents and return address to the printer, else it
jumped to the original entry point for INT21.  I stacked three registars
if the result was yes and worked with AX, DX, & BP.

> > > Hope that's useful, and hope there isn't a huge mouse driver thread coming..
> > Eeek!  There's a mouse in my filesystems thread!
> Yip, definately.  I can see it coming.  Thats ok, I'm prepared...
> :o)
Mousetrap.

<! PrePared HTML!  Just export as a HTML file and Click!>
The Light<a href="http://www.thelight.org/">.</a>
A Christian Web Site! 
<a href="http://www.hspro.com/hotspot/">HotSpot</a>


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019