From dd8376365df169dd3690e5852081cce4080f64d3 Mon Sep 17 00:00:00 2001 From: Dane Johnson Date: Mon, 25 Aug 2025 17:39:43 -0500 Subject: [PATCH] Add a little scratch file so I can keep track of my work. Actually terminate runtime program --- asm/runtime.scm | 2 ++ scratch.scm | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 scratch.scm diff --git a/asm/runtime.scm b/asm/runtime.scm index 0ef5e1d..16f8ca9 100644 --- a/asm/runtime.scm +++ b/asm/runtime.scm @@ -147,5 +147,7 @@ main (set! eom) (set! old) ;; TODO set up root +;; <> +(bye) memory diff --git a/scratch.scm b/scratch.scm new file mode 100644 index 0000000..5680ff4 --- /dev/null +++ b/scratch.scm @@ -0,0 +1,5 @@ +(use-modules (scmvm)) + +(define my-instructions (instructions-from-file "./asm/runtime.scm")) +(define my-debugger (make-debugger my-instructions)) +(define my-vm (debugger-vm my-debugger))