dmg1 code