All Forums
 Microsoft Windows CE
 General CE
 System/Memory Registry Entry
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

Susan

123 Posts

Posted - 28 Oct 2004 :  15:48:23  Show Profile  Email Poster
I need to know the registry key for setting the amount of program memory versus storage memory (the value I normally would set via the System/Memory icon of Control Panel).

We will be testing tomorrow morning, and I will probably not have a display/touchscreen, so I need to enter this value via ADSLoad.reg.

I thought you had answered this question already, somewhere, but I haven't been able to locate it.

Thanks...

ctacke

877 Posts

Posted - 28 Oct 2004 :  18:22:22  Show Profile  Email Poster
It's usually in the default ADSLOAD.REG, but here it is for searchability:

;-----------------------------------------------------
; Set Storage memory and Program memory
; Page size is 4096 bytes. Default Value is 256 pages for Object Store.
; If you set 256 pages(dword:100), the storage memory(object store) is
; 256 * 4096 = 1MB. The rest of available memory becomes program memory.
;
; dword:40 leaves 256k for storage
;-----------------------------------------------------
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\MemoryConfig]
"ObjectStorePages"=dword:200 ;2MB storage
Go to Top of Page

mcmalburg

28 Posts

Posted - 15 Feb 2008 :  14:43:15  Show Profile  Email Poster
Aparently I'm missing something. I've added the lines:

[HKEY_LOCAL_MACHINEDriversBuiltInMemoryConfig]
"ObjectStorePages"=dword:200 ;2MB storage

to my ADSLOAD.REG, on my CF card and started up my BitsyXb with the CF card installed.

I would expect this to drive the storage memory to be as low as possible. However, when I re-start the BitsyXb and look at Properties on "My Device", I see the memory slider is right back in the middle: 17.7 Mb on each side.

I need about 28 Mb of program memory for my app to run. How can I set this in the registry?


Thanks.
Go to Top of Page

cbadr

154 Posts

Posted - 15 Feb 2008 :  18:43:10  Show Profile  Email Poster
Please check that your dipswitches are in the Sealed Box Upgrade state, for BitsyXb switches 1 and 2 OFF, so that your ADSLoad.reg is being copied from the CF card to flash. You can verify that it's being copied by watching the debug output.
You can also change your allocated storage memory by using the slider bar in the Control Panel -> System applet (topic 283), or even do so programmatically (topic 553).
Go to Top of Page

beitman

63 Posts

Posted - 18 Feb 2008 :  10:32:32  Show Profile  Email Poster
Another way to test that ADSLoad.reg is being loaded from the CF card is to look at the copy of ADSLoad.reg in Temp folder. Look in this file to ensure that your changes have been applied to the system.
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000