Re: Linked List w/o "new" ?
wow, that's taking virtual computer to a whole new level :) what i'd suggest is making your own function that will return a "pointer" to a spot in your hypomem. for example:
Code:
unsigned int createHypoDat(unsigned int size)
{
do some stuff to find the next closest empty "block" of hypomem
return <index to the beginning of the block>
}
That seems like the best way to do it to me, i'm not sure how you'd efficiently make sure that you weren't writing over other blocks and things, but that's a good place to start i guess