English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 14 June 2014, 00:09   #1
trydowave
Registered User
 
trydowave's Avatar
 
Join Date: Jan 2010
Location: N/A
Posts: 873
Memory problems with Personal Paint?

Hi. I'm trying to do some basic stuff with Cloanto Personal Paint. Basic as in filling an entire screen with a black fill for example.

When I try to do this it stops the task and a window pops up with a message saying "There is not enough memory"?

The image and screen format resolution is:
PAL:1280x512 HBrite.

It think the res maybe the problem as Im sure its effecting the A1200 graphics mem, not sure though.

I running it on a real A1200

ACA 1232 128mb
Indi MK2 cr
3.1 roms
OS3.9 Classic Workbench
SCSI CDrom

Any help would be great.
Thanks
trydowave is offline  
Old 14 June 2014, 02:03   #2
matthey
Banned
 
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
Quote:
Originally Posted by trydowave View Post
When I try to do this it stops the task and a window pops up with a message saying "There is not enough memory"?

The image and screen format resolution is:
PAL:1280x512 HBrite.

It think the res maybe the problem as Im sure its effecting the A1200 graphics mem, not sure though.
Yea, probably not enough gfx memory free. Flood fill needs a temp buffer in chip memory as I recall. I can use PPaint in 1600x1200 on a gfx board with 32MB of gfx memory and I can't recall having that problem.

There are ways to free up and not fragment chip memory. See PeterK's icon.library and don't use a backdrop to start.
matthey is offline  
Old 14 June 2014, 11:31   #3
trydowave
Registered User
 
trydowave's Avatar
 
Join Date: Jan 2010
Location: N/A
Posts: 873
I don't suppose you could tell me how to free up gfx memory?

If I remember right, fragmented memory was the reason why the game onEscapee didn't run on my system.

I already have PeterK's icon.library.
trydowave is offline  
Old 14 June 2014, 12:36   #4
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
You get the most free chipram if you start without startup-sequence and then launch PPaint. If I`m not wrong a screen solution of 1280x512x8 needs 655360 bytes chipram.
daxb is offline  
Old 14 June 2014, 13:30   #5
BigFan
Registered User
 
BigFan's Avatar
 
Join Date: Feb 2014
Location: Germany
Posts: 261
Quote:
Originally Posted by trydowave View Post
I don't suppose you could tell me how to free up gfx memory?

If I remember right, fragmented memory was the reason why the game onEscapee didn't run on my system.

I already have PeterK's icon.library.
as your A1200 got at least 4 meg fast ram:

Boot to workbench as normal.
Move everthing from "WBStartup" to a different folder to temporarily disable it (e.g. create a new drawer "off" in "WBStartup" if not done already). (this is not to save fast mem but chip too, as some tools tend to use it though, check if chip mem is freed and move tools back one by one).
Check for unnecessary drivers in "Devs:" and move them to storage.

Reboot.

Run PPaint.
Select "memory management" from menu "preferences".
Deselect ram. select disk and set path to "sys:t".
or vice versa if free fast mem is not a problem

Select "format" from menu "project"
pick pal:hires hbrite
set new dimension for your image to 1280x512 (second entry). don't change screen mode to superhires lace.

you should be able to edit your picture this way partly, as screen is only a quarter of the image. but it saves you precious ram.

Last edited by BigFan; 14 June 2014 at 13:39.
BigFan is offline  
Old 14 June 2014, 13:32   #6
BigFan
Registered User
 
BigFan's Avatar
 
Join Date: Feb 2014
Location: Germany
Posts: 261
Quote:
Originally Posted by daxb View Post
You get the most free chipram if you start without startup-sequence and then launch PPaint. If I`m not wrong a screen solution of 1280x512x8 needs 655360 bytes chipram.
better use a calculator and 6 bitplanes instead of chunky mode and brain.
BigFan is offline  
Old 14 June 2014, 14:57   #7
trydowave
Registered User
 
trydowave's Avatar
 
Join Date: Jan 2010
Location: N/A
Posts: 873
BigFan: My specs are...

Standard A1200 with its 2mb ram
and these additions:
ACA 1232 128mb
Indi MK2 cr
3.1 roms
OS3.9 Classic Workbench
SCSI CDrom
trydowave is offline  
Old 14 June 2014, 17:12   #8
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
Quote:
Originally Posted by BigFan View Post
better use a calculator and 6 bitplanes instead of chunky mode and brain.
I used OS3.1 calculator (1280*512*8)/8 = 655360. Is that wrong? With (1280*512*6)/8 I get 491520 as result.
daxb is offline  
Old 14 June 2014, 18:51   #9
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
I would suggest to try out Thomas Richter's PoolMem to avoid the biggest problems with memory fragmentation. It divides both memory types, ChipMem and FastMem, into two pool blocks for each of them, a small one for small and tiny memory allocations and a large pool for the bigger memblock requests. This concept works pretty well. On my system I have installed it below SetPatch like this:
PoolMem >NIL: INSTALL KEEPSORTED PUDDLESIZE 16384
PeterK is offline  
Old 14 June 2014, 23:47   #10
trydowave
Registered User
 
