diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-11-03 15:05:19 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-11-03 15:05:19 +0100 |
| commit | e2c2361f335a45d1268481c17fea6f50aa03bbff (patch) | |
| tree | e2fd2c4fd8cfe0b26277f64e975fbbf756f8a3c8 /dev/SCIKit/src | |
| parent | 140d983c55e0f9a2d1829c997d7751f234703fb6 (diff) | |
IMP: MakeFramework tool, (Alpha)
- This tool is used to make frameworks and apps.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/SCIKit/src')
| -rw-r--r-- | dev/SCIKit/src/DispatchSysCalls.asm (renamed from dev/SCIKit/src/Syscall.asm) | 16 | ||||
| -rw-r--r-- | dev/SCIKit/src/Foundation.cc | 4 | ||||
| -rw-r--r-- | dev/SCIKit/src/Makefile | 3 |
3 files changed, 11 insertions, 12 deletions
diff --git a/dev/SCIKit/src/Syscall.asm b/dev/SCIKit/src/DispatchSysCalls.asm index d1928191..d0a8054e 100644 --- a/dev/SCIKit/src/Syscall.asm +++ b/dev/SCIKit/src/DispatchSysCalls.asm @@ -9,23 +9,23 @@ [bits 64] -global sci_syscall_1 -global sci_syscall_2 -global sci_syscall_3 -global sci_syscall_4 +global sci_syscall_arg_1 +global sci_syscall_arg_2 +global sci_syscall_arg_3 +global sci_syscall_arg_4 -sci_syscall_1: +sci_syscall_arg_1: mov r8, rcx syscall ret -sci_syscall_2: +sci_syscall_arg_2: mov r8, rcx mov r9, rdx syscall ret -sci_syscall_3: +sci_syscall_arg_3: mov rbx, r8 mov r8, rcx @@ -35,7 +35,7 @@ sci_syscall_3: syscall ret -sci_syscall_4: +sci_syscall_arg_4: mov rbx, r8 mov rax, r9 diff --git a/dev/SCIKit/src/Foundation.cc b/dev/SCIKit/src/Foundation.cc index 4231c02c..c0723c93 100644 --- a/dev/SCIKit/src/Foundation.cc +++ b/dev/SCIKit/src/Foundation.cc @@ -6,8 +6,8 @@ #include <SCIKit/Foundation.h>
-/// @file sci_base.cc
-/// @brief Base Memory Manager functions for SCI.dll
+/// @file Foundation.cc
+/// @brief Foundation source file for SCI Kit.
/// @brief Copy memory region.
IMPORT_C VoidPtr MmCopyMemory(_Input VoidPtr dest, _Input VoidPtr src, _Input SizeT len)
diff --git a/dev/SCIKit/src/Makefile b/dev/SCIKit/src/Makefile index e518909a..68a6407b 100644 --- a/dev/SCIKit/src/Makefile +++ b/dev/SCIKit/src/Makefile @@ -1,4 +1,3 @@ .PHONY: syscall_unit syscall_unit: - nasm -f win64 Syscall.asm - + nasm -f win64 DispatchSysCalls.asm -o DispatchSysCalls.obj |
