Hello Kevin,

Wednesday, July 4, 2007, 8:03:15 PM, you wrote:

> On Wed, Jul 04, 2007 at 03:15:27PM +0300, Paul Sokolovsky wrote:
>> >>       Well, that call is what it took me to get boot of ~23Mb file on
>> >> hx4700 without it complaining about lack of memory. That calls is
>> >> completely adhoc for this purpose, and/or requires calculation of
>> >> arguments which is hard to do in script, so that hardly help.
>> 
>> > But on an hx4700 wouldn't you know what to set it to in advance?
>> 
>>   Not sure I understand the question (or its relation to topic), what
>> do you mean?

> Currently, the patch does:

> DWORD ret = SetSystemMemoryDivision(
>       (storeInfo.dwStoreSize - storeInfo.dwFreeSize) / 4096 + 50);

> Wouldn't you know what storeInfo.dwStoreSize and storeInfo.dwFreeSize
> is on hx4700 in advance?  And if so, couldn't you do the math in
> advance and just put something like:

> SETMEMDIV 1234

> in your script?

  Ah, I see ;-). Just wasn't sure how knowing random values for a random
device beforehand helps our aim of creating the bootloader which works
on all possible and impossible devices under the widest variety of
parameters and conditions and in with the best robustness and
unobtrusiveness to a user. ;-)


> -Kevin


-- 
Best regards,
 Paul                            mailto:[EMAIL PROTECTED]

_______________________________________________
Haret mailing list
[email protected]
https://handhelds.org/mailman/listinfo/haret

Reply via email to