trydowave's Avatar
 
Join Date: Jan 2010
Location: N/A
Posts: 873
Peter is this a big hassle to install and is there a risk? Just wondering as I have everything running nicely on the A1200 at the mo and I don't want to mess it all up.

Thanks
trydowave is offline  
Old 15 June 2014, 01:53   #11
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Hmm? If you are one of the users who just want to doubleclick on an installer-icon and expect that you will get unlimited free memory the next moment, then better don't think about PoolMem. Good solutions are not always that easy to get.

Now you say that everything is running so nicely on your system, but I believe your out-of-memory problem could be caused by fragmentation. If this is the reason then PoolMem may help to avoid that problem. I'm using it on my WinUAE system now for more than 10 years and it runs stable. It can only happen that it complains about bad programs when they try to use unadjusted freemem() calls. This may bring up recoverable yellow alerts in very, very rare cases, just as a warning. But on a stable system like yours I won't expect such things.

Finally, it's up to you if you prefer to live with your memory problem or invest maybe an hour of your time and check out if PoolMem could solve it. Who knows? You will have to copy the program into C: and call it as shown above from your startup-sequence after SetPatch. Doing nothing will change nothing.

Last edited by PeterK; 15 June 2014 at 01:58.
PeterK is offline  
Old 29 June 2014, 22:37   #12
trydowave
Registered User
 
trydowave's Avatar
 
Join Date: Jan 2010
Location: N/A
Posts: 873
Hi Peter. I've edited the startup sequence before. Have a little knowledge using workbench, but not much. More of a gamer back in the day so Im learning it all now.

I downloaded PoolMem from Aminet and extracted the lha to the A:temp folder. I then copied the extracted folder to the folder I have called Workbench. There's a C Folder within the Workbench folder so that always throws me a bit.

As for the start up sequence. I saw a few instances where I can see SetPatch. I didn't know where to put it so I typed the command right at the bottom.

Example here:

IF EXISTS C: StackAttack
C:StackAttack AUTO
EndIF

PoolMem >NIL: INSTALL KEEPSORTED PUDDLESIZE 16384

C: LoadWB

EndCLI >NIL:

Hope this was right?

I think it might not be and I probarbly have to install the program when its placed in WB folder? Is that correct?

Like I said. Bit of a newbie with all this stuff so any help installing this would be great.

I did load Personal Paint after and the fill failed reporting the usual memory error.

Thanks again
Tony.
trydowave is offline  
Old 30 June 2014, 02:06   #13
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Quote:
As for the start up sequence. I saw a few instances where I can see SetPatch. I didn't know where to put it so I typed the command right at the bottom.
Hmm, I don't know what's in your startup-sequence. Post it! If there are several calls of SetPatch they are probably depending on certain conditions starting with an IF instruction, then SetPatch in one of the following lines and finally the EndIF instruction. Move the PoolMem line up to somewhere below the last SetPatch and a related EndIF. But probably it won't solve the problem if it didn't help yet.

Maybe I've just overseen it, but did you already call Prefs/Workbench and set "Images in:" to "Other memory" instead of "Graphics memory" ??

Last edited by PeterK; 30 June 2014 at 02:20.
PeterK is offline  
Old 30 June 2014, 02:55   #14
Thorham
Computer Nerd
 
Thorham's Avatar
 
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
Try Brilliance 2 instead of PPaint. It can use fastmem instead of chipmem in many cases from what I've seen. Not sure if it works with flood fill, but I wouldn't be surprised if it does.
Thorham is online now  
Old 01 July 2014, 00:26   #15
trydowave
Registered User
 
trydowave's Avatar
 
Join Date: Jan 2010
Location: N/A
Posts: 873
Thorham. thanx anyway but I have a few other memory issues that need addressing too.
Apart from Personal paint I get an error message when trying to boot the cd game OnEscapee and lots of WHDload games fail to boot when running from IGame. If I go into the standard text based launcher they run fine.

All the errors are related to memory.

PeterK, Heres my start up sequence:

start up sequence info
c/ACATune -maprom * >nil:
; Added by ADAPCMCFL-Installer
FailAT 11
C:CardPatch

C:CardReset TICKS 50
C:CardPatch

;ClassicWB Startup-Sequence
;--------------------------
;OS39

