annotate Plugins/Input/adplug/core/rix.h @ 1376:c71e2ef2dcf4 trunk

[svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
author chainsaw
date Sat, 08 Jul 2006 08:29:18 -0700
parents 6ad7eb96dd26
children f12d7e208b43
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
428
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
1 /*
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
2 * Adplug - Replayer for many OPL2/OPL3 audio file formats.
637
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
3 * Copyright (C) 1999 - 2006 Simon Peter, <dn.tlp@gmx.net>, et al.
428
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
4 *
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
5 * This library is free software; you can redistribute it and/or
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
6 * modify it under the terms of the GNU Lesser General Public
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
7 * License as published by the Free Software Foundation; either
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
8 * version 2.1 of the License, or (at your option) any later version.
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
9 *
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
10 * This library is distributed in the hope that it will be useful,
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
13 * Lesser General Public License for more details.
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
14 *
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
15 * You should have received a copy of the GNU Lesser General Public
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
16 * License along with this library; if not, write to the Free Software
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
18 *
844
87b022bf951c [svn] Sync header file for rix player as well.
chainsaw
parents: 646
diff changeset
19 * rix.h - Softstar RIX OPL Format Player by palxex <palxex.ys168.com>
87b022bf951c [svn] Sync header file for rix player as well.
chainsaw
parents: 646
diff changeset
20 * BSPAL <BSPAL.ys168.com>
428
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
21 */
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
22
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
23 #include "player.h"
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
24
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
25 class CrixPlayer: public CPlayer
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
26 {
637
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
27 public:
428
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
28 static CPlayer *factory(Copl *newopl);
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
29
637
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
30 CrixPlayer(Copl *newopl);
1280
6ad7eb96dd26 [svn] Sync with upstream. This adds Westwood ADL format support.
chainsaw
parents: 991
diff changeset
31 ~CrixPlayer();
637
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
32
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
33 bool load(const std::string &filename, const CFileProvider &fp);
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
34 bool update();
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
35 void rewind(int subsong);
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
36 float getrefresh();
1376
c71e2ef2dcf4 [svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
chainsaw
parents: 1280
diff changeset
37 unsigned int getsubsongs();
428
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
38
637
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
39 std::string gettype()
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
40 { return std::string("Softstar RIX OPL Music Format"); };
428
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
41
637
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
42 protected:
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
43 typedef struct {
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
44 unsigned char v[14];
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
45 } ADDT;
428
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
46
1376
c71e2ef2dcf4 [svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
chainsaw
parents: 1280
diff changeset
47 int flag_mkf;
c71e2ef2dcf4 [svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
chainsaw
parents: 1280
diff changeset
48 unsigned char *file_buffer;
c71e2ef2dcf4 [svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
chainsaw
parents: 1280
diff changeset
49 unsigned char *buf_addr; /* rix files' buffer */
c71e2ef2dcf4 [svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
chainsaw
parents: 1280
diff changeset
50 unsigned short buffer[300];
c71e2ef2dcf4 [svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
chainsaw
parents: 1280
diff changeset
51 unsigned short a0b0_data2[11];
c71e2ef2dcf4 [svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
chainsaw
parents: 1280
diff changeset
52 unsigned char a0b0_data3[18];
c71e2ef2dcf4 [svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
chainsaw
parents: 1280
diff changeset
53 unsigned char a0b0_data4[18];
c71e2ef2dcf4 [svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
chainsaw
parents: 1280
diff changeset
54 unsigned char a0b0_data5[96];
c71e2ef2dcf4 [svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
chainsaw
parents: 1280
diff changeset
55 unsigned char addrs_head[96];
c71e2ef2dcf4 [svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
chainsaw
parents: 1280
diff changeset
56 unsigned short insbuf[28];
c71e2ef2dcf4 [svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
chainsaw
parents: 1280
diff changeset
57 unsigned short displace[11];
c71e2ef2dcf4 [svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
chainsaw
parents: 1280
diff changeset
58 ADDT reg_bufs[18];
c71e2ef2dcf4 [svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
chainsaw
parents: 1280
diff changeset
59 unsigned long pos,length;
c71e2ef2dcf4 [svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
chainsaw
parents: 1280
diff changeset
60 unsigned char index;
c71e2ef2dcf4 [svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
chainsaw
parents: 1280
diff changeset
61
c71e2ef2dcf4 [svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
chainsaw
parents: 1280
diff changeset
62 static const unsigned char adflag[18];
c71e2ef2dcf4 [svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
chainsaw
parents: 1280
diff changeset
63 static const unsigned char reg_data[18];
c71e2ef2dcf4 [svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
chainsaw
parents: 1280
diff changeset
64 static const unsigned char ad_C0_offs[18];
c71e2ef2dcf4 [svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
chainsaw
parents: 1280
diff changeset
65 static const unsigned char modify[28];
c71e2ef2dcf4 [svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
chainsaw
parents: 1280
diff changeset
66 static const unsigned char bd_reg_data[124];
c71e2ef2dcf4 [svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
chainsaw
parents: 1280
diff changeset
67 static unsigned char for40reg[18];
c71e2ef2dcf4 [svn] Security fixes from AdPlug CVS (their July 7 commit shortly before the secunia announcement).
chainsaw
parents: 1280
diff changeset
68 static unsigned short mus_time;
991
3eff4f35b39d [svn] Declare variables in a different order, as GCC feels that the current order was wrong.
chainsaw
parents: 844
diff changeset
69 unsigned int I,T;
3eff4f35b39d [svn] Declare variables in a different order, as GCC feels that the current order was wrong.
chainsaw
parents: 844
diff changeset
70 unsigned short mus_block;
3eff4f35b39d [svn] Declare variables in a different order, as GCC feels that the current order was wrong.
chainsaw
parents: 844
diff changeset
71 unsigned short ins_block;
3eff4f35b39d [svn] Declare variables in a different order, as GCC feels that the current order was wrong.
chainsaw
parents: 844
diff changeset
72 unsigned char rhythm;
3eff4f35b39d [svn] Declare variables in a different order, as GCC feels that the current order was wrong.
chainsaw
parents: 844
diff changeset
73 unsigned char mutex;
3eff4f35b39d [svn] Declare variables in a different order, as GCC feels that the current order was wrong.
chainsaw
parents: 844
diff changeset
74 unsigned char music_on;
3eff4f35b39d [svn] Declare variables in a different order, as GCC feels that the current order was wrong.
chainsaw
parents: 844
diff changeset
75 unsigned char pause_flag;
3eff4f35b39d [svn] Declare variables in a different order, as GCC feels that the current order was wrong.
chainsaw
parents: 844
diff changeset
76 unsigned short band;
3eff4f35b39d [svn] Declare variables in a different order, as GCC feels that the current order was wrong.
chainsaw
parents: 844
diff changeset
77 unsigned char band_low;
3eff4f35b39d [svn] Declare variables in a different order, as GCC feels that the current order was wrong.
chainsaw
parents: 844
diff changeset
78 unsigned short e0_reg_flag;
3eff4f35b39d [svn] Declare variables in a different order, as GCC feels that the current order was wrong.
chainsaw
parents: 844
diff changeset
79 unsigned char bd_modify;
3eff4f35b39d [svn] Declare variables in a different order, as GCC feels that the current order was wrong.
chainsaw
parents: 844
diff changeset
80 int sustain;
3eff4f35b39d [svn] Declare variables in a different order, as GCC feels that the current order was wrong.
chainsaw
parents: 844
diff changeset
81 int dro_end;
428
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
82
637
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
83 #define ad_08_reg() ad_bop(8,0) /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
84 inline void ad_20_reg(unsigned short); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
85 inline void ad_40_reg(unsigned short); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
86 inline void ad_60_reg(unsigned short); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
87 inline void ad_80_reg(unsigned short); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
88 inline void ad_a0b0_reg(unsigned short); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
89 inline void ad_a0b0l_reg(unsigned short,unsigned short,unsigned short); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
90 inline void ad_a0b0l_reg_(unsigned short,unsigned short,unsigned short); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
91 inline void ad_bd_reg(); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
92 inline void ad_bop(unsigned short,unsigned short); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
93 inline void ad_C0_reg(unsigned short); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
94 inline void ad_E0_reg(unsigned short); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
95 inline unsigned short ad_initial(); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
96 inline unsigned short ad_test(); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
97 inline void crc_trans(unsigned short,unsigned short); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
98 inline void data_initial(); /* done */
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
99 inline void init(); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
100 inline void ins_to_reg(unsigned short,unsigned short*,unsigned short); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
101 inline void int_08h_entry(); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
102 inline void music_ctrl(); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
103 inline void Pause(); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
104 inline void prep_int(); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
105 inline void prepare_a0b0(unsigned short,unsigned short); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
106 inline void rix_90_pro(unsigned short); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
107 inline void rix_A0_pro(unsigned short,unsigned short); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
108 inline void rix_B0_pro(unsigned short,unsigned short); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
109 inline void rix_C0_pro(unsigned short,unsigned short); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
110 inline void rix_get_ins(); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
111 inline unsigned short rix_proc(); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
112 inline void set_new_int();
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
113 inline void set_speed(unsigned short); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
114 inline void set_time(unsigned short); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
115 inline void switch_ad_bd(unsigned short); /**/
2b06eb5e472d [svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
chainsaw
parents: 428
diff changeset
116 inline unsigned int strm_and_fr(unsigned short); /* done */
428
15ca2ea93a30 [svn] Sync with upstream CVS. This implements RIX playback.
chainsaw
parents:
diff changeset
117 };