Patients take AZT and ddI on an empty stomach; ddI is taken 2 minutes after taking antacid. Part A patients receive AZT plus ddI each at ranging doses. Patients in part B may receive a higher dose of ddI than patients in part A. The first patients enrolled are given the lowest dose. Subsequent patients receive increasingly higher doses until a dose limiting toxicity occurs.