mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.8 KiB
64 lines
1.8 KiB
/*
|
|
*
|
|
* Copyright (C) 1993, 1994 by
|
|
* DIGITAL EQUIPMENT CORPORATION, Maynard, MA.
|
|
*
|
|
* This software is furnished under a license and may be used and copied
|
|
* only in accordance with the terms of such license and with the inclusion
|
|
* of the above copyright notice. This software or any other copies there-
|
|
* of may not be provided or otherwise made available to any other person.
|
|
* No title to and ownership of the software is hereby transferred.
|
|
*
|
|
* The information in this software is subject to change without notice
|
|
* and should not be construed as a commitment by DIGITAL EQUIPMENT COR-
|
|
* PORATION.
|
|
*
|
|
* DIGITAL assumes no responsibility for the use or reliability of its
|
|
* software on equipment which is not supplied by DIGITAL.
|
|
*
|
|
*******************************************************************************
|
|
*
|
|
* Module: blthsdm1.c
|
|
*
|
|
* Abstract: Module to define the 8bpp to 8bpp permutation for blit
|
|
* host->screen DMA code.
|
|
*
|
|
* HISTORY
|
|
*
|
|
* 25-Aug-1994 Bob Seitsinger
|
|
* Original version.
|
|
*/
|
|
|
|
/////////////////////////////////////////////////////////////
|
|
// 8bpp bitmap to 8bpp frame buffer
|
|
|
|
#undef TGASRCPIXELBITS
|
|
#undef TGASRCDEPTHBITS
|
|
#undef TGAPIXELBITS
|
|
#undef TGADEPTHBITS
|
|
|
|
#define TGASRCPIXELBITS 8
|
|
#define TGASRCDEPTHBITS 8
|
|
#define TGAPIXELBITS 8
|
|
#define TGADEPTHBITS 8
|
|
|
|
#include "driver.h"
|
|
#include "tgablt.h"
|
|
#include "tgadma.h"
|
|
|
|
#ifndef TGACHIPREVISION
|
|
#define TGACHIPREVISION 2
|
|
#endif
|
|
|
|
VOID vBitbltHSDMA8to8 (SURFOBJ *pso,
|
|
RECTL *pbox,
|
|
POINTL *ppt,
|
|
int width,
|
|
int height,
|
|
int widthSrc,
|
|
int widthTrg,
|
|
Pixel8 *psrcBase,
|
|
Pixel8 *ptrgBase)
|
|
|
|
// Include the code
|
|
#include <blthsdm_.c>
|