Skip to content

Commit

Permalink
Fix sub-command problem / fix tempo init / v0.92
Browse files Browse the repository at this point in the history
  • Loading branch information
boldowa committed Jan 10, 2017
1 parent 314d9f7 commit 1317eed
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion mmlc/mmlc.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#define _MMLCONV_H_

/* define version */
#define MMLCONV_VERSION "0.91"
#define MMLCONV_VERSION "0.92"

/* define Option struct */
typedef struct tag_Option{
Expand Down
3 changes: 1 addition & 2 deletions spc/include/var.inc
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@

;-- spc engine
.define SND_TEMPO 56
;.define MUSIC_TEMPO_DEFAULT 54
.define MUSIC_TEMPO_DEFAULT 10
.define MUSIC_TEMPO_DEFAULT 60
.define SPECIAL_WAV_FREQ 12

.endif
Expand Down
2 changes: 1 addition & 1 deletion spc/main.s
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
.bank 2 slot 2
.orga __CODE_START__ - 34
.db "VER "
.db $00, $91
.db $00, $92
.db "DIR "
.dw DirTbl
.db "ESA "
Expand Down
4 changes: 2 additions & 2 deletions spc/music.s
Original file line number Diff line number Diff line change
Expand Up @@ -1017,9 +1017,9 @@ InitSequenceData:
bmi -

; 全体データの初期化
mov musicTempo, #MUSIC_TEMPO_DEFAULT ; 音楽テンポの初期値をセットします
mov musicGlobalVolume, a
mov musicTempo, #60
mov musicTempo, #MUSIC_TEMPO_DEFAULT ; 音楽テンポの初期値をセットします
mov musicTempoLo, #0
mov eVolRatio, #0
mov specialWavFreq, #SPECIAL_WAV_FREQ

Expand Down
4 changes: 2 additions & 2 deletions spc/seqcmd.s
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ CmdLengthTable:
.db 0 ; CmdEchoOff
.db 0 ; CmdPortamentoOn
.db 0 ; CmdPortamentoOff
.db 0 ; CmdCmdCall(Arg:0)
.db 1 ; CmdCmdCall(Arg:1)
.db 1 ; CmdCmdCall(Arg:0)
.db 2 ; CmdCmdCall(Arg:1)

;--------------------------------------------------
; Sub Command
Expand Down

0 comments on commit 1317eed

Please sign in to comment.