Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 7510 - baremetal: a game of snake | Kartik Agaram | 2021-01-13 | 2 | -0/+107 |
| | |||||
* | 7508 | Kartik Agaram | 2021-01-13 | 4 | -24/+47 |
| | | | | | | 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. | ||||
* | 7507 - baremetal: drawing text down then right | Kartik Agaram | 2021-01-12 | 4 | -1/+204 |
| | |||||
* | 7505 | Kartik Agaram | 2021-01-12 | 1 | -9/+9 |
| | |||||
* | 7504 | Kartik Agaram | 2021-01-12 | 1 | -6/+17 |
| | |||||
* | 7503 - baremetal: noodling on default VGA palette | Kartik Agaram | 2021-01-12 | 3 | -0/+451 |
| | |||||
* | 7502 - baremetal text: better interface | Kartik Agaram | 2021-01-12 | 2 | -9/+13 |
| | |||||
* | 7501 - baremetal: draw text within a rectangle | Kartik Agaram | 2021-01-12 | 3 | -0/+96 |
| | |||||
* | 7500 - baremetal: bounds-check screen space before drawing | Kartik Agaram | 2021-01-12 | 4 | -6/+106 |
| | |||||
* | 7499 | Kartik Agaram | 2021-01-12 | 1 | -0/+0 |
| | |||||
* | 7497 | Kartik Agaram | 2021-01-11 | 2 | -87/+82 |
| | |||||
* | 7496 | Kartik Agaram | 2021-01-11 | 1 | -0/+4 |
| | |||||
* | 7493 | Kartik Agaram | 2021-01-09 | 1 | -0/+0 |
| | |||||
* | 7492 | Kartik Agaram | 2021-01-09 | 10 | -11/+729 |
| | | | | Port some support for unicode to baremetal. | ||||
* | 7491 - baremetal: draw ASCII text to screen | Kartik Agaram | 2021-01-09 | 3 | -0/+41 |
| | |||||
* | 7490 - baremetal: draw a grapheme to screen | Kartik Agaram | 2021-01-09 | 3 | -0/+86 |
| | |||||
* | 7489 - include GNU Unifont | Kartik Agaram | 2021-01-09 | 5 | -9/+252 |
| | | | | | | | 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. | ||||
* | 7488 | Kartik Agaram | 2021-01-09 | 2 | -5/+3 |
| | |||||
* | 7487 | Kartik Agaram | 2021-01-09 | 1 | -21/+18 |
| | |||||
* | 7486 - primitive for reading keys | Kartik Agaram | 2021-01-09 | 3 | -0/+74 |
| | | | | | It also clears keys after reading them, allowing us to read more than 16 keys. | ||||
* | 7485 | Kartik Agaram | 2021-01-09 | 2 | -11/+13 |
| | |||||
* | 7484 | Kartik Agaram | 2021-01-09 | 1 | -0/+1 |
| | |||||
* | 7480 - baremetal/ex3.hex now draws multiple pixels | Kartik Agaram | 2021-01-07 | 2 | -7/+15 |
| | | | | | | | | | | 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. | ||||
* | 7479 | Kartik Agaram | 2021-01-07 | 1 | -3/+3 |
| | |||||
* | 7477 | Kartik Agaram | 2020-12-30 | 1 | -2/+2 |
| | |||||
* | 7471 | Kartik Agaram | 2020-12-29 | 1 | -2/+2 |
| | |||||
* | 7470 | Kartik Agaram | 2020-12-29 | 1 | -7/+7 |
| | | | | | | | 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. | ||||
* | 7469 - first working baremetal Mu program | Kartik Agaram | 2020-12-29 | 4 | -0/+95 |
| | | | | | 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. | ||||
* | 7467 | Kartik Agaram | 2020-12-29 | 2 | -1/+7 |
| | |||||
* | 7466 | Kartik Agaram | 2020-12-29 | 2 | -2/+2 |
| | |||||
* | 7462 - SubX version of baremetal/ex2.subx | Kartik Agaram | 2020-12-29 | 1 | -0/+35 |
| | |||||
* | 7461 | Kartik Agaram | 2020-12-29 | 6 | -13/+8 |
| | |||||
* | 7460 - baremetal backend for SubX | Kartik Agaram | 2020-12-29 | 1 | -0/+23 |
| | |||||
* | 7437 - baremetal: draw pixel on keyboard event | Kartik Agaram | 2020-12-28 | 2 | -7/+68 |
| | | | | | It's now clear that our keyboard handler doesn't trigger after the first event. | ||||
* | 7436 | Kartik Agaram | 2020-12-27 | 2 | -22/+22 |
| | | | | Start highlighting lines that may need to be recomputed when offsets change. | ||||
* | 7435 - baremetal: buffer for keyboard events | Kartik Agaram | 2020-12-27 | 1 | -20/+49 |
| | | | | | | | | | I'm trying to read the status register, but I'm still not seeing the breakpoint being hit a second time. (And I again ran into the Bochs bug that breakpoints at the first instruction of an interrupt handler don't work.) Maybe this is just a debugger issue. Let's keep going, and try to start using the keyboard events. | ||||
* | 7434 | Kartik Agaram | 2020-12-27 | 1 | -1/+1 |
| | | | | Fix a stale displacement. | ||||
* | 7433 - some major layout changes | Kartik Agaram | 2020-12-27 | 2 | -55/+51 |
| | | | | | | I'd missed that VBE call 0x4f01 (get video mode) can write up to 256 bytes. Unexpected areas were getting clobbered because I wasn't reserving enough space. | ||||
* | 7432 | Kartik Agaram | 2020-12-27 | 1 | -5/+5 |
| | | | | | Bugfix: 32-bit code in 16-bit mode. Seems like it was benign, maybe. | ||||
* | 7431 | Kartik Agaram | 2020-12-27 | 1 | -1/+1 |
| | | | | Typo. | ||||
* | 7430 | Kartik Agaram | 2020-12-27 | 1 | -1/+1 |
| | |||||
* | 7428 | Kartik Agaram | 2020-12-27 | 8 | -555/+0 |
| | |||||
* | 7427 | Kartik Agaram | 2020-12-27 | 2 | -2/+2 |
| | |||||
* | 7425 - baremetal: render the palette | Kartik Agaram | 2020-12-27 | 1 | -6/+5 |
| | | | | | It's now very obvious that we don't actually have 256 unique colors by default in 256-color graphics modes. | ||||
* | 7424 - baremetal: downsize graphics resolution | Kartik Agaram | 2020-12-27 | 4 | -6/+7 |
| | | | | | | | | If it's large enough that I have doubts whether my top-of-the-line Mac is showing the bottom of the screen inside an emulator, it's too large. This way I also feel more confident that most modern hardware will support this graphics mode, and that these programs will work for others. | ||||
* | 7423 | Kartik Agaram | 2020-12-27 | 1 | -6/+15 |
| | |||||
* | 7422 | Kartik Agaram | 2020-12-26 | 1 | -2/+1 |
| | |||||
* | 7421 - baremetal: beginnings of keyboard map | Kartik Agaram | 2020-12-26 | 1 | -16/+37 |
| | | | | First keypress is detected, but we need to ack it somehow. | ||||
* | 7420 | Kartik Agaram | 2020-12-26 | 1 | -1/+2 |
| | |||||
* | 7419 | Kartik Agaram | 2020-12-26 | 1 | -0/+1 |
| |