🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #12266

More about my font in Chip RAM problem

#12266
From: Wayne Knapp
Date: Thu, 20 Apr 1989 15:55
19 lines
1056 bytes
About Amiga fonts in chip RAM.  It may be that the
fonts are going to fast ram first, but since they
don't dump out of memory on command, they get down
in my chip RAM and mess my program up.  I'm using a
lot of fonts at times.  So I might be able to get
by with just the code to dump the fonts out of  RAM
after doing a CloseFont().  Before we had this 
discussion and someone pointed out you could do 
something like:

    temp = AllocMem(1000000000, MEMF_PUBLIC);
    if (temp != NULL)
       FreeMem(temp, 1000000000);

Is this the correct thing to do?  Will it work
even in 1.4, 1.5 etc?

                  Wayne Knapp 
Technical Details
Message-ID: <4057@tekig5.PEN.TEK.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!tektronix!tekig5!wayneck

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!tektronix!tekig5!wayneck
From: wayneck@tekig5.PEN.TEK.COM (Wayne Knapp)
Newsgroups: comp.sys.amiga.tech
Subject: More about my font in Chip RAM problem
Keywords: fonts should go away on demand
Message-ID: <4057@tekig5.PEN.TEK.COM>
Date: 20 Apr 89 15:55:34 GMT
Organization: Tektronix Inc., Beaverton, Or.
Lines: 19