From 15323007750e0f0f7c36a6a6fa01ad1d303a4a16 Mon Sep 17 00:00:00 2001 From: sanine-a Date: Tue, 23 May 2023 14:53:53 -0500 Subject: implement basic vm runner --- src/red/coreclear.red | 9 +++++++++ src/red/wait.red | 5 +++++ 2 files changed, 14 insertions(+) create mode 100644 src/red/coreclear.red create mode 100644 src/red/wait.red (limited to 'src/red') diff --git a/src/red/coreclear.red b/src/red/coreclear.red new file mode 100644 index 0000000..7b4d8bb --- /dev/null +++ b/src/red/coreclear.red @@ -0,0 +1,9 @@ +; coreclear +; like dwarf but bombs literally everything + + +bomb dat #0, #2 +start add #1, bomb + mov bomb, @bomb + jmp start +end start diff --git a/src/red/wait.red b/src/red/wait.red new file mode 100644 index 0000000..4c3c2c9 --- /dev/null +++ b/src/red/wait.red @@ -0,0 +1,5 @@ +; wait +; does nothing + +wait jmp wait +end -- cgit v1.2.1