;Start OS3.9 Checks
;IF EXISTS C:SquirrelSCSI
; C:SquirrelSCSI
;EndIF
;Set SCSIUpdate 1
;IF EXISTS C:IDEFix
; C:IDEFix
; Set SCSIUpdate 0
;EndIF
;IF EXISTS SYS:Expansion/XSurfIDE
; Set SCSIUpdate 0
;EndIF
;IF EXISTS SYS:Prefs/Env-Archive/NOSCSIUPDATE
; Set SCSIUpdate 0
;EndIf
;IF $SCSIUpdate EQ 1
; C:SetPatch QUIET

;CD32 Startup added by Squirrel SCSI Installation
IF EXISTS S:CD32-Startup
C:Assign T: RAM:
Execute S:CD32-Startup
EndIF
;End CD32 Startup

;ELSE
C:SetPatch SKIPROMUPDATES "scsi.device" QUIET
;EndIF
;Unset SCSIUpdate
;End OS3.9 Checks

C:GetMouseInput LOCAL

IF $MouseInput EQ 1
Unset MouseInput
C:Assign >NIL: ENV: RAM:
C:Assign >NIL: T: RAM:
C:Execute S:Maxmem-Sequence
EndCLI >NIL:
EndIF

IF $MouseInput EQ 2
Unset MouseInput
C:Execute S:Bootmenu-Sequence
EndCLI >NIL:
EndIF

Unset MouseInput

IF EXISTS C:StackAttack
C:StackAttack
EndIF

C:Version >NIL:
FailAt 21

IF EXISTS SYS:WBstartupD
C:Rename >NIL: SYS:WBStartup SYS:WBStartupM
C:Rename >NIL: SYS:WBStartupD SYS:WBStartup
EndIF

Resident >NIL: C:IconX PURE
Resident >NIL: C:WBRun PURE
Resident >NIL: C:Assign PURE
Resident >NIL: C:Execute PURE
Resident >NIL: C:SetEnv PURE REPLACE

IF EXISTS L:env-handler
C:MakeDir RAM:T RAM:Clipboards
L:env-handler
ELSE
C:MakeDir RAM:T RAM:Clipboards RAM:ENV RAM:ENV/Sys
C:Copy >NIL: ENVARC: RAM:ENV ALL NOREQ
Assign >NIL: ENV: RAM:ENV
EndIF

IF EXISTS C:PatchRAM
C:PatchRAM
EndIF

IF EXISTS C:TagLiFE
C:TagLiFE
EndIF

Assign >NIL: T: RAM:T
Assign >NIL: CLIPS: RAM:Clipboards
Assign >NIL: REXX: S:
Assign >NIL: PRINTERS: DEVS:Printers
Assign >NIL: KEYMAPS: DEVS:Keymaps
Assign >NIL: LOCALE: SYS:Locale
Assign >NIL: LIBS: SYS:Classes ADD
Assign >NIL: HELP: LOCALE:Help DEFER

IF EXISTS C:BlazeWCP
C:BlazeWCP
EndIF

IF EXISTS SYS:System/FBlit/FBlit
SYS:System/FBlit/FBlit
SYS:System/FBlit/FText
EndIF

