VM Labs SDK Sample Code

\vmlabs\sample\NUON-Programming-Series\DMA-Sample\Assembly

 Copyright © 2000 VM Labs, Inc.  All Rights Reserved

December 18, 2000


This program demonstrates how to do your own DMA calls.

Please note that in most cases, for C or C++ code running on MPE 3, it is recommended that you use the BIOS functions _DMALinear() and _DMABiLinear().  These functions know how to deal with the various issues relating to using DMA on a processor that is using the cache.  For examples of how to use these functions, please see the VMBALLS3 sample.

Filename Description
data.s Assembly file that includes sample images as binary data.
dmacalls.s Source code for calls to perform DMA operations
graphics.c Graphics routines for clearing the screen and drawing the background image.
makefile MAKEFILE for building and running sample program.
proto.h Function prototypes used by program.
screenbuffers.c Functions for initializing and managing screen buffers.
showpic.c Main source module for this sample
showpic.h Contains a variety of definitions used throughout the program
vmlogo.raw Raw RGB image file with graphic used for background.

 


Before attempting to load or run any of the SDK samples, make sure you have first read the Hitchhiker's Guide To NUON document.  

After that, if you're still having trouble getting this sample program to work,  click here to request assistance from developer support.

Click here for other online SDK documentation.