home *** CD-ROM | disk | FTP | other *** search
- /* Function prototypes for Low Level Music routines */
-
- void sbfd_init(void) ;
- void sbfd_instrument(char far*) ;
- void sbfd_note_on(char,char,char) ;
- void sbfd_note_off(char,char,char) ;
- void sbfd_program_change(char,char) ;
- void sbfd_music_off(void) ;
- void sbfd_setmode(int) ;
- void sbfd_reset(void) ;
-
-
- /* FM music status word */
-
- extern unsigned near ct_music_status ;
-
-
- /* Function prototypes for SBFMDRV driver interface routines */
-
- int sbfm_init(void) ;
- unsigned sbfm_version(void) ;
- void sbfm_instrument(char far *,int) ;
- void sbfm_sys_speed(unsigned) ;
- void sbfm_song_speed(unsigned) ;
- void sbfm_transpose(int) ;
- void sbfm_play_music(char far *) ;
- void sbfm_stop_music(void) ;
- void sbfm_pause_music(void) ;
- void sbfm_resume_music(void) ;
- int sbfm_read_status(void) ;
- void sbfm_reset(void) ;
- void sbfm_terminate(void) ;
- void sbfm_set_channel(char,char) ;
-
-
- /* CMF file header structure */
-
- typedef struct
- {
- char id[4] ;
- int version ;
- int inst_blk ;
- int music_blk ;
- int ticks_per_beat ;
- int clock_ticks ;
- int music_title ;
- int composer_name ;
- int music_remark ;
- char channel_used[16] ;
- int inst_num ;
- int basic_tempo ;
-
- } CMFHDR ;
-