The provisions of Part 2 (commencing with Section 681) shall apply to all criminal actions and proceedings in all courts, except where jurisdictional limitations or the nature of specific provisions prevent, or special provision is made for particular courts or proceedings.