-; delay() - suspend program execution temporarily -----------------------------
-
-; clobbers ah, cx, dx
-
-delay:
-
-mov cx, WAIT_DELAY ; cx:dx = interval in microseconds
-mov dx, 0
-
-mov ah, 0x86
-int 0x15 ; wait
-
-ret
-
-; wait_keypress() - wait for any keypress -------------------------------------
-
-; clobbers: ax
-
-wait_keypress:
-
-mov ah, 0x00 ; read key press
-int 0x16 ; keyboard services
-
-ret
-