[metal] Make deathstar.com draw onto both VGA and serial consoles (#955)

In addition, deathstar.com can now be booted up via UEFI.
This commit is contained in:
tkchia 2023-11-16 11:40:54 +08:00 committed by GitHub
parent e4584ace81
commit ddc08dc974
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -15,6 +15,9 @@
#define FRAMERATE 23.976
#define WRITE(s) write(1, s, strlen(s))
__static_yoink("vga_console");
__static_yoink("EfiMain");
struct Sphere {
double cx, cy, cz, r;
};

View file

@ -41,6 +41,7 @@ TOOL_VIZ_DIRECTDEPS = \
LIBC_THREAD \
LIBC_TIME \
LIBC_TINYMATH \
LIBC_VGA \
LIBC_X \
NET_HTTP \
THIRD_PARTY_COMPILER_RT \