From: Alan Cox Date: Mon, 24 Nov 2014 23:57:10 +0000 (+0000) Subject: z80pack: use end of bounce buffer for swap stack X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=e059da05c2a2aa98ddc3528dd44c116c02b12a91;p=FUZIX.git z80pack: use end of bounce buffer for swap stack It's never doing both at once --- diff --git a/Kernel/platform-z80pack/tricks.s b/Kernel/platform-z80pack/tricks.s index 41694f59..924a68f4 100644 --- a/Kernel/platform-z80pack/tricks.s +++ b/Kernel/platform-z80pack/tricks.s @@ -266,13 +266,6 @@ _dofork: ; to be the live uarea. The parent is frozen in time and space as ; if it had done a switchout(). ret -; -; We can keep a stack in common because we will complete our -; use of it before we switch common block. In this case we have -; a true common so it's even easier. -; - .ds 128 -_swapstack: ; ; This is related so we will keep it here. Copy the process memory @@ -317,3 +310,11 @@ bankfork_1: ; bouncebuffer: .ds 256 +; +; We can keep a stack in common because we will complete our +; use of it before we switch common block. In this case we have +; a true common so it's even easier. This can share with the bounce +; buffer used by bankfork as we won't switchin mid way through the +; banked fork() call. +; +_swapstack: