use precompiled standard library (not really a linker)

This commit is contained in:
slederer 2024-11-09 22:22:48 +01:00
parent 5ce5bc44b8
commit 91cb059f38
8 changed files with 105 additions and 22 deletions

11
lib/stdlibwrap.s Normal file
View file

@ -0,0 +1,11 @@
.ORG 24576 + 32
.EQU _HEAP_SZ_PTR 24576 + 4
.EQU _STACK_SZ_PTR 24576 + 8
.EQU _MAIN_PTR 24576 + 12
%include "coreloader.lsym"
%include "runtime.s"
%include "float32.s"
%include "stdlib.s"
_MAIN: