INT 14h,  08h    Flush output buffer

Entry: DX Port number

Exit: None

This is used to force any pending output. It does not return until all
pending output has been sent. You should use this call with care. Flow
control (documented below) can make your system hang on this call in a
tight uninterruptible loop under the right circumstances.