feat: Languages

This commit is contained in:
2024-01-28 00:13:35 +03:00
parent 289d977ea8
commit 1a6f5303cf
5 changed files with 54 additions and 2 deletions

View File

@@ -16,6 +16,7 @@ section '.text'
public _init_heap
public _alloc
public _free
public _get_lang
_exit:
mov eax, SF_TERMINATE_PROCESS
@@ -111,3 +112,9 @@ _free:
int 0x40
ret
_get_lang:
mov eax, SF_SYSTEM_GET
mov ebx, SSF_SYS_LANG
int 0x40
ret