git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

gbdk-lib/examples/gb/sgb_sfx/sgb_snd_sfx.h

      1 
      2 
      3 // See Pandocs: SGB Command 08h - SOUND
      4 
      5 #define SGB_SND_PITCH_LOW  0u
      6 #define SGB_SND_PITCH_MED  1u
      7 #define SGB_SND_PITCH_MED2 2u
      8 #define SGB_SND_PITCH_HI   3u
      9 
     10 #define SGB_SND_VOL_LOW  0u
     11 #define SGB_SND_VOL_MED  1u
     12 #define SGB_SND_VOL_HI   2u
     13 #define SGB_SND_VOL_MUTE 3u
     14 
     15 
     16 #define SGB_SND_EFFECT_EMPTY 0x00u
     17 #define SGB_SND_EFFECT_STOP  0x80u
     18 
     19 #define SGB_SND_EFFECT_A_MIN 0x01u
     20 #define SGB_SND_EFFECT_A_MAX 0x30u
     21 
     22 #define SGB_SND_EFFECT_B_MAX 0x19u
     23 #define SGB_SND_EFFECT_B_MIN 0x01u
     24 
     25 #define SGB_MUSIC_SCORE_CODE_NONE 0u

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.