From 45e90b55ba7ef10bd99a996fa3e4254f8d7f7a0d Mon Sep 17 00:00:00 2001 From: mibi88 Date: Fri, 11 Nov 2022 17:06:36 +0100 Subject: [PATCH 1/2] Added SetQuitHandler. --- src/kernel/syscalls.S | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/kernel/syscalls.S b/src/kernel/syscalls.S index 12b0325..1261859 100644 --- a/src/kernel/syscalls.S +++ b/src/kernel/syscalls.S @@ -42,6 +42,7 @@ .global ___ClearKeyBuffer .global ___GetVRAMAddress .global ___ConfigureStatusArea +.global ___SetQuitHandler #define syscall_(id, syscall_table) \ mov.l syscall_table, r2 ;\ @@ -111,6 +112,8 @@ ___ClearKeyBuffer: syscall(0x241) ___GetVRAMAddress: syscall(0x135) +___SetQuitHandler: + syscall(0x494) syscall_table: .long 0x80010070 @@ -178,6 +181,8 @@ ___GetVRAMAddress: syscall(0x1e6) ___ConfigureStatusArea: syscall(0x2b7) +___SetQuitHandler: + syscall(0x1e6e) .global ___SpecialMatrixCodeProcessing ___SpecialMatrixCodeProcessing: From 93e055cfba3c5f3625115e8648ddd91a4d82d869 Mon Sep 17 00:00:00 2001 From: mibi88 Date: Fri, 11 Nov 2022 17:46:27 +0100 Subject: [PATCH 2/2] Fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 473f6b8..f5dda44 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ The library also offers powerful higher-level features: * An enhanced version of the system's GetKey() and GetKeyWait() * A gray engine that works by rapidly swapping monochrome images on fx-9860G II -* Blazingly fast rendering functions (image rendering is 10 times faster tha +* Blazingly fast rendering functions (image rendering is 10 times faster than MonochromeLib) * Integrated font management