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/ap/ap.z80 | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/ap') diff --git a/src/ap/ap.z80 b/src/ap/ap.z80 index b968853..882c75e 100644 --- a/src/ap/ap.z80 +++ b/src/ap/ap.z80 @@ -18,16 +18,7 @@ .ez80 _ap_uncompress:: - ld hl, #2 - add hl, sp - ld e, (hl) - inc hl - ld d, (hl) - inc hl - ld a, (hl) - inc hl - ld h, (hl) - ld l, a + ex de, hl ap_uncompress:: ld ixl, #128 @@ -154,4 +145,3 @@ ap_getgammaloop: call ap_getbit jr c, ap_getgammaloop ret - -- cgit v1.2.3