about summary refs log tree commit diff stats
path: root/shell
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-04-16 20:12:55 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-04-16 20:26:56 -0700
commitf66de6139270475828f1dffd1985d68325bef34d (patch)
treed5d3420c3f4311530856c41529f820c372e31187 /shell
parent21a6f5539b4317f5334d2d2449d6dbdabd86f738 (diff)
downloadmu-f66de6139270475828f1dffd1985d68325bef34d.tar.gz
handle drawing 16*4 = 64 pixels
Previously we'd only drawn 8*5 = 40 pixels.

Current contents of data.img:

  (
    (globals . (
      (hline . (fn () (screen y) (hline1 screen y 0 (width screen))))
      (hline1 . (fn () (screen y lo hi) (if (>= lo hi) () ((fn () (pixel screen lo y 12) (hline1 screen y (+ lo 1) hi))))))
      (vline1 . (fn () (screen x lo hi) (if (>= lo hi) () ((fn () (pixel screen x lo 12) (vline1 screen x (+ lo 1) hi))))))
    ))
    (sandbox . (vline1 screen 5 0 (height screen)))
  )
Diffstat (limited to 'shell')
-rw-r--r--shell/sandbox.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/sandbox.mu b/shell/sandbox.mu
index b1b8c7e3..1d9e2289 100644
--- a/shell/sandbox.mu
+++ b/shell/sandbox.mu
@@ -31,7 +31,7 @@ fn initialize-sandbox _self: (addr sandbox), screen-and-keyboard?: boolean {
   var trace-ah/eax: (addr handle trace) <- get self, trace
   allocate trace-ah
   var trace/eax: (addr trace) <- lookup *trace-ah
-  initialize-trace trace, 0x4000/lines, 0x80/visible-lines
+  initialize-trace trace, 0x8000/lines, 0x80/visible-lines
   var cursor-in-data?/eax: (addr boolean) <- get self, cursor-in-data?
   copy-to *cursor-in-data?, 1/true
 }
1.9.1&id=62cd83bace8e77cd1ff7028da6cf65d0d1defa27'>62cd83ba ^
4c13e1f2 ^















34a60763 ^
4c13e1f2 ^






















34a60763 ^
4c13e1f2 ^






34a60763 ^
4c13e1f2 ^
34a60763 ^
4c13e1f2 ^












62cd83ba ^
4c13e1f2 ^
b3556b21 ^
4c13e1f2 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93