Full front-end rewrite

This commit is contained in:
2022-04-14 20:51:09 -05:00
parent fccb799a9c
commit 3cf006ba13
59 changed files with 9424 additions and 7228 deletions
+8 -6
View File
@@ -1,7 +1,7 @@
.PHONY: help
help:
@echo
@echo "Virtual Boy Emulator - September 30, 2021"
@echo "Virtual Boy Emulator - April 14, 2022"
@echo
@echo "Target build environment is any Debian with the following packages:"
@echo " emscripten"
@@ -31,7 +31,7 @@ bundle:
.PHONY: clean
clean:
@rm -f vbemu_*.html core.wasm
@rm -f vbemu_*.html app/core/core.wasm
.PHONY: core
core:
@@ -42,7 +42,9 @@ core:
.PHONY: wasm
wasm:
@emcc -o core.wasm wasm/wasm.c core/vb.c -Icore -D VB_LITTLEENDIAN \
--no-entry -O2 -flto -s WASM=1 -s EXPORTED_RUNTIME_METHODS=[] \
-s ALLOW_MEMORY_GROWTH -s MAXIMUM_MEMORY=4GB -fno-strict-aliasing
@rm -f *.wasm.tmp*
@emcc -o app/core/core.wasm wasm/wasm.c core/vb.c -Icore \
-D VB_LITTLEENDIAN --no-entry -O2 -flto -s WASM=1 \
-D "VB_EXPORT=__attribute__((used))" \
-s EXPORTED_RUNTIME_METHODS=[] -s ALLOW_MEMORY_GROWTH \
-s MAXIMUM_MEMORY=4GB -fno-strict-aliasing
@rm -f app/core/*.wasm.tmp*