Added crash function

This commit is contained in:
2025-03-14 09:52:00 +01:00
parent 06f3af256b
commit 9726f1d832
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
}