aboutsummaryrefslogtreecommitdiff
path: root/SrcShared/Palm/Platform/Incs/Libraries
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbarenblat@gmail.com>2021-11-23 23:13:26 -0500
committerGravatar Benjamin Barenblat <bbarenblat@gmail.com>2021-11-23 23:13:26 -0500
commite5df1aafb6d1346207343ccb858fa373e6b86301 (patch)
treefb26f0091dda7dd69d48d6b06169ea618332b99e /SrcShared/Palm/Platform/Incs/Libraries
Palm OS Emulator v3.5HEADmain
Check in the Palm OS Emulator, version 3.5 (2001). These files come from the tarball present in the Debian archives [1]. The SHA-256 digest of the tarball, c5e0d23424e88525bfba0ecdf0a432a8d93c885d04740df06a9eeee44e5f25e4, matches the digest preserved in the FreeBSD ports tree [2], giving further confidence that these files are as distributed by upstream. [1] http://archive.debian.org/debian/pool/contrib/p/pose/ [2] https://svnweb.freebsd.org/ports/head/palm/pose/distinfo?revision=271305&view=markup&pathrev=282162
Diffstat (limited to 'SrcShared/Palm/Platform/Incs/Libraries')
-rw-r--r--SrcShared/Palm/Platform/Incs/Libraries/LibTraps.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/SrcShared/Palm/Platform/Incs/Libraries/LibTraps.h b/SrcShared/Palm/Platform/Incs/Libraries/LibTraps.h
new file mode 100644
index 0000000..cd0b63b
--- /dev/null
+++ b/SrcShared/Palm/Platform/Incs/Libraries/LibTraps.h
@@ -0,0 +1,43 @@
+/******************************************************************************
+ *
+ * Copyright (c) 1999 Palm Computing, Inc. or its subsidiaries.
+ * All rights reserved.
+ *
+ * File: LibTraps.h
+ *
+ * Description:
+ * Palm OS Shared Library 'default' traps.
+ *
+ * History:
+ * 7/15/99 Created by Bob Ebert
+ * mm/dd/yy initials - brief revision comment
+ *
+ *****************************************************************************/
+
+ #ifndef __LIBTRAPS_H_
+ #define __LIBTRAPS_H_
+
+// Include elementary types
+#include <PalmTypes.h>
+
+#if CPU_TYPE == CPU_68K
+#include <M68KHwr.h>
+#endif
+
+//--------------------------------------------------------------------
+// Define Library Trap Numbers
+//--------------------------------------------------------------------
+// Library traps start here and go up by 1's
+#define sysLibTrapBase 0xA800
+typedef enum {
+ sysLibTrapName = sysLibTrapBase,
+ sysLibTrapOpen,
+ sysLibTrapClose,
+ sysLibTrapSleep,
+ sysLibTrapWake,
+ sysLibTrapCustom
+ } SysLibTrapNumber;
+
+
+
+#endif //__LIBTRAPS_H_