Shaw02 / nsdlib

NES Sound Driver & Library (NSD.Lib)

Home Page:http://shaw.la.coocan.jp/nsdl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improvement for "J" (Jump) command

Shaw02 opened this issue · comments

commented

Is your feature request related to a problem? Please describe.

j0J0だけを指定したときは機能しない。
When write the j0 or J0 command in the middle of MML sequence,
jump function will be not work.

Describe the solution you'd like

MMLコンパイラ側でTR1の先頭に j1J1 が自動的に付加されると便利かなと思ったりしました。
MML compiler insert automatically J1 or j1 command to begin point of TR1.

commented

20210226_nsdl.zip

Trial support (At develop branch):
If omit j1 before j0, mml compiler insert j1 command to front of TR1.
(It is difficult that support in J command for this suggestion, so I am happy if you could use j command as alternative.)

Developブランチにて試験的に対応しました
j0コマンドの前にj1を省略した場合、MMLコンパイラは自動でj1コマンドをTR1の開始点に挿入します。
(Jコマンドへの対応は困難なため、早送りはj コマンドの方を使って頂ければ幸いです。)