Added crash function
This commit is contained in:
parent
e367b664bb
commit
716cc6dddd
8 changed files with 19 additions and 27 deletions
|
@ -5,4 +5,8 @@ init() {
|
|||
|
||||
exit() {
|
||||
syscall(93, 0)
|
||||
}
|
||||
|
||||
crash() {
|
||||
syscall(93, 1)
|
||||
}
|
|
@ -5,4 +5,8 @@ init() {
|
|||
|
||||
exit() {
|
||||
syscall(60, 0)
|
||||
}
|
||||
|
||||
crash() {
|
||||
syscall(60, 1)
|
||||
}
|
|
@ -5,4 +5,8 @@ init() {
|
|||
|
||||
exit() {
|
||||
syscall(0x2000001, 0)
|
||||
}
|
||||
|
||||
crash() {
|
||||
syscall(0x2000001, 1)
|
||||
}
|
|
@ -9,6 +9,10 @@ exit() {
|
|||
kernel32.ExitProcess(0)
|
||||
}
|
||||
|
||||
crash() {
|
||||
kernel32.ExitProcess(1)
|
||||
}
|
||||
|
||||
const cp {
|
||||
utf8 65001
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue