Previous: MMedUtils
Up: Multimedia capabilities
Previous Page: Unit Termination Code

A Multimedia Version of Ports

The existing Turbo Pascal 5.0/6.0 version of Ports required 3 extensions integrate our present multimedia capabilities into its existing screen handling.

Using MMedUtil co-operatively with VdDscMgr:
As it uses PCVideo for performing text and graphics operations, the multimedia version of Ports uses MMedUtil to incorporate a minimal degree of control over the additional video "plane".
Selecting the screen area where video is to appear:
To control the positioning of video on the screen, Ports' grSelect routine calls mmSetDispArea with the coordinates of the port. Therefore any graphport can be used, in this version, for the display of video.
Erasing the video "plane" of any port being erased:
ptErase is augmented with a call to MMedUtil to erase the video component from the screen rectangle it is erasing.

Educational Technology Center
Dept. of Info. and Comp.Sci.
Univ. of California, Irvine
92717, CA, USA