Commit Graph

12 Commits

Author SHA1 Message Date
Kartik Agaram
117a710a9d 7530 - baremetal: print ints to screen 2021-01-16 16:27:58 -08:00
Kartik Agaram
3d6c6e5286 7528 - heap allocator 2021-01-16 11:35:13 -08:00
Kartik Agaram
6e36ce06dd 7521 - new plan for tests
It's not really manageable to make the fake screen pixel-oriented. Feels
excessive to compare things pixel by pixel when we will mostly be
writing text to screen. It'll also make expected screen assertions
more difficult to manage.

So I'm not sure how to make assertions about pixels for now. Instead
we'll introduce fake screens at draw-grapheme.
2021-01-15 20:30:07 -08:00
Kartik Agaram
21bddb2e4b 7519 - baremetal: run all tests on boot 2021-01-13 21:50:38 -08:00
Kartik Agaram
30e4df8172 7517 2021-01-13 21:19:02 -08:00
Kartik Agaram
422ebaf88c 7508
This is the right way to be direction-independent. Don't save the cursor
when drawing a single grapheme. Where the next char goes is just a
property of the direction-oriented primitives.
2021-01-13 00:02:35 -08:00
Kartik Agaram
4413168269 7507 - baremetal: drawing text down then right 2021-01-12 23:52:24 -08:00
Kartik Agaram
589eba07e2 7500 - baremetal: bounds-check screen space before drawing 2021-01-12 00:00:20 -08:00
Kartik Agaram
57e4978eac 7492
Port some support for unicode to baremetal.
2021-01-09 18:55:24 -08:00
Kartik Agaram
7f8770ae08 7490 - baremetal: draw a grapheme to screen 2021-01-09 18:28:14 -08:00
Kartik Agaram
be87d72335 7486 - primitive for reading keys
It also clears keys after reading them, allowing us to read more than 16
keys.
2021-01-09 10:39:12 -08:00
Kartik Agaram
0daf12c59a 7469 - first working baremetal Mu program
It doesn't _quite_ do what it should, so this is more precisely the first
_buggy_ baremetal Mu program. But the tooling works, at least.
2020-12-29 21:08:05 -08:00