Skip to content

Commit

Permalink
Short notes in binary and assembly formats working
Browse files Browse the repository at this point in the history
  • Loading branch information
sauraen committed Sep 26, 2022
1 parent 9860be1 commit 329c669
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 5 deletions.
17 changes: 16 additions & 1 deletion abi/1 - SM64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,21 @@
<parameter datasrc="fixed" datalen="1" name="Velocity" meaning="Velocity"/>
<parameter datasrc="fixed" datalen="1" name="Gate" meaning="Gate Time"/>
</command>
<command cmd="0" name="snoted" action="Short Note" cmdend="63" validintrk="1"
comments="Short note, with delay explicitly specified.">
<parameter name="Note" meaning="Note" datasrc="offset"/>
<parameter name="Delay" meaning="Delay" datasrc="variable"/>
</command>
<command cmd="64" name="snotedef" action="Short Note" cmdend="127" validintrk="1"
comments="Short note, with default delay (set by shortdelay).">
<parameter name="Note" meaning="Note" datasrc="offset"/>
<parameter name="ModeDefault" meaning="Mode" datasrc="constant" datalen="0"/>
</command>
<command cmd="128" name="snotelast" action="Short Note" cmdend="191" validintrk="1"
comments="Short note, with a delay equal to the last delay set by a snoted command. Using snotedef does not change the last delay.">
<parameter name="Note" meaning="Note" datasrc="offset"/>
<parameter name="ModeLast" meaning="Mode" datasrc="constant" datalen="1"/>
</command>
<command cmd="192" name="ldelay" action="Delay" validintrk="1" comments="Delay for N ticks"
cname="XXX">
<parameter datasrc="variable" name="Delay" meaning="Delay"/>
Expand Down Expand Up @@ -142,7 +157,7 @@
<command cmd="195" name="shorton" action="Set Short Notes" comments="Set notes for this channel to use &#8220;short notes&#8221; format."
validinchn="1" oname="Amode"/>
<command cmd="196" name="shortoff" action="Set Long Notes" validinchn="1"
comments="Set notes for this channel to use &#8220;large notes&#8221; format. SM64 does this for all channels."
comments="Set notes for this channel to use &#8220;long notes&#8221; format. SM64 does this for all channels."
oname="Bmode"/>
<command cmd="197" name="dynsetdyntable" action="Dyntable from Dyntable"
validinchn="1" comments="If Q != -1, set dyntable to point to position dyntable[Q] in the sequence data."
Expand Down
17 changes: 16 additions & 1 deletion abi/2 - SM64 EU.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,21 @@
<parameter datasrc="fixed" datalen="1" name="Velocity" meaning="Velocity"/>
<parameter datasrc="fixed" datalen="1" name="Gate" meaning="Gate Time"/>
</command>
<command cmd="0" name="snoted" action="Short Note" cmdend="63" validintrk="1"
comments="Short note, with delay explicitly specified.">
<parameter name="Note" meaning="Note" datasrc="offset"/>
<parameter name="Delay" meaning="Delay" datasrc="variable"/>
</command>
<command cmd="64" name="snotedef" action="Short Note" cmdend="127" validintrk="1"
comments="Short note, with default delay (set by shortdelay).">
<parameter name="Note" meaning="Note" datasrc="offset"/>
<parameter name="ModeDefault" meaning="Mode" datasrc="constant" datalen="0"/>
</command>
<command cmd="128" name="snotelast" action="Short Note" cmdend="191" validintrk="1"
comments="Short note, with a delay equal to the last delay set by a snoted command. Using snotedef does not change the last delay.">
<parameter name="Note" meaning="Note" datasrc="offset"/>
<parameter name="ModeLast" meaning="Mode" datasrc="constant" datalen="1"/>
</command>
<command cmd="192" name="ldelay" action="Delay" validintrk="1" comments="Delay for N ticks"
cname="XXX">
<parameter datasrc="variable" name="Delay" meaning="Delay"/>
Expand Down Expand Up @@ -151,7 +166,7 @@
<command cmd="195" name="shorton" action="Set Short Notes" comments="Set notes for this channel to use &#8220;short notes&#8221; format."
validinchn="1" oname="Amode"/>
<command cmd="196" name="shortoff" action="Set Long Notes" validinchn="1"
comments="Set notes for this channel to use &#8220;large notes&#8221; format. SM64 does this for all channels."
comments="Set notes for this channel to use &#8220;long notes&#8221; format. SM64 does this for all channels."
oname="Bmode"/>
<command cmd="197" name="dynsetdyntable" action="Dyntable from Dyntable"
validinchn="1" comments="If Q != -1, set dyntable to point to position dyntable[Q] in the sequence data."
Expand Down
2 changes: 1 addition & 1 deletion abi/3 - SF64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
<command cmd="195" name="shorton" action="Set Short Notes" comments="Set notes for this channel to use &#8220;short notes&#8221; format."
validinchn="1" oname="Amode"/>
<command cmd="196" name="shortoff" action="Set Long Notes" validinchn="1"
comments="Set notes for this channel to use &#8220;large notes&#8221; format. SM64 does this for all channels."
comments="Set notes for this channel to use &#8220;long notes&#8221; format. SF64 does this for all channels."
oname="Bmode"/>
<command cmd="197" name="dynsetdyntable" action="Dyntable from Dyntable"
validinchn="1" comments="If Q != -1, set dyntable to point to position dyntable[Q] in the sequence data."
Expand Down
2 changes: 1 addition & 1 deletion abi/4 - Zelda.xml
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
</command>
<command cmd="195" name="shorton" action="Set Short Notes" comments="Set notes for this channel to use &#8220;short notes&#8221; format."
oname="Amode" validinchn="1"/>
<command cmd="196" name="shortoff" action="Set Long Notes" comments="Set notes for this channel to use &#8220;large notes&#8221; format. SM64 does this for all channels."
<command cmd="196" name="shortoff" action="Set Long Notes" comments="Set notes for this channel to use &#8220;long notes&#8221; format. OoT does this for all channels."
oname="Bmode" validinchn="1"/>
<command cmd="197" name="dynsetdyntable" action="Dyntable from Dyntable"
comments="If Q != -1, set dyntable to point to position dyntable[Q] in the sequence data."
Expand Down
17 changes: 16 additions & 1 deletion abi/4b - Zelda community only.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,21 @@
<parameter datasrc="fixed" datalen="1" name="Velocity" meaning="Velocity"/>
<parameter datasrc="fixed" datalen="1" name="Gate" meaning="Gate Time"/>
</command>
<command cmd="0" name="snoted" action="Short Note" cmdend="63" validintrk="1"
comments="Short note, with delay explicitly specified.">
<parameter name="Note" meaning="Note" datasrc="offset"/>
<parameter name="Delay" meaning="Delay" datasrc="variable"/>
</command>
<command cmd="64" name="snotedef" action="Short Note" cmdend="127" validintrk="1"
comments="Short note, with default delay (set by shortdelay).">
<parameter name="Note" meaning="Note" datasrc="offset"/>
<parameter name="ModeDefault" meaning="Mode" datasrc="constant" datalen="0"/>
</command>
<command cmd="128" name="snotelast" action="Short Note" cmdend="191" validintrk="1"
comments="Short note, with a delay equal to the last delay set by a snoted command. Using snotedef does not change the last delay.">
<parameter name="Note" meaning="Note" datasrc="offset"/>
<parameter name="ModeLast" meaning="Mode" datasrc="constant" datalen="1"/>
</command>
<command cmd="192" name="ldelay" action="Delay" comments="Delay for N ticks"
validintrk="1">
<parameter datasrc="variable" name="Delay" meaning="Delay"/>
Expand Down Expand Up @@ -207,7 +222,7 @@
</command>
<command cmd="195" name="shorton" action="Set Short Notes" comments="Set notes for this channel to use &#8220;short notes&#8221; format."
validinchn="1"/>
<command cmd="196" name="shortoff" action="Set Long Notes" comments="Set notes for this channel to use &#8220;large notes&#8221; format."
<command cmd="196" name="shortoff" action="Set Long Notes" comments="Set notes for this channel to use &#8220;long notes&#8221; format. OoT does this for all channels."
validinchn="1"/>
<command cmd="197" name="dynsetdyntable" action="Dyntable from Dyntable"
comments="If Q != -1, set dyntable to point to position dyntable[Q] in the sequence data."
Expand Down

0 comments on commit 329c669

Please sign in to comment.