TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: SAM PAULSON
from: SID LEE
date: 1995-11-14 11:37:00
subject: TSR`s

 -=> Quoting Sam Paulson to Sid Lee <=-
 SP> I use PB 3.00a, and my program was just a first attempt at writing
 SP> a TSR with PB.  Using the example from one of the online help topics,
 SP> I figured out how to leave the disk swapping out of the program (takes
 SP> forever to load on a floppy-only system like mine), so maybe that's
 SP> the reason.
 SP> if reg(1)  &HC000 and reg(4)  254 then end
 SP> print "Time & Date Installed. Press Alt-A to activate."
 SP> reg 1,&HC001 : reg 4,252
 SP> popup sleep
 When I try it here in 3.1 as it stands it also leaves a huge
 footprint behind. It shrinks to about 7K when I change the last
 line shown in the above code fragment to:
    "popup sleep ems,"C:\$$DATE.$$"
 If you are working in a floppy only system without EMS available
 that is indeed the problem. With nowhere to swap the "sleeping"
 code to it must remain in memory. In that case your only
 recourse to make it smaller would be to cut down on the contents
 of the executable.
 -- Regards --
 
--- Blue Wave/Max v2.12
---------------
* Origin: RASCAL BBS [Calgary, Alberta - (403)686-2550] (1:134/122)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.