From 2682bc5d1d864341aaeb42a449db73c3ecd16d70 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Wed, 30 Dec 2020 19:07:31 +0000 Subject: Initial import --- src/ubox/ubox_wait_for.z80 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/ubox/ubox_wait_for.z80 (limited to 'src/ubox/ubox_wait_for.z80') diff --git a/src/ubox/ubox_wait_for.z80 b/src/ubox/ubox_wait_for.z80 new file mode 100644 index 0000000..5cc4649 --- /dev/null +++ b/src/ubox/ubox_wait_for.z80 @@ -0,0 +1,14 @@ +.globl _ubox_wait_for +.globl _ubox_wait +.globl ubox_isr_wait_ticks +.globl ubox_isr_wait_tick + +_ubox_wait_for:: + ld b, l +wait_for_loop: + push bc + call _ubox_wait + pop bc + djnz wait_for_loop + ret + -- cgit v1.2.3