MCUME/MCUME_teensy41/teensymsx/V9938.h

39 wiersze
1.7 KiB
C

/** fMSX: portable MSX emulator ******************************/
/** **/
/** V9938.h **/
/** **/
/** This file contains declarations for V9938 special **/
/** graphical operations support implemented in V9938.c. **/
/** **/
/** Copyright (C) Marat Fayzullin 1994-2005 **/
/** You are not allowed to distribute this software **/
/** commercially. Please, notify me, if you make any **/
/** changes to this file. **/
/*************************************************************/
#ifndef V9938_H
#define V9938_H
#include "MSX.h"
/** VDPWrite() ***********************************************/
/** Use this function to transfer pixel(s) from CPU to VDP. **/
/*************************************************************/
void VDPWrite(register byte V);
/** VDPRead() ************************************************/
/** Use this function to transfer pixel(s) from VDP to CPU. **/
/*************************************************************/
byte VDPRead(void);
/** VDPDraw() ************************************************/
/** Perform a given V9938 graphical operation. **/
/*************************************************************/
byte VDPDraw(register byte Op);
/** LoopVDP() ************************************************/
/** Perform a number of steps of the active operation **/
/*************************************************************/
void LoopVDP(void);
#endif /* V9938_H */