On Apr 24, 2016, at 1:16 PM, Mark Cave-Ayland wrote:
On 24/04/16 17:23, Programmingkid wrote:
On Apr 24, 2016, at 8:36 AM, Mark Cave-Ayland wrote:
On 23/04/16 17:03, Programmingkid wrote:
How do we increase the size of the dictionary? I thought it would be as simple as increasing the DICTIONARY_SIZE constant, but that causes this error:
ppc-elf-ld: section .romentry [00000000fffffffc -> 00000000ffffffff] overlaps section .data [00000000fff3c000 -> 000000010013c1d7] ppc-elf-ld: openbios-qemu.elf.nostrip: section .romentry vma 0xfffffffc overlaps previous sections
That looks correct, however you've increased DICTIONARY_SIZE so much that the final address goes beyond 0xfffffffc which is the maximum limit of the PROM area for PPC.
Thanks for this info. Would you know a way to allocate around 700k from the dictionary?
Sadly most PROMs are limited in the amount of memory mapped for them on real hardware, so this is likely impossible. What is the current dictionary size for your PPC image and why do you need to increase it? 700K is starting to sound almost too big.
I haven't been able to increase the dictionary size. It is currently at the default of 512K. Apple's bootscript does attempt to allocate 672,751 bytes. That is why we see the Dictionary Space overflow messages. Tests done on a Macintosh show Apple's allot word can allocate a lot more than 700k.