midi: intermediate code startmark for mode check.