Added QR code generator as system function 78

This commit is contained in:
2025-05-17 01:29:19 -03:00
parent 4550e15838
commit ae90da403c
4 changed files with 2157 additions and 2 deletions

View File

@@ -284,7 +284,7 @@ MEM_AMOUNT = OS_BASE + 0x000FE8C
SYS_SHUTDOWN = OS_BASE + 0x000FF00 SYS_SHUTDOWN = OS_BASE + 0x000FF00
TMP_STACK_TOP = 0x008CC00 TMP_STACK_TOP = 0x0096F00
sys_proc = OS_BASE + 0x008E000 sys_proc = OS_BASE + 0x008E000

View File

@@ -175,7 +175,7 @@ iglobal
dd sys_socket ; 75-reserved for new stack dd sys_socket ; 75-reserved for new stack
dd sys_protocols ; 76-reserved for new stack dd sys_protocols ; 76-reserved for new stack
dd sys_posix ; posix support dd sys_posix ; posix support
dd undefined_syscall ; 78-free dd syscall_qrcode ; 78-QR code
dd undefined_syscall ; 79-free dd undefined_syscall ; 79-free
dd sys_fileSystemUnicode ; 80-File system interface for different encodings dd sys_fileSystemUnicode ; 80-File system interface for different encodings

View File

@@ -4430,6 +4430,8 @@ sys_apm:
ret ret
; ----------------------------------------- ; -----------------------------------------
include 'qrcode.inc'
align 4 align 4
undefined_syscall: ; Undefined system call undefined_syscall: ; Undefined system call
mov [esp + SYSCALL_STACK.eax], -1 mov [esp + SYSCALL_STACK.eax], -1

2153
kernel/trunk/qrcode.inc Normal file

File diff suppressed because it is too large Load Diff