beautypg.com

Avery Dennison 6035 Programmer Manual Rev.A 7/98 User Manual

Page 43

background image

7/9/98

Using ROM-DOS 6.22 2-31

xxxx-yyyy defines a range of memory to fill-in with extended memory.
Up to eight ranges can be specified. The range can be specified as
an exact range, for example D000 to DFFF; or as the starting and
ending marks for the range, D000 to E000. In either of these
examples, 64K has been defined.

Frame defines the starting segment for four 16K pages which can be
mapped in and out at will. memK specifies how much memory to
reserve for EMS, the default allocates all XMS memory for use as EMS.

D= specifies the amount of RAM in Kbytes (specified as a base 10
number) to be reserved for a VDS buffer (Virtual DMA Services). The
default value is zero.

ROM= specifies a region of ROM to be supported by shadow RAM.
This uses write protected RAM in place of ROM and can increase the
speed of some systems.

The int 67H calls supported by this EMM386 memory manager include:

Status

40H

Get Manager Status

41H

Get Page Frame Segment

42H

Get Number of Pages

43H

Get Handle and Allocate Memory

44H

Map Memory

45H

Release Handle and Memory

46H

Get EMM Version

47H

Save Mapping context

48H

Restore Mapping context

4CH

Get Pages Owned by Handle

4DH

Get Pages for All Handles

51H

Reallocate Pages