forked from iPodLinux-Community/iDarcNES
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtms9918.h
More file actions
33 lines (26 loc) · 748 Bytes
/
tms9918.h
File metadata and controls
33 lines (26 loc) · 748 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
* tms9918.h
*
* tms9918 vdp emulation.
*/
#ifndef TMS9918_H
#define TMS9918_H
/* $Id: tms9918.h,v 1.2 1999/11/27 19:16:56 nyef Exp $ */
typedef struct tms9918 *tms9918;
unsigned char tms9918_readport0(tms9918 vdp);
unsigned char tms9918_readport1(tms9918 vdp);
void tms9918_writeport0(tms9918 vdp, unsigned char data);
void tms9918_writeport1(tms9918 vdp, unsigned char data);
int tms9918_periodic(tms9918 vdp);
tms9918 tms9918_create(void);
#endif /* TMS9918_H */
/*
* $Log: tms9918.h,v $
* Revision 1.2 1999/11/27 19:16:56 nyef
* published the actual routine names for what was hiding behind procpointers
* moved the vdp data structure out to tms9918.c
*
* Revision 1.1 1999/06/08 01:49:21 nyef
* Initial revision
*
*/