Allocating Huge Arrays in MSC 5.0
Bill Ives
wei at hpctdls.HP.COM
Sat Jan 7 00:51:55 AEST 1989
I believe you're having problems due to the 64K boundry crossing
just like you mentioned -- but using /AH will not fix it for you
since that tells the compiler how you want to treat pointers NOT
data space size. You have to use the halloc() function to allocate
any data space larger than 64K ( and have MSC do the pointer
manipulations for you ). According to my documentation, if you want
an array > 128K you must also ensure that the array element size be
a power of 2.
Hope this helps ...
Bill Ives
HP Colorado Telecommunications Division
Disclaimer: These are only my opinions, mine mine mine....
More information about the Comp.lang.c
mailing list