/*FILE HEADER**************************************************************
 *
 *  File name		: $Id$
 *  RCS Revision Number	: $Revision: 1.1 $
 *  Last Modified	: $Date: 94/10/28 09:23:29 $
 *  CSCI name		: Real-Time Graphics System - Applications Interface
 *  CSC name		: All functions
 *  Notes:
 *      This file contains code used to debug and test the SVME-770 RTGS.
 *      This code is provided as an example of how to call the RTGS functions
 *      from a host application.
 *  History		:
 *      Created 94/01/17 by Jeff Sanderson
 *
 *END FILE HEADER*********************************************************/

#include "dy4std.h"
#include "es.h"
#include "css.h"

#include "rtgs_ai.h"
#include "video.h"
#include "colours.h"

#include "test.h"


void test_clearscreen( void );
/*-----------------------------------------------------------------------*/

void test_clearscreen( void )
{
    int i;

    init( "Clear screen test" );

    Printf("calling clear screen, inc last line, inc colour\n");

    for( i = 1 ; i < RES_Y ; i++ )
    {
        Clear_screen((i % 0xff), 0, i);
    }
    Key_wait();

    Printf("calling clear screen, inc first line, inc colour\n");

    for( i = 0 ; i < RES_Y ; i++ )
    {
        Clear_screen((i % 0xff), i, (RES_Y - 1));
    }
    Key_wait();
}


/*-----------------------------------------------------------------------*/
