add: printf ("Creating a new area\n"); area1=vm.createArea("Mine",2,(void **)(&addr)); writeByte(0,99); readByte(0); printf ("\n\n\n\n\n"); writeByte(4097,99); readByte(4097); printf ("\n\n\n\n\n"); for (int i=0;i<8192;i++) writeByte(i,i%256); for (int i=0;i<8192;i++) if (i%256!=readByte(i)) printf ("ERROR! Byte at offset %d does not match: expected: %d, found: %d\n",i,i%256,readByte(i));
context: int main(int argc,char **argv){	vm.createArea("Mine",2,(void **)(&addr));	writeByte(0,99);	readByte(0);	printf ("\n\n\n\n\n");	writeByte(4097,99);	readByte(4097);	printf ("\n\n\n\n\n");	for (int i=0;i<8192;i++)		writeByte(i,i%256);	for (int i=0;i<8192;i++)		if (i%256!=readByte(i))				printf ("ERROR! Byte at offset %d does not match: expected: %d, found: %d\n",i,i%256,readByte(i));	snooze(10000000);	vm.createArea("Mine",2,(void **)(&addr));	writeByte(0,99);	readByte(0);	printf ("\n\n\n\n\n");	writeByte(4097,99);	readByte(4097);	printf ("\n\n\n\n\n");	for (int i=0;i<8192;i++)		writeByte(i,i%256);	for (int i=0;i<8192;i++)		if (i%256!=readByte(i))				printf ("ERROR! Byte at offset %d does not match: expected: %d, found: %d\n",i,i%256,readByte(i));	snooze(2000000);	return 0;}