-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from anarkiwi/msgs
rearrange config messages, allow masking of status messages.
- Loading branch information
Showing
3 changed files
with
59 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ Vessel's main points of differences from other C64 MIDI interfaces are: | |
* it uses the user port, not the cartridge port | ||
* it does not use/need any CIA shift register ports | ||
* it can transfer multiple bytes per transaction (unlike ACIA/6850 designs) | ||
* the C64 can have configure Vessel to filter MIDI messages to save CPU time | ||
|
||
If you are interested in acquiring a Vessel please contact [email protected]. | ||
|
||
|
@@ -67,12 +68,17 @@ The C64 can send Vessel a command, by sending byte 0xFD (not used by MIDI), | |
and then a command, and then a fixed number of data bytes (depending on the | ||
command - unless otherwise specified, a command is followed by 0 data bytes). | ||
|
||
By default, NMI on external input is off, all MIDI channels are masked (only | ||
channel-less messages will be sent to the C64), and MIDI through is disabled. | ||
|
||
* 0x00 HH LL CN: Config: channel mask high byte (HH), low byte (LL), and config byte (CN). Config byte bit 0 enables NMI, bit 1 enables MIDI through. | ||
* 0x01: Reset. Vessel will reset to default config, | ||
* 0x02: Version. Vessel will return a version string (currently ASCII "vessel0"). | ||
By default, NMI on external input is off, all MIDI channels are masked and | ||
all status messages will be masked (no MIDI messages will be sent to the C64) | ||
and MIDI through is disabled. | ||
|
||
|byte|command |arg bytes|description | ||
|----|------------|---------|-------------------------------------------------------------------------- | ||
|0x00|Reset | |Vessel will reset to default config, | ||
|0x01|Version | |Vessel will return a version string (currently C64 screen code "vessel00"). | ||
|0x02|Config |CF |CF bit 0 enables NMI, bit 1 enables MIDI through. | ||
|0x03|Channel mask|HH LL |High byte (HH), low byte (LL) for channels 1 to 16 | ||
|0x04|Status mask |HH LL |High byte (HH), low byte (LL) for messages F0 to FF | ||
|
||
|
||
Upgrading firmware | ||
|
Binary file not shown.
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