From 0e81927f5b2b77ab36782d8f1f38b2b24cbbf07d Mon Sep 17 00:00:00 2001 From: Aaron Culliney Date: Sun, 15 Sep 2013 09:07:36 -0700 Subject: [PATCH] bugfix: save/restore state before C routine --- src/memory.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/memory.S b/src/memory.S index 5b20277a..cd4844cb 100644 --- a/src/memory.S +++ b/src/memory.S @@ -191,7 +191,9 @@ E(read_keyboard_strobe) ret E(read_random) + pushal call SN(c_read_random) + popal movb SN(random_value), %al ret