diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-03-23 00:32:49 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-03-23 00:32:49 -0700 |
commit | 62a244211024a8367332541c571621883c05bcce (patch) | |
tree | 6bd560d3d44ef21b9c4eee5de7b644875652793b /shell/sandbox.mu | |
parent | bc79a190ec8366215d67110db08a25c7f8c8bf84 (diff) | |
download | mu-62a244211024a8367332541c571621883c05bcce.tar.gz |
writes to disk now working
Tested by inserting a call into the shell, but we can't leave it in because every test ends up clobbering the disk. So it's now time to think about a testable interface for the disk.
Diffstat (limited to 'shell/sandbox.mu')
-rw-r--r-- | shell/sandbox.mu | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/sandbox.mu b/shell/sandbox.mu index 46dc21f1..5278e708 100644 --- a/shell/sandbox.mu +++ b/shell/sandbox.mu @@ -130,6 +130,9 @@ fn edit-sandbox _self: (addr sandbox), key: byte { var trace/eax: (addr trace) <- lookup *trace-ah clear-trace trace run data, value, trace + # testing write to disk +#? rewind-stream value +#? store-first-sector-to-primary-bus-secondary-drive value return } # tab |