Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System command list #9

Open
freem opened this issue May 24, 2016 · 0 comments
Open

System command list #9

freem opened this issue May 24, 2016 · 0 comments
Labels
Milestone

Comments

@freem
Copy link
Owner

freem commented May 24, 2016

Part of the Sound Driver master todo list (#2)

The system command list includes tempo changes, fade in/out, stop playback, and more. The commands themselves are between $00-$1F, with a few reserved slots.

The current list is maintained in docs/functions/sound/soundCommands.txt, but replicated here in Markdown format (it may have changed; please check the text file for the latest):

  • $00 No Command
  • $01 Slot change
  • $02 Play eyecatch BGM (typically $5F)
  • $03 Soft reset
  • $04 Disable All (Music & Sounds)
  • $05 Disable Music
  • $06 Disable Sounds
  • $07 Enable All (Music & Sounds)
  • $08 Enable Music
  • $09 Enable Sounds
  • $0A Disable/Silence SSG (equiv. to SNK sound driver command $0F)
  • $0B Disable/Silence FM
  • $0C Stop all ADPCM-A samples
  • $0D Stop ADPCM-B sample
  • $0E Tempo Change [1 arg; $00-$FF = 0-255bpm]
  • $0F --currently unassigned--
  • $10 Fade Out [1 arg; speed $00-$FF]
  • $11 Stop Fade In/Out
  • $12 Fade In [1 arg; speed $00-$FF]
  • $13 --currently unassigned--
  • $14 --currently unassigned--
  • $15 --currently unassigned--
  • $16 --currently unassigned--
  • $17 --currently unassigned--
  • $18 --currently unassigned--
  • $19 --currently unassigned--
  • $1A --currently unassigned--
  • $1B --currently unassigned--
  • $1C (Data Collect (Z80 -> 68K)?)
  • $1D (Data Transfer (68K -> Z80)?)
  • $1E --currently unassigned--
  • $1F --currently unassigned--

This list subject to change.

@freem freem added the Sound label May 24, 2016
@freem freem added this to the Sound Driver milestone May 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant