-=> 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)
|