mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 13:38:06 +11:00
7001446212
Recipes contain bits and pieces of hardware-related knowledge, but these bits feel sparse. I've been wanting to consolidate hardware- related documentation for a while, but always fell at odds with the recipes organisation. We don't have recipes anymore, just a /doc/hw section that contains hardware-related documentation which often translate to precise instructions to run Collapse OS on a specific machine. With this new organisation, I hope to end up with a better, more solid documentation.
17 lines
550 B
Plaintext
17 lines
550 B
Plaintext
VDP Driver
|
|
|
|
Implement (emit) on the console. Characters start at the top
|
|
left. Every (emit) call converts the ASCII char received to its
|
|
internal font, then put that char on screen, advancing the
|
|
cursor by one. When reaching the end of the line (33rd char),
|
|
wrap to the next.
|
|
|
|
In the future, there's going to be a scrolling mechanism when
|
|
we reach the bottom of the screen, but for now, when the end of
|
|
the screen is reached, we wrap up to the top.
|
|
|
|
When reaching a new line, we clear that line and the next to
|
|
help readability.
|
|
|
|
Load range: 623-628
|