From 703ab56587aac0d79ccc0f72f2b8d9ee235e20a5 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Mon, 27 May 2024 23:24:19 +0100 Subject: Use SDCC's new calling convention (this is an ABI breaking change, and will require changes to user-written asm functions or their declarations) --- src/ubox/ubox_wait_for.z80 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ubox/ubox_wait_for.z80') diff --git a/src/ubox/ubox_wait_for.z80 b/src/ubox/ubox_wait_for.z80 index 5cc4649..f1984c8 100644 --- a/src/ubox/ubox_wait_for.z80 +++ b/src/ubox/ubox_wait_for.z80 @@ -4,11 +4,10 @@ .globl ubox_isr_wait_tick _ubox_wait_for:: - ld b, l + ld b, a wait_for_loop: push bc call _ubox_wait pop bc djnz wait_for_loop ret - -- cgit v1.2.3