mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
[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:
parent
e4584ace81
commit
ddc08dc974
2 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,9 @@
|
||||||
#define FRAMERATE 23.976
|
#define FRAMERATE 23.976
|
||||||
#define WRITE(s) write(1, s, strlen(s))
|
#define WRITE(s) write(1, s, strlen(s))
|
||||||
|
|
||||||
|
__static_yoink("vga_console");
|
||||||
|
__static_yoink("EfiMain");
|
||||||
|
|
||||||
struct Sphere {
|
struct Sphere {
|
||||||
double cx, cy, cz, r;
|
double cx, cy, cz, r;
|
||||||
};
|
};
|
||||||
|
|
|
@ -41,6 +41,7 @@ TOOL_VIZ_DIRECTDEPS = \
|
||||||
LIBC_THREAD \
|
LIBC_THREAD \
|
||||||
LIBC_TIME \
|
LIBC_TIME \
|
||||||
LIBC_TINYMATH \
|
LIBC_TINYMATH \
|
||||||
|
LIBC_VGA \
|
||||||
LIBC_X \
|
LIBC_X \
|
||||||
NET_HTTP \
|
NET_HTTP \
|
||||||
THIRD_PARTY_COMPILER_RT \
|
THIRD_PARTY_COMPILER_RT \
|
||||||
|
|
Loading…
Reference in a new issue