Debian Codegraph @

android/app/jni/extern/vgsound_emu-modified/README.md

raw
1 # vgsound_emu V2 (modified)
2
3 This is a C++ library of video game sound chip emulation cores. useful for emulators, chiptune trackers, or players.
4
5 This is a modified version of vgsound_emu, tailored for Furnace.
6
7 ## Important
8
9 License is now changed to zlib license in vgsound_emu V2, now you must notify your all modifications.
10
11 but [vgsound_emu V1 (pre-V2)](https://gitlab.com/cam900/vgsound_emu/-/tree/V1) is still exists, and it's still distributed under [BSD-3-Clause license](https://spdx.org/licenses/BSD-3-Clause.html).([details](https://gitlab.com/cam900/vgsound_emu/-/blob/V1/LICENSE))
12
13 ## V2 revision changes
14
15 formatting codes with clang-format, Encapsulation for Maintenance, Fix GCC 12, Change license to zlib license for notify modifications in derived works from this cores.
16
17 ## Changelog
18
19 See [here](https://gitlab.com/cam900/vgsound_emu/-/blob/main/CHANGELOG.md).
20
21 ## License
22
23 This software is distributed under [zlib License](https://spdx.org/licenses/Zlib.html), unlike [vgsound_emu V1](https://gitlab.com/cam900/vgsound_emu/-/tree/V1)([standard BSD-3-Clause license](https://spdx.org/licenses/BSD-3-Clause.html)([details](https://gitlab.com/cam900/vgsound_emu/-/blob/V1/LICENSE))).
24 You must notify your modifications at all files you have modified!
25
26 See [here](https://gitlab.com/cam900/vgsound_emu/-/blob/main/LICENSE) for details.
27
28 ## Folders
29
30 - vgsound_emu: base folder
31 - src: source codes for emulation cores
32 - core: core files used in most of emulation cores
33 - vox: Dialogic ADPCM core
34 - es550x: Ensoniq ES5504, ES5505, ES5506 PCM sound chip families, 25/32 voices with 16/4 stereo/6 stereo output channels
35 - k005289: Konami K005289, 2 timers
36 - k007232: Konami K007232, 2 PCM channels
37 - k053260: Konami K053260, 4 PCM or ADPCM channels with CPU to CPU communication feature
38 - msm6295: OKI MSM6295, 4 ADPCM channels
39 - n163: Namco 163, NES Mapper with up to 8 Wavetable channels
40 - scc: Konami SCC, MSX Mappers with 5 Wavetable channels
41 - vrcvi: Konami VRC VI, NES Mapper with 2 Pulse channels and 1 Sawtooth channel
42 - x1_010: Seta/Allumer X1-010, 16 Wavetable/PCM channels
43 - template: Template for sound emulation core
44
45 ## Build instruction
46
47 ### dependencies
48
49 - C++11 (or later)
50 - CMake (3.1 or later is recommended)
51 - git (for source repository management)
52 - MSVC or GCC or Clang (for compile)
53
54 ### Clone repository
55
56 type the following on a terminal/console/shell/whatever:
57
58 ```
59 git clone https://gitlab.com/cam900/vgsound_emu.git
60 cd vgsound_emu
61 ```
62
63 ### Compile with CMake
64
65 #### MSVC
66
67 type the following on a developer tools command prompt:
68
69 ```
70 mkdir build
71 cd build
72 cmake ..
73 msbuild ALL_BUILD.vcxproj
74 ```
75
76 #### MinGW, GCC, Clang with MakeFile
77
78 type the following on a terminal/console/shell/whatever:
79
80 ```
81 mkdir build
82 cd build
83 cmake ..
84 make
85 ```
86
87 ### CMake options
88
89 To add an CMake option from the command line: ```cmake -D<Insert option name here>=<Value> ..```
90 You can add multiple option with CMake.
91
92 #### Available options
93
94 | Options | Available Value | Default | Descriptions |
95 | :-: | :-: | :-: | :-: |
96 | VGSOUND_EMU_ES5504 | ON/OFF | ON | Use ES5504 core |
97 | VGSOUND_EMU_ES5505 | ON/OFF | ON | Use ES5505 core |
98 | VGSOUND_EMU_ES5506 | ON/OFF | ON | Use ES5506 core |
99 | VGSOUND_EMU_K005289 | ON/OFF | ON | Use K005289 core |
100 | VGSOUND_EMU_K007232 | ON/OFF | ON | Use K007232 core |
101 | VGSOUND_EMU_K053260 | ON/OFF | ON | Use K053260 core |
102 | VGSOUND_EMU_MSM6295 | ON/OFF | ON | Use MSM6295 core |
103 | VGSOUND_EMU_NAMCO_163 | ON/OFF | ON | Use Namco 163 core |
104 | VGSOUND_EMU_SCC | ON/OFF | ON | Use SCC core |
105 | VGSOUND_EMU_VRCVI | ON/OFF | ON | Use VRC VI core |
106 | VGSOUND_EMU_X1_010 | ON/OFF | ON | Use X1-010 core |
107
108 ### Link at another project
109
110 Copy this repository as submodule first, type the following on a terminal/console/shell/whatever:
111
112 ```
113 git submodule add https://gitlab.com/cam900/vgsound_emu.git <Insert submodule path here>
114 ```
115
116 Then, Add following options at your CMakeLists.txt file.
117
118 example:
119
120 ```
121 add_subdirectory(<Insert submodule path here> [EXCLUDE_FROM_ALL])
122 ...
123 target_include_directories(<Insert your project name here> SYSTEM PRIVATE <Insert submodule path here>)
124 target_link_libraries(<Insert your project name here> PRIVATE vgsound_emu)
125 ```
126
127 ## Contributors
128
129 - [cam900](https://gitlab.com/cam900)
130 - [Natt Akuma](https://github.com/akumanatt)
131 - [James Alan Nguyen](https://github.com/djtuBIG-MaliceX)
132 - [Laurens Holst](https://github.com/Grauw)