i initialised with init_mempool(0x8000,0x800); but when i call malloc it returns a null pointer why? resolutions?
You are passing in integer value to a function that expects a far, huge, or xhuge pointer depending on your memory model. How does that integer translate to one of those qualified pointers? Is there actually memory wherever this integer converted to qualified pointer addresses?