Added a program init function

This commit is contained in:
Eduard Urbach 2025-02-16 15:46:54 +01:00
parent 00be603b8f
commit 9f125694be
No known key found for this signature in database
GPG key ID: C874F672B1AF20C0
11 changed files with 78 additions and 38 deletions

8
lib/core/core_mac.q Normal file
View file

@ -0,0 +1,8 @@
init() {
main.main()
exit()
}
exit() {
syscall(0x2000001, 0)
}