aboutsummaryrefslogtreecommitdiff
path: root/src/ubox/ubox_wait_for.z80
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2024-05-27 23:24:19 +0100
committerJuan J. Martinez <jjm@usebox.net>2024-05-27 23:24:19 +0100
commit703ab56587aac0d79ccc0f72f2b8d9ee235e20a5 (patch)
tree32b186dc14c56fe19c004a403eeaaf7e2dd0b10f /src/ubox/ubox_wait_for.z80
parent420ac2c8f2307ddcbe551972544bbe11f05ee7ff (diff)
downloadubox-msx-lib-703ab56587aac0d79ccc0f72f2b8d9ee235e20a5.tar.gz
ubox-msx-lib-703ab56587aac0d79ccc0f72f2b8d9ee235e20a5.zip
Use SDCC's new calling convention
(this is an ABI breaking change, and will require changes to user-written asm functions or their declarations)
Diffstat (limited to 'src/ubox/ubox_wait_for.z80')
-rw-r--r--src/ubox/ubox_wait_for.z803
1 files changed, 1 insertions, 2 deletions
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
-