summaryrefslogtreecommitdiff
path: root/tptlibrary
diff options
context:
space:
mode:
Diffstat (limited to 'tptlibrary')
-rw-r--r--tptlibrary/tpt_syscalls.asm21
-rw-r--r--tptlibrary/tpt_syscalls.h1
2 files changed, 12 insertions, 10 deletions
diff --git a/tptlibrary/tpt_syscalls.asm b/tptlibrary/tpt_syscalls.asm
index 39d1f17..2da2627 100644
--- a/tptlibrary/tpt_syscalls.asm
+++ b/tptlibrary/tpt_syscalls.asm
@@ -1,13 +1,14 @@
code
-equ sin -104
-equ cos -105
-equ atan2 -106
-equ sqrt -107
-equ floor -108
-equ ceil -109
+equ sin -1
+equ cos -2
+equ atan2 -3
+equ sqrt -4
+equ floor -5
+equ ceil -6
-equ error -110
-equ print -111
-equ partCreate -112
-equ partChangeType -113 \ No newline at end of file
+equ error -7
+equ print -8
+equ partCreate -9
+equ partChangeType -10
+equ pmapData -11
diff --git a/tptlibrary/tpt_syscalls.h b/tptlibrary/tpt_syscalls.h
index 6112306..a3adf41 100644
--- a/tptlibrary/tpt_syscalls.h
+++ b/tptlibrary/tpt_syscalls.h
@@ -13,5 +13,6 @@ void error(char * message);
int partCreate(int i, int x, int y, int type);
void partChangeType(int i, int x, int y, int type);
+int pmapData(int x, int y);
#endif