This patent deals with a pharmaceutical preparation, comprising tricalcium phosphate and gelatin, for treating dyspepsia and the related canker sore disorder. It functions as an acidostat, which senses and counteracts an excess of acidity more precisely than current antacids and antisecretory agents.