[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Virtual Memory



> VM _can_ be performed on a 68000. I used to have the code for it.

[stuff edited]
> 
> 	char **ptr;
> 
> 	ptr=VMalloc(8192L);	/* Allocate a virutal memory block */
> 	VMunswap(ptr);		/* unswap region until we say otherwise */
> 	strcpy(*ptr,"Test data"); /* store something in it */
> 	VMswap(ptr);	/* done with this block for now, it can be 
> swapped if the VMM wants to. */

so is this user code?  if it is, this is no solution at all as far as an 
OS is concerned.  this looks like some sort of overlay system to me.

david