-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
# opl3-rs | ||
|
||
`opl3-rs` is a small library to provide bindings for the [Nuked-OPL3 library](https://github.com/nukeykt/Nuked-OPL3). | ||
|
||
# Usage | ||
|
||
Nuked-OPL3 is not a turn-key implementation of the OPL3 chip - functions such as the status register, timers and | ||
interrupts are left as implementation details. Eventually this library will aim to provide a wrapper type that will | ||
provide example implementations for easier integrations with emulators. | ||
interrupts are left as implementation details. | ||
|
||
For now, you can access the Nuked-OPL3 API via the `Opl3Chip` struct. | ||
You can access the Nuked-OPL3 API via the `Opl3Chip` struct, if needed, but with the caveat that directly writing | ||
registers to Nuked-OPL3 will prevent you from reading the OPL registers correctly. | ||
|
||
If you intend to utilize `opl3-rs` in an emulator, you will probably want to use the `Opl3Device` wrapper which provides | ||
a full OPL3 implementation including the status registers and timers. | ||
|
||
# Credits | ||
|
||
[Nuked-OPL3](https://github.com/nukeykt/Nuked-OPL3) is (C) 2013-2020 Nuke.YKT and licensed under LGPL 2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters