Diff for /np2/sound/fmboard.h between versions 1.4 and 1.7

version 1.4, 2004/01/23 15:05:05 version 1.7, 2005/02/07 14:46:12
Line 1 Line 1
   
   #if !defined(DISABLE_SOUND)
   
 #include        "soundrom.h"  #include        "soundrom.h"
 #include        "tms3631.h"  #include        "tms3631.h"
 #include        "fmtimer.h"  #include        "fmtimer.h"
Line 11 Line 13
   
   
 typedef struct {  typedef struct {
         BYTE    reg[0x400];          UINT8   reg[0x400];
         BYTE    opnreg;          UINT8   opnreg;
         BYTE    extreg;          UINT8   extreg;
         BYTE    opn2reg;          UINT8   opn2reg;
         BYTE    ext2reg;          UINT8   ext2reg;
         BYTE    adpcmmask;          UINT8   adpcmmask;
         BYTE    channels;          UINT8   channels;
         BYTE    extend;          UINT8   extend;
         BYTE    padding;          UINT8   padding;
         UINT16  base;          UINT16  base;
 } OPN_T;  } OPN_T;
   
 typedef struct {  typedef struct {
         UINT16  port;          UINT16  port;
         BYTE    psg3reg;          UINT8   psg3reg;
         BYTE    rhythm;          UINT8   rhythm;
 } AMD98;  } AMD98;
   
 typedef struct {  typedef struct {
         BYTE    porta;          UINT8   porta;
         BYTE    portb;          UINT8   portb;
         BYTE    portc;          UINT8   portc;
         BYTE    mask;          UINT8   mask;
         BYTE    key[8];          UINT8   key[8];
         int             sync;          int             sync;
         int             ch;          int             ch;
 } MUSICGEN;  } MUSICGEN;
Line 70  void fmboard_extenable(REG8 enable); Line 72  void fmboard_extenable(REG8 enable);
 void fmboard_reset(UINT32 type);  void fmboard_reset(UINT32 type);
 void fmboard_bind(void);  void fmboard_bind(void);
   
   void fmboard_fmrestore(REG8 chbase, UINT bank);
   void fmboard_rhyrestore(RHYTHM rhy, UINT bank);
   
 #ifdef __cplusplus  #ifdef __cplusplus
 }  }
 #endif  #endif
   
   #else
   
   #define fmboard_reset(t)
   #define fmboard_bind()
   
   #endif
   

Removed from v.1.4  
changed lines
  Added in v.1.7


RetroPC.NET-CVS <cvs@retropc.net>