Due to pressure by fans on Asimov to write another book in his Foundation series , he did so with Foundation 's Edge ( 1982 ) and Foundation and Earth ( 1986 ) , and then went back to before the original trilogy with Prelude to Foundation ( 1988 ) and Forward the Foundation ( 1992 ) , his last novel .