summaryrefslogtreecommitdiffstats
path: root/sw/z80/arch/sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sw/z80/arch/sleep.c')
-rw-r--r--sw/z80/arch/sleep.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/sw/z80/arch/sleep.c b/sw/z80/arch/sleep.c
deleted file mode 100644
index 154e7ec..0000000
--- a/sw/z80/arch/sleep.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include "sleep.h"
-
-void usleep(uint16_t microseconds)
-{
- __asm
- pop hl
-loop:
- ld bc, #SLEEP_UNIT
-unit:
- nop
- dec bc
- jr nz, unit
- dec hl
- jr nz,loop
- __endasm;
-} \ No newline at end of file