*/\r
\r
#include "src/lib/vgmsnd/vgmSnd.h"\r
-#include "src/lib/doslib/adlib.h"\r
+#include "src/lib/16_snd.h"\r
+//#include "src/lib/doslib/adlib.h"\r
#include "src/lib/16_in.h"\r
\r
void OPL2_Write(UINT8 reg, UINT8 data);\r
{\r
//ym3812_w(0, 0, reg);\r
//ym3812_w(0, 1, data);\r
- //opl2out(reg, data);\r
- adlib_write((word) reg,(byte)data);\r
+ opl2out(reg, data);\r
+ //adlib_write((word) reg,(byte)data);\r
return;\r
}\r
\r
UINT8 OPL2_ReadStatus(void)\r
{\r
- //return(inp(ADLIB_FM_ADDRESS));\r
- return (UINT8)adlib_read(0);\r
+ return(inp(ADLIB_FM_ADDRESS));\r
+ //return (UINT8)adlib_read(0);\r
//return ym3812_r(0, 0);\r
}\r
\r