This document describes generating square and triangular waveforms using a DAC0808 digital-to-analog converter interfaced with an 8085 microprocessor and 8255 programmable peripheral interface. It provides the circuit diagram, theory of operation explaining the DAC's digital input range and analog output range, and flow charts for the algorithms to incrementally increase and decrease the digital output to the DAC to produce each waveform type over multiple clock cycles.