These features make the invention dosage forms particularly useful for delivering drugs, such as antacids, that act locally within the stomach and are most effective when presented over a prolonged time period, and drugs, such as certain analgesics, that irritate the gastrointestinal mucosa when delivered in solid phase.