From: Alan Cox Date: Sun, 9 Dec 2018 00:52:45 +0000 (+0000) Subject: sc108: note a bug X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=ab60de6d72d09efbda85aaddba715558272bf629;p=FUZIX.git sc108: note a bug --- diff --git a/Kernel/platform-sc108/sc108.s b/Kernel/platform-sc108/sc108.s index f7ed1f21..33e65aa2 100644 --- a/Kernel/platform-sc108/sc108.s +++ b/Kernel/platform-sc108/sc108.s @@ -457,11 +457,11 @@ syscall_high: ld h,13(ix) pop ix di + ; BUG: syscall corrupts AF' - should we just define some + ; alt register corruptors for new API - would be sanest fix ex af, af' ; Ick - find a better way to do this bit ! - push af ld a,#1 out (0x38),a - pop af ex af,af' ; Stack now invalid ld (U_DATA__U_SYSCALL_SP),sp