 +# Return to interpreter
 +ld(hi('REENTER'), Y)            #129
 +jmp(Y,'REENTER')                #130
-+ld(-134/2)                      #131  
-+
-+
++ld(-134/2)                      #131
++
+ # XXX Unfinished
+ 
  #-----------------------------------------------------------------------
- #
- #  End of core -- Start of storage area
 -- 
 2.17.1
 

+#               bit 9 is column 2 row 1, ..., bit 0 is column 3 row 5
+# sysArgs[4:5]  Position on screen
+
+
+# Line 1
+ld([sysArgs+5], Y)              #18 store arg5 in Y

From c3a397c28c4c0f2502e038b58bc4d282242f22a9 Mon Sep 17 00:00:00 2001
From: xopr <xopr@ackspace.nl>
Date: Mon, 20 Jan 2020 13:30:17 +0100
Subject: [PATCH] Added SYS_VDrawWord function

---
 Core/dev.py | 219 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 216 insertions(+), 3 deletions(-)

diff --git a/Core/dev.py b/Core/dev.py
index 76a18881..4c3ef583 100755
--- a/Core/dev.py
+++ b/Core/dev.py
@@ -815,9 +815,23 @@ ld(hi('REENTER'),Y)             #15 slot 0xc8
 jmp(Y,'REENTER')                #16
 ld(-20/2)                       #17
 
-ld(hi('REENTER'),Y)             #15 slot 0xcb
-jmp(Y,'REENTER')                #16
-ld(-20/2)                       #17
+#-----------------------------------------------------------------------
+# Extension SYS_VDrawWord_134
+#-----------------------------------------------------------------------
+
+# Draw 3x5 glyph from word
+# sysArgs[0]    Color 0 (background)
