diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-07-28 23:54:32 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-07-28 23:58:46 -0700 |
commit | fc951149a005ee13eef70182b375be204bea27d1 (patch) | |
tree | 35868a5c774479a8bfdc783becaa515e29d403f1 /shell/sandbox.mu | |
parent | e2f18e8866bd75669c04bff52c3f8e96d13eeb4e (diff) | |
download | mu-fc951149a005ee13eef70182b375be204bea27d1.tar.gz |
shell: support loading 128x128px images
I'm loading them in uncompressed ASCII format, and all streams and gap buffers all over the place need to get massively scaled up to 256KB capacity. But the tests don't yet run out of RAM, so I'll keep going.
Diffstat (limited to 'shell/sandbox.mu')
-rw-r--r-- | shell/sandbox.mu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/sandbox.mu b/shell/sandbox.mu index eb18990c..47086a1f 100644 --- a/shell/sandbox.mu +++ b/shell/sandbox.mu @@ -14,7 +14,7 @@ fn initialize-sandbox _self: (addr sandbox), fake-screen-width: int, fake-screen var data-ah/eax: (addr handle gap-buffer) <- get self, data allocate data-ah var data/eax: (addr gap-buffer) <- lookup *data-ah - initialize-gap-buffer data, 0x2000/default-gap-buffer-size=8KB + initialize-gap-buffer data, 0x40000/default-gap-buffer-size=256KB # var value-ah/eax: (addr handle stream byte) <- get self, value populate-stream value-ah, 0x1000/4KB |