diff options
author | Juan J. Martinez <jjm@usebox.net> | 2024-05-27 23:24:19 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2024-05-27 23:24:19 +0100 |
commit | 703ab56587aac0d79ccc0f72f2b8d9ee235e20a5 (patch) | |
tree | 32b186dc14c56fe19c004a403eeaaf7e2dd0b10f /src/mplayer/akm/akm_ubox.asm | |
parent | 420ac2c8f2307ddcbe551972544bbe11f05ee7ff (diff) | |
download | ubox-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/mplayer/akm/akm_ubox.asm')
-rw-r--r-- | src/mplayer/akm/akm_ubox.asm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mplayer/akm/akm_ubox.asm b/src/mplayer/akm/akm_ubox.asm index cbbf8af..39aef74 100644 --- a/src/mplayer/akm/akm_ubox.asm +++ b/src/mplayer/akm/akm_ubox.asm @@ -7,11 +7,10 @@ PLY_AKM_ROM_Buffer = #c000 include "PlayerAkm.asm" -; IN: L = channel +; IN: a = channel ; OUT: L = 0 if is not on PLY_AKM_IsSoundEffectOnDisarkGenerateExternalLabel: PLY_AKM_IsSoundEffectOn: - ld a,l add a,a add a,a add a,a @@ -22,6 +21,4 @@ PLY_AKM_IsSoundEffectOn: ld a,(hl) inc hl or (hl) - ld l,a ret - |