🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Trouble with clips

#5958
From: Jean-Michel Forgeas
Date: Thu, 18 Oct 1990 10:33
25 lines
1442 bytes
In article <14248@wehi.dn.mu.oz>, BAXTER_A@wehi.dn.mu.oz writes:

> I have been testing out the C= clipboard functions under very low
> memory conditions (<10k).
>
> I have found that with CLIPS: assigned to ram:, small clips work okay,
> but with it assigned to disk, the clip seems to scroll to disk okay,
> but on paste, the machine crashes with an 03.

I had the same problem. The only solution I found is:
- find the data size you need to write to the clipboard
- check if AvailMem(..) > data_size + some_more_security
- if yes write it.

Of course with multi-tasking another task can allocate memory between
your AvailMem and your write, and Forbid()/Permit() is not very friendly.

Best regards,
Jean-Michel
--
                                     \___/
Jean-Michel Forgeas                   \-/
cbmvax!cbmehq!cbmfra!swinjm!forgeas    |    The Software Winery
                                      -^-
                           And, where is the universe ?
Technical Details
Message-ID: <1811460f.ARN02059@swinjm.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cbmvax!cbmehq!cbmfra!swinjm!forgeas
References: <14248@wehi.dn.mu.oz>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cbmvax!cbmehq!cbmfra!swinjm!forgeas
From: forgeas@swinjm.UUCP (Jean-Michel Forgeas)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Trouble with clips
Message-ID: <1811460f.ARN02059@swinjm.UUCP>
Date: 18 Oct 90 10:33:51 GMT
References: <14248@wehi.dn.mu.oz>
Reply-To: forgeas@swinjm.UUCP (Jean-Michel Forgeas)
Followup-To: comp.sys.amiga.tech
Organization: The Software Winery
Lines: 27