From 5c763c23144b04b50e804d4ac7b6504b8f1fcaf6 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Mon, 1 May 2023 21:57:44 +0100 Subject: Wait longer --- example.asm | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) (limited to 'example.asm') diff --git a/example.asm b/example.asm index d96277b..7d69611 100644 --- a/example.asm +++ b/example.asm @@ -24,21 +24,13 @@ loop: inc b and b, 15 - ; wait some frames - halt - halt - halt - halt - - halt - halt - halt - halt - - halt - halt - halt + ; wait 1 second + ld x, 60 +wait_loop: halt + dec x + bnz + jmp wait_loop jmp loop -- cgit v1.2.3