Added SetQuitHandler.

This commit is contained in:
mibi88 2022-11-11 17:06:36 +01:00 committed by mibi88
parent 8442e0b9cf
commit 2fe67412cc
1 changed files with 5 additions and 0 deletions

View File

@ -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: