sgdk: ym2612.h Source File

sgdk

- Main Page
- Related Pages
- Classes
- Files

- File List
- File Members

ym2612.h
Go to the documentation of this file.

    00001
    00010 #ifndef _YM2612_H_
    00011 #define _YM2612_H_
    00012
    00017 #define YM2612_BASEPORT     0xA04000
    00018
    00019
    00024 void YM2612_reset();
    00025
    00036 u8   YM2612_read(const u16 port);
    00049 void YM2612_write(const u16 port, const u8 data);
    00053 void YM2612_writeSafe(const u16 port, const u8 data);
    00068 void YM2612_writeReg(const u16 part, const u8 reg, const u8 data);
    00072 void YM2612_writeRegSafe(const u16 part, const u8 reg, const u8 data);
    00073
    00078 void YM2612_enableDAC();
    00083 void YM2612_disableDAC();
    00084
    00085
    00086 #endif // _YM2612_H_

All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines