about summary refs log tree commit diff stats
path: root/tutorial/task8a.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-12-07 21:48:47 -0800
committerKartik K. Agaram <vc@akkartik.com>2023-12-07 21:48:47 -0800
commitae4058add3c2002b90f171a1ace40bf21118103e (patch)
treed7bfb5e655895eb86ba9e239ae245fd65fab00b3 /tutorial/task8a.mu
parent204589b2ffc8aa16fa2953017eaa6614f7d05eb5 (diff)
downloadmu-ae4058add3c2002b90f171a1ace40bf21118103e.tar.gz
halt until exception when waiting for keyboard hlt
This reduces CPU consumption from 180% to 2% when running Qemu.

Many thanks to Fabian of https://copy.sh for this suggestion.
Diffstat (limited to 'tutorial/task8a.mu')
0 files changed, 0 insertions, 0 deletions
d='n111' href='#n111'>111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152