From bb3d709ad6b36a9f7b6bbe7c3ef2614f17334acd Mon Sep 17 00:00:00 2001 From: Ry Date: Thu, 21 Dec 2023 15:00:41 -0800 Subject: [PATCH] Add `StringToInt` to Okameron defs --- fox32rom.def.okm | 2 ++ fox32rom_okm.asm | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/fox32rom.def.okm b/fox32rom.def.okm index 5b107b1..ddfcb5a 100644 --- a/fox32rom.def.okm +++ b/fox32rom.def.okm @@ -49,6 +49,8 @@ MODULE Fox32ROM; EXTERN PROCEDURE RYFSGetFileList: INT; EXTERN PROCEDURE RYFSWrite: INT; + EXTERN PROCEDURE StringToInt: INT; + EXTERN PROCEDURE CopyMemoryChar: INT; EXTERN PROCEDURE CopyMemoryInt: INT; EXTERN PROCEDURE CopyString: INT; diff --git a/fox32rom_okm.asm b/fox32rom_okm.asm index 44e4327..0dae2e1 100644 --- a/fox32rom_okm.asm +++ b/fox32rom_okm.asm @@ -208,6 +208,13 @@ RYFSGetFileList: RYFSWrite: jmp ryfs_write +; PROCEDURE StringToInt( +; str: POINTER TO CHAR; +; radix: INT; +; ): INT; +StringToInt: + jmp string_to_int + ; PROCEDURE CopyMemoryChar( ; source, destination: POINTER TO CHAR; ; size: INT;