<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.planet-casio.com/en/index.php?action=history&amp;feed=atom&amp;title=Syscalls</id>
		<title>Syscalls - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.planet-casio.com/en/index.php?action=history&amp;feed=atom&amp;title=Syscalls"/>
		<link rel="alternate" type="text/html" href="https://wiki.planet-casio.com/en/index.php?title=Syscalls&amp;action=history"/>
		<updated>2026-05-02T16:48:57Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.2</generator>

	<entry>
		<id>https://wiki.planet-casio.com/en/index.php?title=Syscalls&amp;diff=892&amp;oldid=prev</id>
		<title>Casimo at 10:02, April 6, 2013</title>
		<link rel="alternate" type="text/html" href="https://wiki.planet-casio.com/en/index.php?title=Syscalls&amp;diff=892&amp;oldid=prev"/>
				<updated>2013-04-06T10:02:41Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 10:02, April 6, 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The system call documentation can be &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;download &lt;/del&gt;here[http://www.casiopeia.net/forum/downloads.php?view=detail&amp;amp;df_id=72].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The system call documentation can be &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;downloaded &lt;/ins&gt;here[http://www.casiopeia.net/forum/downloads.php?view=detail&amp;amp;df_id=72].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To use system calls in the official SDK, you can either use instant the system call implementation or a .src-file.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To use system calls in the official SDK, you can either use instant the system call implementation or a .src-file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l10&quot; &gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Instant system call implementation ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Instant system call implementation ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Source [http://www.casiopeia.net/forum/viewtopic.php?f=20&amp;amp;t=1376]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// the following definitions are only needed once&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// the following definitions are only needed once&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Casimo</name></author>	</entry>

	<entry>
		<id>https://wiki.planet-casio.com/en/index.php?title=Syscalls&amp;diff=891&amp;oldid=prev</id>
		<title>Casimo: Created page with &quot;The system call documentation can be download here[http://www.casiopeia.net/forum/downloads.php?view=detail&amp;df_id=72].  To use system calls in the official SDK, you can either...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.planet-casio.com/en/index.php?title=Syscalls&amp;diff=891&amp;oldid=prev"/>
				<updated>2013-04-06T10:01:32Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;The system call documentation can be download here[http://www.casiopeia.net/forum/downloads.php?view=detail&amp;amp;df_id=72].  To use system calls in the official SDK, you can either...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The system call documentation can be download here[http://www.casiopeia.net/forum/downloads.php?view=detail&amp;amp;df_id=72].&lt;br /&gt;
&lt;br /&gt;
To use system calls in the official SDK, you can either use instant the system call implementation or a .src-file.&lt;br /&gt;
&lt;br /&gt;
The effect of both implementations is the same, these asm lines are generated:&lt;br /&gt;
 mov.l   #h'80010070, r2&lt;br /&gt;
 mov.l   #SyscallNo, r0&lt;br /&gt;
 jmp     @r2&lt;br /&gt;
 nop&lt;br /&gt;
&lt;br /&gt;
=== Instant system call implementation ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// the following definitions are only needed once&lt;br /&gt;
#define SCA 0xD201D002&lt;br /&gt;
#define SCB 0x422B0009&lt;br /&gt;
#define SCE 0x80010070&lt;br /&gt;
// now define some function pointer types&lt;br /&gt;
// (for every syscall's interface a different function pointer type is required)&lt;br /&gt;
// the following type is for syscalls, which return an int and require no input.&lt;br /&gt;
typedef int(*sc_iv)(void);&lt;br /&gt;
// the following type is for syscalls, which return an int and require an int-pointer as input (like GetKey).&lt;br /&gt;
typedef int(*sc_ipi)(int*);&lt;br /&gt;
&lt;br /&gt;
// example 1&lt;br /&gt;
const unsigned int sc0998[] = { SCA, SCB, SCE, 0x0998 };&lt;br /&gt;
#define App_DYNA (*(sc_iv)sc0998)&lt;br /&gt;
&lt;br /&gt;
// now you could use&lt;br /&gt;
  App_DYNA();&lt;br /&gt;
// to call the built-in DYNA.&lt;br /&gt;
&lt;br /&gt;
// or&lt;br /&gt;
&lt;br /&gt;
// example 2&lt;br /&gt;
const unsigned int sc090F[] = { SCA, SCB, SCE, 0x090F };&lt;br /&gt;
#define GetKey (*(sc_ipi)sc090F)&lt;br /&gt;
// to call&lt;br /&gt;
  GetKey( &amp;amp;key );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Casimo</name></author>	</entry>

	</feed>