Added crash function

This commit is contained in:
Eduard Urbach 2025-03-14 09:52:00 +01:00
parent e367b664bb
commit 716cc6dddd
Signed by: eduard
GPG key ID: 49226B848C78F6C8
8 changed files with 19 additions and 27 deletions

View file

@ -5,4 +5,8 @@ init() {
exit() {
syscall(93, 0)
}
crash() {
syscall(93, 1)
}

View file

@ -5,4 +5,8 @@ init() {
exit() {
syscall(60, 0)
}
crash() {
syscall(60, 1)
}

View file

@ -5,4 +5,8 @@ init() {
exit() {
syscall(0x2000001, 0)
}
crash() {
syscall(0x2000001, 1)
}

View file

@ -9,6 +9,10 @@ exit() {
kernel32.ExitProcess(0)
}
crash() {
kernel32.ExitProcess(1)
}
const cp {
utf8 65001
}