[comp.sys.ibm.pc] How do I make DOS forget about RAM?

vollmer@ttidca.TTI.COM (Jim Vollmer) (10/05/87)

Help, I need a program which can make MS/PC DOS think that there is less 
memory then there really is. I need this program to run on an IBM XT or AT,
with PC-DOS 3.1. 
	What I have tried is:
		1) Change the word at 40:13 to indicate that there is
			   less memory in the system
		2) Reboot DOS without doing diagnostics
	An example of this to remove 64K bytes for the system is as follows:
		mov	ax,40H
		mov	es,ax		;set up the segment
		sub	es:[13H],64	;decrement the amount of memory
		int	25		;do a BIOS reboot
This works on PC-DOS 2.1. But not on DOS 3.1.
What I get is a partial boot but,
	1) If I have VDISK installed it hangs
	2) It hanges when the display is forced to scroll
	3) It hanges before the dos prompt is displayed
Does this mean that the DOS dos not fully initialize its environment?
Is there any other way to accomplish it?
	Thanks
	Jim R. Vollmer