From: Alan Cox Date: Sun, 9 Dec 2018 00:52:00 +0000 (+0000) Subject: cromemco: tricks fixup X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=6653ebe00f24958e7a221ef2510d6359b8a6e5be;p=FUZIX.git cromemco: tricks fixup --- diff --git a/Kernel/platform-cromemco/tricks.s b/Kernel/platform-cromemco/tricks.s index 47bc2daf..065e35e2 100644 --- a/Kernel/platform-cromemco/tricks.s +++ b/Kernel/platform-cromemco/tricks.s @@ -27,7 +27,6 @@ .globl _udata .globl ldir_to_user - .globl ldir_from_user .globl ldir_far ; imported debug symbols @@ -135,10 +134,16 @@ not_swapped: push de + ; Trick - we don't overlay the udata proper with anything so we can + ; map common and ldir + ld a,#0x81 + out (0x40),a ld hl, #U_DATA_STASH ld de, #U_DATA ld bc, #U_DATA__TOTALSIZE - call ldir_to_user + ldir + ld a,#1 ; back to kernel + out (0x40),a pop de