diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-02-26 21:26:09 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-02-26 21:26:09 -0800 |
commit | a65ea6e4a70212b42d25307b06a2c986dce35bc4 (patch) | |
tree | efcbf27f7e02c271525e9c3311bfbb1061349125 | |
parent | f4bf14b33889a0e6a15fbf76c3b64d49ec904efc (diff) | |
download | mu-a65ea6e4a70212b42d25307b06a2c986dce35bc4.tar.gz |
7808
-rw-r--r-- | baremetal/shell/read.mu | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/baremetal/shell/read.mu b/baremetal/shell/read.mu index a1cb95bf..96ea958f 100644 --- a/baremetal/shell/read.mu +++ b/baremetal/shell/read.mu @@ -93,6 +93,11 @@ fn next-symbol-token in: (addr gap-buffer), out: (addr stream byte), trace: (add loop } trace-higher trace + var stream-storage: (stream byte 0x40) + var stream/esi: (addr stream byte) <- address stream-storage + write stream, "=> " + write-stream stream, out + trace trace, "read", stream } fn next-number-token in: (addr gap-buffer), out: (addr stream byte), trace: (addr trace) { |