Author |
Topic |
|
Susan
123 Posts |
Posted - 28 Oct 2004 : 15:48:23
|
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
|
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
|
|
|
mcmalburg
28 Posts |
Posted - 15 Feb 2008 : 14:43:15
|
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. |
|
|
cbadr
154 Posts |
Posted - 15 Feb 2008 : 18:43:10
|
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). |
|
|
beitman
63 Posts |
Posted - 18 Feb 2008 : 10:32:32
|
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. |
|
|
|
Topic |
|