Sega's Maple Bus is used on Dreamcast's controller interface.

Refer to the Generating Maple Bus Output in my DreamcastControllerUsbPico repository for a description of what the signals of a Maple Bus looks like.
Prerequisites
- For Windows: Visual Studio (Community Edition or better) https://visualstudio.microsoft.com/vs/
- For other OS: Any CMake Builder
gitcommand line executable- For Windows, use: https://gitforwindows.org/
Getting the Saleae Analizer SDK
First, execute the following to pull down the AnalyzerSDK. This is the only dependency of this library.
git submodule update --init --recursive
For Windows:
- Open Visual Studio
File->Open->Folder...- Select this repo
- Visual Studio will try to execute
git, so it is necessary to havegiton command line installed
- Visual Studio will try to execute
Build->Build All
For any other OS:
cd Maple-Bus-Saleae-Analyzer
cmake .
make
Execute the Saleae software and open up the Preferences dialog.

Go to the Custom Low Level Analyzers setting and browse to the directory which contains the compiled .dll for Windows or .so for Linux.

In order for the library to be loaded, you must then close and then reopen the Logic application.
Select the two data lines and what kind of output style to view/export.

This is what the output will look like if SDCKA is channel 0, SDCKB is channel 1, and output style is Each Byte:
Byte index is displayed within parentheses next to each byte value.
This is output style Each Word (little endian):
(F) stands for Frame Word, (C) stands for CRC byte, and (#) is the data word index where # is an integer value.
This is output style Word Bytes:
(F) stands for Frame Word, (C) stands for CRC byte, and (#) is the data word index where # is an integer value.
This is output style Word Bytes (little endian):
(F) stands for Frame Word, (C) stands for CRC byte, and (#) is the data word index where # is an integer value.
I recommend enabling the glitch filter at 50 ns on the channels set for SDCKA and SDCKB when making measurements on the Dreamcast.
The data generator is not supported, and I don't have any current plans to.
Saleae SDK
https://github.com/saleae/SampleAnalyzer/blob/master/docs/Analyzer_API.md
https://support.saleae.com/saleae-api-and-sdk/protocol-analyzer-sdk
Maple Bus Resources
https://tech-en.netlify.app/articles/en540236/index.html
http://mc.pp.se/dc/maplebus.html#cmds and http://mc.pp.se/dc/controller.html
https://www.raphnet.net/programmation/dreamcast_usb/index_en.php
