about summary refs log tree commit diff stats
path: root/apps/ex8
blob: 78f1773db10e9b395328bf305d49353d34712f06 (plain)
ofshex dumpascii
0000 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 02 00 03 00 01 00 00 00 bb 00 00 09 34 00 00 00 .ELF........................4...
0020 00 00 00 00 00 00 00 00 34 00 20 00 02 00 00 00 00 00 00 00 01 00 00 00 74 00 00 00 74 00 00 09 ........4...............t...t...
0040 74 00 00 09 76 00 00 00 76 00 00 00 05 00 00 00 00 10 00 00 01 00 00 00 ea 00 00 00 ea 00 00 0a t...v...v.......................
0060 ea 00 00 0a 00 00 00 00 00 00 00 00 06 00 00 00 00 10 00 00 b8 01 00 00 00 cd 80 b8 03 00 00 00 ................................
0080 cd 80 c3 b8 04 00 00 00 cd 80 c3 b8 05 00 00 00 cd 80 c3 b8 06 00 00 00 cd 80 c3 b8 08 00 00 00 ................................
00a0 cd 80 c3 b8 0a 00 00 00 cd 80 c3 b8 26 00 00 00 cd 80 c3 b8 5a 00 00 00 cd 80 c3 89 e5 ff 75 08 ............&.......Z.........u.
00c0 e8 0d 00 00 00 81 c4 04 00 00 00 89 c3 e8 a2 ff ff ff 8b 54 24 04 b8 00 00 00 00 8a 0a 81 f9 00 ...................T$...........
00e0 00 00 00 74 04 42 40 eb f2 c3 ...t.B@...
floating mode (there is no sane way to make them work in tiled mode, thus I switch to floating mode if I run such kind of app), also fixed the xterm issue reported by Sander' href='/acidbong/suckless/dwm/commit/config.arg.h?h=3.9&id=95e8d12b7189d4cd01b8ae8ecebfa5835a1809e6'>95e8d12 ^
afe6ac9 ^

b55bd70 ^
00e95e1 ^
5cf362c ^





b55bd70 ^
95e8d12 ^
1bf0c4a ^
a73a882 ^
b38905b ^
a73a882 ^
292ccc4 ^
f1fe19b ^
0a07591 ^
f1fe19b ^
9927b9e ^


f1fe19b ^

292ccc4 ^
ce04a66 ^
3a1343a ^
0ed0fa4 ^
19da197 ^


7b6d5ff ^
19da197 ^


7b6d5ff ^
ce04a66 ^

bab575c ^
ce04a66 ^


7b6d5ff ^
ce04a66 ^


7b6d5ff ^
ce04a66 ^
a73a882 ^



d6a6eca ^
f1fe19b ^
e21d93b ^
f1fe19b ^

a73a882 ^
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
> 8 </span><span class="muComment"># bochs -f bochsrc # bochsrc loads code.img</span> <span id="L9" class="LineNr"> 9 </span><span class="muComment">#</span> <span id="L10" class="LineNr">10 </span><span class="muComment"># Expected output:</span> <span id="L11" class="LineNr">11 </span><span class="muComment"># Values between -256 and +255 as you move the mouse over the window.</span> <span id="L12" class="LineNr">12 </span><span class="muComment"># You might need to click on the window once.</span> <span id="L13" class="LineNr">13 </span> <span id="L14" class="LineNr">14 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex10.mu.html#L14'>main</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), keyboard: (addr keyboard), data-disk: (addr disk) <span class="Delimiter">{</span> <span id="L15" class="LineNr">15 </span> <span class="muComment"># repeatedly print out mouse driver results if non-zero</span> <span id="L16" class="LineNr">16 </span> $main:event-loop: <span class="Delimiter">{</span> <span id="L17" class="LineNr">17 </span> <span class="PreProc">var</span> dx/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span> <span id="L18" class="LineNr">18 </span> <span class="PreProc">var</span> dy/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span> <span id="L19" class="LineNr">19 </span> dx, dy <span class="Special">&lt;-</span> <a href='boot.subx.html#L1443'>read-mouse-event</a> <span id="L20" class="LineNr">20 </span> <span class="Delimiter">{</span> <span id="L21" class="LineNr">21 </span> compare dx, <span class="Constant">0</span> <span id="L22" class="LineNr">22 </span> <span class="PreProc">break-if-!=</span> <span id="L23" class="LineNr">23 </span> compare dy, <span class="Constant">0</span> <span id="L24" class="LineNr">24 </span> <span class="PreProc">break-if-!=</span> <span id="L25" class="LineNr">25 </span> <span class="PreProc">loop</span> $main:event-loop <span id="L26" class="LineNr">26 </span> <span class="Delimiter">}</span> <span id="L27" class="LineNr">27 </span> <span class="Delimiter">{</span> <span id="L28" class="LineNr">28 </span> <span class="PreProc">var</span> dummy1/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span> <span id="L29" class="LineNr">29 </span> <span class="PreProc">var</span> dummy2/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span> <span id="L30" class="LineNr">30 </span> dummy1, dummy2 <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L256'>draw-text-wrapping-right-then-down-over-full-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot; &quot;</span>, <span class="Constant">0</span>/x, <span class="Constant">0x10</span>/y, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg <span id="L31" class="LineNr">31 </span> <span class="Delimiter">}</span> <span id="L32" class="LineNr">32 </span> <span class="Delimiter">{</span> <span id="L33" class="LineNr">33 </span> <span class="PreProc">var</span> dummy/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span> <span id="L34" class="LineNr">34 </span> dx, dummy <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L364'>draw-int32-decimal-wrapping-right-then-down-over-full-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, dx, <span class="Constant">0</span>/x, <span class="Constant">0x10</span>/y, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg <span id="L35" class="LineNr">35 </span> <span class="Delimiter">}</span> <span id="L36" class="LineNr">36 </span> <span class="Delimiter">{</span> <span id="L37" class="LineNr">37 </span> <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span> <span id="L38" class="LineNr">38 </span> dummy, dy <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L364'>draw-int32-decimal-wrapping-right-then-down-over-full-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, dy, <span class="Constant">5</span>/x, <span class="Constant">0x10</span>/y, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg <span id="L39" class="LineNr">39 </span> <span class="Delimiter">}</span> <span id="L40" class="LineNr">40 </span> <span class="PreProc">loop</span> <span id="L41" class="LineNr">41 </span> <span class="Delimiter">}</span> <span id="L42" class="LineNr">42 </span><span class="Delimiter">}</span> </pre> </body> </html> <!-- vim: set foldmethod=manual : -->