This is improved version of PPMCK. http://zzo38computer.org/nes_program/ppmck.zip (version 2)
New features includes:
Example of track questioning:
New features includes:
- #MACRO to make assembly macro
- #CUSTOM-TUNING adjusts tuning tables, including the letters in the scale (which can be "a" to "j" now, not only "a" to "g"), and how many notes in one octave
- #CUSTOM-NOISE to adjust noise table, to tell which noise is made from each note
- #RAISE-VRC7 makes the VRC7 pitch higher but less relatively detuned from equal temperament
- ? at the start of a line adds an assembly code to the output
- * at the start of a line makes a preprocessor macro, which can be named by one letter, and called in a track or @ definition by * and the same letter
- Xb set data begin of music
- Xc call assembly code subroutine during playback
- Xg branch the music to another point (even before Xb)
- Xr to return from Xg
- Xl make a label for use by Xg and by macros and assembly codes
- Xm call a macro defined by #MACRO
- ? in a track is a track questioning command
- ' after a note letter (after - and + if there is any) to make one octave higher note
- Some of the playback engine codes have been made tail recursion
- K (transpose) can be used with all tracks
- It will put "<?>" if #TITLE #COMPOSER #MAKER is not filled in (agrees with .NSF specification)
- #PROGRAMMER is same as #PROGRAMER (both works same thing)
- #EX-VRC-VII alias for #EX-VRC7
- #EX-VRC-VI alias for #EX-VRC6
- #EX-SUNSOFT5B alias for #EX-FME7
- #EX-SUN5B alias for #EX-FME7
- #EX-NAMCO163 alias for #EX-NAMCO106
- Z is direct write to $4011 same as y$4011
Example of track questioning:
Code:
#EX-VRC7
GHI @@8 o3 t120 l2 v13
G K0
H K4
I K7
*x ?HK4?IK8?.
*+ ?HK4?IK7?.
*- ?HK3?IK7?.
*o ?HK3?IK6?.
; Play eight chords using white piano keys
GHI *+c*-de*+fg*-a*ob*+c'
GHI @@8 o3 t120 l2 v13
G K0
H K4
I K7
*x ?HK4?IK8?.
*+ ?HK4?IK7?.
*- ?HK3?IK7?.
*o ?HK3?IK6?.
; Play eight chords using white piano keys
GHI *+c*-de*+fg*-a*ob*+c'