(b) Any criminal violation of this chapter occurring before the first day of July, one thousand nine hundred eighty-four, that would have been punishable under one of the sections of this chapter repealed by this act, shall nevertheless be punishable under those sections, as in effect on the first day of January, one thousand nine hundred eighty-four, and for such purpose the following sections of this chapter are fully and completely preserved: Section twelve of article twelve, section twenty-two of article twelve-a, section twenty-one of article thirteen, section nine of article fourteen, section ten of article fourteen-a, section twenty-nine of article fifteen, sections nineteen and twenty of article fifteen-a, section ninety-two of article twenty-one and section thirty-eight of article twenty-four.