diff options
author | Freya Murphy <freya@freyacat.org> | 2024-02-03 00:50:07 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-02-03 00:53:58 -0500 |
commit | 90a6065691beee52bf5309916fba98f7580d27be (patch) | |
tree | 0b5375d20c189f62d394c473d371f7bf7f1d3fc5 /include/bochs.h | |
parent | improved debugger, refactored (diff) | |
download | corn-90a6065691beee52bf5309916fba98f7580d27be.tar.gz corn-90a6065691beee52bf5309916fba98f7580d27be.tar.bz2 corn-90a6065691beee52bf5309916fba98f7580d27be.zip |
refactor, new arch dirs, (wip) page alloc on write, hsv screen (convert to userspace later), other fixes
Diffstat (limited to 'include/bochs.h')
-rw-r--r-- | include/bochs.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/bochs.h b/include/bochs.h new file mode 100644 index 0000000..4aa933e --- /dev/null +++ b/include/bochs.h @@ -0,0 +1,11 @@ +#pragma once + +#include <stdint.h> +#include <stdint.h> + +/** + * Loads the framebuffer + * @param width - the width of the screen + * @param height - the height of the screen + */ +uint32_t *bochs_init(uint16_t w, uint16_t h, uint8_t b); |