BindDrivers
C:Mount >NIL: DEVSOSDrivers/~(#?.info)

C:LoadMonDrvs

SetEnv Language "english"
SetEnv Workbench $Workbench
SetEnv Kickstart $Kickstart
UnSet Workbench
UnSet Kickstart

IF EXISTS C:CyberBugFix
C:CyberBugFix
EndIF

IF EXISTS C:IconBeFast
C:IconBeFast 0
EndIF

C:AddDataTypes REFRESH QUIET
IF EXISTS SYS:System/VPrefs/VisualPrefs
Run > NIL: SYS:System/VPrefs/VisualPrefs
EndIF
C:IPrefs
SYS:System/FPalette/FPPrefs
C:ConClip

Path >NIL: RAM: C: SYS:Utilities SYS:Rexxc SYS:System S: SYS:Prefs SYS:WBStartup
SYS:Tools SYS:Tools/Commodities

SYS:System/REXXMast >NIL:

IF EXISTS S:User-Startup
Execute S:User-Startup
EndIF

Resident Execute REMOVE
Resident Assign REMOVE

IF EXISTS C:StackAttack
C:StackAttack AUTO
EndIF

PoolMem >NIL: INSTALL KEEPSORTED PUDDLESIZE 16384

C:LoadWB

EndCLI >NIL:


Cheers
Tony
trydowave is offline  
Old 01 July 2014, 01:03   #16
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Insert the PoolMem line above
C:GetMouseInput LOCAL

Btw, what is this line good for?
C:Execute S:Maxmem-Sequence
(only executed when a mouse key is pressed down)

Did you check the Prefs/Workbench settings for the image memory type?

Don't know what it does, but there are two active lines:
C:CardPatch

Last edited by PeterK; 01 July 2014 at 01:09.
PeterK is offline  
Old 01 July 2014, 12:45   #17
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
A lot of stuff in your S-S. I hope you know all that and what it does. My first try would to disable CyberBugFix (buggy ). Don`t know what PatchRAM does but have a look. BlazeWCP and FBlit shouldn`t make problems but in some constellation/settings the can. Check if OS3.9 makes current patches obsolete.

Check PPaint config. You can choose BLITLIBS (e.g. personal_68030_blit.library.) and other memory prefs.

ps: Get rid of some IF EXISTS clauses. Should only used if really necessary. Makes your S-S more readable/shorter.
daxb is offline  
Old 01 July 2014, 14:02   #18
trydowave
Registered User
 
trydowave's Avatar
 
Join Date: Jan 2010
Location: N/A
Posts: 873
Quote:
Originally Posted by PeterK View Post
Insert the PoolMem line above
C:GetMouseInput LOCAL

Btw, what is this line good for?
C:Execute S:Maxmem-Sequence
(only executed when a mouse key is pressed down)

Did you check the Prefs/Workbench settings for the image memory type?

Don't know what it does, but there are two active lines:
C:CardPatch
Cant remember what it all does, but at the time I believe I did. Been a while since I did all the setting up. If I hold down the left mouse button I get the Maxmem dialogue box before WB starts. If I have my SCSI Cdrom drive it allows me to config mem, cache etc. I use this a lot as it makes some games run faster (Alienbreed 3D and SSFII Turbo) and without glitches (Super stardust).

Putting Poolmem line in front of get mouseinout local gave me a Cd failed returncode 20 message and I can no longer boot into WB. Do I need to put a " ;" in front of it?

Prefs/Workbench settings for the image memory type? Could you tell me where this is exactly pls?

C:CardPatch: Something I installed with my PCMCIA card I believe.

Thanks

UPDATE: Poolmen boots with ; in front of it.

Quote:
Originally Posted by daxb View Post
A lot of stuff in your S-S. I hope you know all that and what it does. My first try would to disable CyberBugFix (buggy ). Don`t know what PatchRAM does but have a look. BlazeWCP and FBlit shouldn`t make problems but in some constellation/settings the can. Check if OS3.9 makes current patches obsolete.



Check PPaint config. You can choose BLITLIBS (e.g. personal_68030_blit.library.) and other memory prefs.



ps: Get rid of some IF EXISTS clauses. Should only used if really necessary. Makes your S-S more readable/shorter.

daxb. Going to have to come back to you on this, lots of stuff here what I don't, or only partly understand. I wont mess with the IF EXISTS as I don't know what they are. IF you could recommend some then Ill test it. Not sure how to check if OS3.9 has some patches obsolete either. I think I got that FBlit stuff to speed mem, cant remember, bit it think tis called the Warp pack over at Aminet. It came recommended by someone here to speed up my system.

I also have the ACA stuff installed. ACAtune and maprom. I have 3.1 roms so im not sure if that's required. To be honest Im not sure what most of it does. The A1200 works great for the most part. Gotta go. Time for work

Last edited by trydowave; 01 July 2014 at 14:17.
trydowave is offline  
Old 01 July 2014, 14:18   #19
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,985
Quote:
Originally Posted by trydowave View Post
UPDATE: Poolmen boots with ; in front of it.
Nice Joke. Poolwomen will boot with a ; in front of it, too. Everything does. The ; is the comment sign. Everything behind it is ignored.
thomas is offline  
Old 01 July 2014, 16:03   #20
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
I would suggest you to refresh your knowledge. Read OS3.9 docs, all the docs about the stuff you have in S-S/U-S/WB-Startup and used hardware docs. Sorry. I don`t see much sense in tell you all micro information that probably leads you into more problems.

"IF EXISTS" is more or less a safety check because it does what it says: If someting exists do this (else do that). I don`t see any sense in check for C:command. Normaly commands in C: are always there. If you accidentally delete/move it best case is you just don`t notice it because it won`t execute. Stupid, right?!
daxb is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Personal Paint's Color Palette in C aszu Coders. General 1 17 May 2014 18:13
Personal Paint (PPaint) help! (resize or trimming) nittamituaki support.Apps 1 05 May 2014 07:03
Personal Paint "buggy" DougHallstead support.WinUAE 5 13 June 2013 06:53
How to switch screen modes in Personal Paint? palaste support.Apps 1 03 November 2011 21:21
Personal project: EEEPC, Gamebase and WINAUE: problems problems butter100fly project.MAGE 15 09 August 2009 10:51

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:13.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.14616 seconds with 14 queries