Mail Archives: opendos/1997/02/10/20:39:15
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 -