Seol mar théacs é seo: Microcanonical thermodynamics in general physical theories