View Single Post
Old 24 August 2023, 19:21   #4
adrazar
Registered User
 
Join Date: Feb 2017
Location: Oslo
Posts: 90
Lucky me! I found a way to plug the leak

Quote:
Originally Posted by Retro1234 View Post
No idea but what is you Erase 7 etc or Erase All etc does it make a difference?
No, not this (it increased the chip ram, but fast ram did not come back)

I went over to the SetFont docs, and found in the BUGS section that this function is known to have a memory leak problem, starting from kickstart V36 (which according to wikipedia means starting with the A500+ model). It further suggests using StripFont to solve the problem, and this appears to work.

The following instructions will call StripFont with the required arguments:
Code:
Areg(0)=Leek(Scrn Rastport+52) : RESULT=Gfxcall(-822)
I found that it works to insert this code right after each call to Change Bank Font.
adrazar is offline  
 
Page generated in 0.04271 seconds with 11 queries