[metal] Make deathstar.com draw onto both VGA and serial consoles

In addition, deathstar.com can now be booted up via UEFI.
This commit is contained in:
tkchia 2023-11-15 17:36:13 +00:00
parent 3a470ed356
commit b236ff74a5
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 \