Commit Graph

7510 Commits

Author SHA1 Message Date
Kartik Agaram
ec0d5bb17e 7510 - baremetal: a game of snake 2021-01-13 16:57:04 -08:00
Kartik Agaram
f6fd7e1be0 7509 2021-01-13 00:08:31 -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
8a81faecbe 7506 2021-01-12 23:04:06 -08:00
Kartik Agaram
fcad74b7b1 7505 2021-01-12 22:01:50 -08:00
Kartik Agaram
c5e617f5cc 7504 2021-01-12 21:51:46 -08:00
Kartik Agaram
e59086e65a 7503 - baremetal: noodling on default VGA palette 2021-01-12 19:50:22 -08:00
Kartik Agaram
0d12f6676b 7502 - baremetal text: better interface 2021-01-12 00:32:06 -08:00
Kartik Agaram
bb0e67a308 7501 - baremetal: draw text within a rectangle 2021-01-12 00:20:22 -08:00
Kartik Agaram
589eba07e2 7500 - baremetal: bounds-check screen space before drawing 2021-01-12 00:00:20 -08:00
Kartik Agaram
ebf912eb7a 7499 2021-01-12 00:00:20 -08:00
Kartik Agaram
781b7a0854 7498 2021-01-11 23:26:06 -08:00
Kartik Agaram
b7e736b508 7497 2021-01-11 23:24:35 -08:00
Kartik Agaram
f6075374f5 7496 2021-01-11 23:19:43 -08:00
Kartik Agaram
f66866c756 7495 2021-01-11 23:14:26 -08:00
Kartik Agaram
7b109ab652 7494 2021-01-09 19:02:23 -08:00
Kartik Agaram
3de4d557d5 7493 2021-01-09 19:01:13 -08:00
Kartik Agaram
57e4978eac 7492
Port some support for unicode to baremetal.
2021-01-09 18:55:24 -08:00
Kartik Agaram
0518944e37 7491 - baremetal: draw ASCII text to screen 2021-01-09 18:29:04 -08:00
Kartik Agaram
7f8770ae08 7490 - baremetal: draw a grapheme to screen 2021-01-09 18:28:14 -08:00
Kartik Agaram
dbd7082a0e 7489 - include GNU Unifont
https://en.wikipedia.org/wiki/GNU_Unifont#The_.hex_font_format
http://unifoundry.com/unifont/index.html

Since GNU Unifont is covered under the GPL v2, so I believe is this repo.
2021-01-09 18:20:28 -08:00
Kartik Agaram
952ccfc66e 7488 2021-01-09 13:45:41 -08:00
Kartik Agaram
26697e649b 7487 2021-01-09 13:43:39 -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
8be561f599 7485 2021-01-09 10:15:33 -08:00
Kartik Agaram
adf7fba7fe 7484 2021-01-09 10:07:41 -08:00
Kartik Agaram
ae1089cb76 7483 2021-01-09 08:46:37 -08:00
Kartik Agaram
5efca3695a 7482 2021-01-09 08:11:52 -08:00
Kartik Agaram
efa6c5f44e 7481 2021-01-07 22:41:41 -08:00
Kartik Agaram
3f7db804c9 7480 - baremetal/ex3.hex now draws multiple pixels
I was wrong in commit 7437 that only one keystroke was working. The problem
was just that I was getting _too_ many events. I wasn't handling key-up
events, and they were entering the buffer, and I was not skipping null
events since the circular buffer is currently considered to be null-terminated.

ex3 isn't done yet; it can only handle 16 events. Apps need to be clearing
the keyboard buffer.
2021-01-07 22:38:07 -08:00
Kartik Agaram
53d99784de 7479 2021-01-07 20:17:32 -08:00
Kartik Agaram
6dc9722704 7478 2021-01-03 22:38:41 -08:00
Kartik Agaram
cb13d94740 7477 2020-12-30 19:25:32 -08:00
Kartik Agaram
762107fdc2 7476 2020-12-30 09:39:50 -08:00
Kartik Agaram
d0bc0d2673 7475 2020-12-30 08:32:52 -08:00
Kartik Agaram
ce667598a2 7474 2020-12-29 21:44:49 -08:00
Kartik Agaram
691dd9cbd1 7473 2020-12-29 21:23:25 -08:00
Kartik Agaram
00c4d61221 7472 2020-12-29 21:20:36 -08:00
Kartik Agaram
1e02d840e8 7471 2020-12-29 21:19:41 -08:00
Kartik Agaram
520e3c2542 7470
The ol' 8-byte-register-names issue strikes again. There's no way to access
the lower 8 bits of ESI.

There's still a bug in baremetal/ex2.mu; it's printing transposed somehow.
2020-12-29 21:17:03 -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
Kartik Agaram
63a247fcd4 7468 2020-12-29 20:50:55 -08:00
Kartik Agaram
562476d750 7467 2020-12-29 20:50:11 -08:00
Kartik Agaram
6b11049d13 7466 2020-12-29 20:29:55 -08:00
Kartik Agaram
783b0659d3 7465 2020-12-29 19:32:39 -08:00
Kartik Agaram
395f736d1a 7464 2020-12-29 19:28:56 -08:00
Kartik Agaram
c35ae0085c 7463 2020-12-29 19:25:51 -08:00
Kartik Agaram
c5dfa89bb3 7462 - SubX version of baremetal/ex2.subx 2020-12-29 19:14:26 -08:00
Kartik Agaram
796f3b70f2 7461 2020-12-29 18:56:21 -08:00