🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Shrinking my program to run another

#7161
From: Ernest J. Obusek
Date: Thu, 20 Jun 1991 00:32
18 lines
1202 bytes
A program I am working on has grown quite large.  The language I am using
doesn't support overlays.  My program is split into 5 parts.  The main part
runs the others as needed.  However, I'm still running out of room.  I'd
like to be able to have the main part remove itself from memory as much as
possible while running one of the other parts.  How is this done?

I basically want a way to swap parts of my program to disk at run-time.

I am a very experienced PC programmer so don't be afraid to be technical. 

Thank you!!

Ernest

P.S.  Thanks to those who sent me info about PC serial ports.  I solved the
problem before getting a chance to read any of the responses.  I ended up
directly programming the PC's UART to the baud rate I wanted and it worked
wonderfully well!
Technical Details
Message-ID: <141957@unix.cis.pitt.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!ejost

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!ejost
From: ejost@unix.cis.pitt.edu (Ernest J. Obusek)
Newsgroups: comp.os.msdos.programmer
Subject: Shrinking my program to run another
Message-ID: <141957@unix.cis.pitt.edu>
Date: 20 Jun 91 00:32:47 GMT
Organization: Univ. of Pittsburgh, Computing & Information Services
Lines: 18