-; delay() - suspend program execution temporarily -----------------------------
-
-; clobbers ah, cx, dx
-
-delay:
-
-mov cx, WAIT_DELAY ; cx:dx = interval in microseconds
-mov dx, 0
-
-mov ah, 86h
-int 15h ; wait
-
-ret
-
-; wait_keypress() - wait for any keypress -------------------------------------
-
-; clobbers: ax
-
-wait_keypress:
-
-mov ah, 00h ; read key press
-int 16h ; keyboard services
-
-ret
-