[comp.os.msdos.programmer] Accessing hardware in extended memory using a xms driver

boer@fwi.uva.nl (George den Boer) (06/25/91)

Greetings,

At this moment we are using a DT2853 framegrabber inside a 286-AT. Using the
driver  and a interpreter like program, called iris, we can acquire and store
images to disk. Using this driver it is not possible to access the video memory
directly.

We have image processing software available and like to access the video memory
directly from within the program. The iris interpreter does not give us this
possibility. Therefore we already have written the initialization software.
This initialization is done using IO port calls. We can not yet get to the
video memory.

The manual of the DT2853 states that the video memory can be accessed using
standard AT extended memory calls. Therefore we thought we could use an extended
memory driver like himem.sys.

We have the following questions

1. Can we use himem.sys (or any other xms driver) to access the video memory.
   If this can not be done using a xms driver do you have any suggestions 
   about how this memory access can be done.

2. Do we have to tell himem about the existence of the video memory. If this
   is the case how can I do this.

3. Can we claim the video memory using the xms driver. We want to prevent that
   himem given the video memory away to other applications. If we can or have
   to claim the memory how is this accomplished.

Thank you in advance.


George den Boer


G. A. den Boer
University of Amsterdam
Kruislaan 403
NL - 1098 SJ Amsterdam
Holland
Email boer@fwi.uva.nl