🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #546

Re: TSR novice

#546
From: bill parquet
Date: Thu, 30 Jul 1992 03:03
12 lines
1125 bytes
I don't see why it would be any different.  There are a couple of things
that you should be careful about when linking more than one module:

1) Foremost ... Make sure that your program knows how big it is.  You could
hardcode it into the program (this makes things a real pain when modifying)
or you could make the program autodetect its size.  I prefer the latter
approach.  When you do it that way, pay particular attention to the way
your modules are linked (If you have a "lastbyte" variable in one module,
make sure this module occurss last when you link)

2) Beside the point ... Be careful about using DOS functions.  Unless you
really MUST use a dos function (e.g. file i/o) try to avoid it.
Technical Details
Message-ID: <1992Jul29.220353.9050@uoft02.utoledo.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!malgudi.oar.net!uoft02.utoledo.edu!jupiter!billp
References: <1992Jul12.220728.25971@vela.acs.oakland.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!malgudi.oar.net!uoft02.utoledo.edu!jupiter!billp
Newsgroups: comp.os.msdos.programmer
Subject: Re: TSR novice
Message-ID: <1992Jul29.220353.9050@uoft02.utoledo.edu>
From: billp@jupiter.cse.utoledo.edu (bill parquet)
Date: 29 Jul 92 22:03:53 EST
References: <1992Jul12.220728.25971@vela.acs.oakland.edu>
Nntp-Posting-Host: jupiter.cse.utoledo.edu
Lines: 13