Correct writing of pointers.
[SquirrelJME.git] / readme.mkd
blob06a3f87fc71c535a2dfdb1ce37d0652e84046ae8
1 # SquirrelJME
3 **SquirrelJME** is a Java ME 8 Virtual Machine for embedded and Internet of
4 Things devices. It has the ultimate goal of being 99.9% compatible with the
5 Java ME standard.
7 This project is purely written in Java, with a small secondary C project, and 
8 is very easy to port to different hardware. For running on native hardware, a
9 compiler handles the conversion of Java byte code to machine code (in an
10 intermediate format). Any system specific APIs are accessed via standardized
11 system calls that handle the logic the compiler cannot provide. An execution
12 engine which is written in C, it offers a lightweight method of code
13 execution.
15 Additionally, there is a port of SquirrelJME to RetroArch which enables the
16 ability to play older J2ME software and games designed for flip-phones.
18  * Copyright (C) 2013-2022 Stephanie Gawroriski <xer@multiphasicapps.net>
19  * "SquirrelJME" and "Lex" are trademarked by Stephanie Gawroriski 2016-2022
20  * _Lex_ and The _SquirrelJME_ Logo were illustrated by...
21    * Kat Adam-MacEwen
22    * Kat@CMYKat Designs & Illustrations <http://www.cmykat-designs.com/>
24 Please support me on [Patreon](https://www.patreon.com/SquirrelJME)!
26 Dedicated to _Emily_ (1998-2020), the developer of
27 [Mu](https://github.com/meepingsnesroms/Mu), you will not be forgotten.
28 Rest in peace.
30 Dedicated to _Near_ (1983-2021), the developer of Higan, Ares, etc., may
31 your soul rest in peace. You will not be forgotten.
33 _I am currently searching for employment! Check out my_
34 _[LinkedIn](https://www.linkedin.com/in/xerthesquirrel/)!_
36 Badges:
38  * _Checks and Quality_
39    * [![CircleCI](
40      https://img.shields.io/circleci/build/github/SquirrelJME/SquirrelJME/trunk.svg?label=CircleCI%20Build)](
41      https://circleci.com/gh/SquirrelJME/SquirrelJME/tree/trunk)
42    * [![Code Climate Maintainability](
43      https://img.shields.io/codeclimate/maintainability-percentage/SquirrelJME/SquirrelJME)](
44      https://codeclimate.com/github/SquirrelJME/SquirrelJME)
45      [![Code Climate technical debt](
46      https://img.shields.io/codeclimate/tech-debt/SquirrelJME/SquirrelJME)](
47      https://codeclimate.com/github/SquirrelJME/SquirrelJME)
48    * [![Docker Build](
49      https://img.shields.io/docker/cloud/build/xerthesquirrel/squirreljme.svg?label=Docker%20Container)](
50      https://hub.docker.com/r/xerthesquirrel/squirreljme/builds)
51    * [![RetroArch Core](
52      https://git.libretro.com/libretro/SquirrelJME/badges/trunk/pipeline.svg?key_text=RetroArch%20Core&key_width=115)](
53      https://git.libretro.org/libretro/SquirrelJME)
54  * _Social and Community_
55    * [![Discord](https://img.shields.io/discord/278929900893634560.svg?label=Discord%20Server)](
56      https://discord.gg/9PkMMKt)
57    * [![Twitter](
58      https://img.shields.io/twitter/follow/SquirrelJME.svg?label=Follow%20on%20Twitter)](
59      https://twitter.com/SquirrelJME)
60  * _Downloads and Activity_
61    * ![Commit Activity](
62      https://img.shields.io/github/commit-activity/w/SquirrelJME/SquirrelJME.svg?label=Code%20Commits)
63    * [![Docker Pulls](
64      https://img.shields.io/docker/pulls/xerthesquirrel/squirreljme?label=Docker%20Pulls)](
65      https://hub.docker.com/r/xerthesquirrel/squirreljme)
66    * [![SourceForge Downloads](
67      https://img.shields.io/sourceforge/dm/squirreljme.svg?label=SourceForge%20Downloads)](
68      https://sourceforge.net/projects/squirreljme/files/)
69  * _Donations_
70    * [![Liberapay](
71      https://img.shields.io/liberapay/receives/xershadowtail.svg?logo=liberapay&label=LiberaPay)](
72      https://liberapay.com/xershadowtail)
74 Information:
76  * [User Guide](assets/user-guide/readme.mkd)
77  * [Code of Conduct](code-of-conduct.mkd)
78  * [License](license.mkd)
79    * _Source_: Mozilla Public License 2.0
80    * _Assets_: Creative Commons CC-BY-SA 4.0
81    * _Fonts_ : SIL Open Font License Version 1.1
82    * [Third Party Licenses](third-party.mkd)
83  * [Contributing to SquirrelJME](contributing.mkd)
84    * [Credits of Contributions](credits.mkd)
85    * [Test Writing](test-writing.mkd)
86  * _End-User Documents_
87    * [Building](building.mkd)
88    * [Changelog](changelog.mkd)
89    * [Compatibility](compatibility.mkd)
90    * [History](history.mkd)
91    * [Release Roadmap](route.mkd)
92  * _Developer Resources_
93    * [CircleCI Status](
94      https://circleci.com/gh/SquirrelJME/SquirrelJME/tree/trunk)
95    * [Developer Guide](developer-guide.mkd)
96    * [Developer Notes](assets/developer-notes/index.mkd)
97    * [Design Document](design.mkd)
98    * [Porting SquirrelJME](porting.mkd)
99    * [Project Scope](scope.mkd)
100    * [CLDC 1.8 API (docs.oracle.com)](
101      https://docs.oracle.com/javame/8.0/api/cldc/api/overview-summary.html)
103 ## Repository
105  * [Online repository](http://squirreljme.cc/)
106    ([HTTPS](https://squirreljme.cc/),
107    [Tor (A)](http://vzwveldr7djnlpg7ujslaqre632htbl3unkmfbltpgumevw63jn47dad.onion/),
108    [Tor (B)](http://hrkzpyi33og6j5z3anfpjuqkawvkw4kxyasrp64elg3i6dffihmdhxad.onion/))
109  * SquirrelJME uses `fossil` <http://fossil-scm.org/>.
110  * The repository may be cloned using Fossil:
111    * One of these commands:
112      * `fossil clone -u http://squirreljme.cc/ squirreljme.fossil`
113      * `fossil clone -u https://squirreljme.cc/ squirreljme.fossil`
114      * `fossil clone -u http://vzwveldr7djnlpg7ujslaqre632htbl3unkmfbltpgumevw63jn47dad.onion/ squirreljme.fossil`
115      * `fossil clone -u http://hrkzpyi33og6j5z3anfpjuqkawvkw4kxyasrp64elg3i6dffihmdhxad.onion/ squirreljme.fossil`
116      * `fossil clone -u http://squirrelmfbf2udn.onion/ squirreljme.fossil`
117    * `mkdir squirreljme`
118    * `cd squirreljme`
119    * `fossil open ../squirreljme.fossil`
120  * Alternatively via [GitHub](https://github.com/SquirrelJME/SquirrelJME):
121    * `git clone https://github.com/SquirrelJME/SquirrelJME`
122    * `cd SquirrelJME`
123  * Alternatively via [repo.or.cz](https://repo.or.cz/SquirrelJME.git):
124    * `git clone https://repo.or.cz/SquirrelJME.git`
125    * `cd SquirrelJME`
126  * Trunk Source Snapshot (Main website or `fossil serve` only):
127    * [TAR.GZ](/tarball/squirreljme-trunk.tar.gz?uuid=trunk)
128    * [ZIP](/zip/squirreljme-trunk.zip?uuid=trunk)
130 ## Links
132  * [My Portfolio](https://shadowtail.dev/)
133  * [My Public PGP Key](public-key.gpg.mkd)
134  * [SquirrelJME BlueSky](https://bsky.app/profile/squirreljme.bsky.social)
135  * [SquirrelJME Twitter](https://twitter.com/SquirrelJME)
136  * [SquirrelJME Mastodon](https://mastodon.online/@SquirrelJME)
137  * Locations where you can get support:
138    * [Discord](https://discord.gg/9PkMMKt)
139    * _LiberaChat (IRC)_ (Bridged to _Discord_)
140      * [#squirreljme](ircs://irc.libera.chat:6697/squirreljme) -- Main Support
141      * [#squirreljme-softwares](ircs://irc.libera.chat:6697/squirreljme-software) -- Software channel
142      * [##squirreljme](ircs://irc.libera.chat:6697/#squirreljme) -- Off-Topic
143    * [Reddit](https://reddit.com/r/SquirrelJME)
144  * Front facing social media:
145    * [BlueSky](https://bsky.app/profile/squirreljme.bsky.social)
146    * [Mastodon (mastodon.online)](https://mastodon.online/@SquirrelJME)
147    * [YouTube](https://www.youtube.com/channel/UCbmC7qQjeXUEUyE5XfDX5RA/)
148    * [Twitter](https://twitter.com/SquirrelJME)
149  * [Docker Hub](https://hub.docker.com/r/xerthesquirrel/squirreljme)
150  * [SourceForge](https://sourceforge.net/p/squirreljme/)
151  * Personal Accounts (If you wish to contact me this way)
152    * [GitHub](https://github.com/XerTheSquirrel/)
153    * [Keybase](https://keybase.io/xerthesquirrel)
154    * [LinkedIn](https://www.linkedin.com/in/xerthesquirrel/)
155    * [Mastodon (chitter.xyz)](https://chitter.xyz/@XerShadowTail)
156    * [BlueSky](https://bsky.app/profile/xershadowtail.bsky.social)
157    * [Twitter](https://twitter.com/XerShadowTail)
158    * [Cohost](https://cohost.org/XerShadowTail)
159    * [YouTube (Personal)](
160      https://www.youtube.com/channel/UCJ4QrvbDhjtd7u6EpfBQ__g)
161    * E-Mail: <xer@multiphasicapps.net>
163 ## Goals
165  * _To be small_ - Smaller programs are easier to maintain and are usually
166    simpler.
167  * _To be fast_ - With the potential of AOT/JIT, systems that do not normally
168    have a port of an existing virtual machine will usually only have an
169    interpreter.
170  * _To be compatible_ - So that existing Java ME 8 applications can run on this
171    virtual machine, along with J2ME applications when required. This has the
172    added bonus of allowing one to use older software to catalog for
173    preservation.
174  * _To compile once and run anywhere_ - Current and up to date Java
175    implementations are limited only to a few select systems (_Solaris_,
176    _Linux_, _BSD_, _Mac OS X_, and _Windows_). Java ME 8 as of this writing
177    only supports the *FRDM-K64F* (dropped), *STM32429I-EVAL*, *Raspberry Pi*,
178    *Intel Galileo Gen2* (preview), and *STM 32F746G DISCOVERY* (preview) all
179    of which are either out of date or discontinued by their manufacturers.
180    There are multitudes of devices that support **J2ME**, however that is
181    horribly out of date when compared with the Java that is used today
182    (**J2ME** is equal to Java 1.4 which was released in _2002_).
184 ## Donations
186 You may donate to SquirrelJME to which would be used by the author to keep the
187 web server online, the purchasing of new hardware/software, and for the
188 purchasing of food items for consumption.
190  * Traditional
191    * [Ko-Fi](http://ko-fi.com/xerthesquirrel)
192    * [Patreon](https://www.patreon.com/SquirrelJME)
193    * [Liberapay](https://liberapay.com/xershadowtail)
194  * Cryptocurrency
195    * _ALGO_: `TR5V27P33A2TH4CLHH2X3XQYV6WY4TYSDVUHUJDAINSMOJDNBB5BRTUKB4`
196    * _ATOM_: `cosmos1xe5l7exx4sm0p7rr7sx3max5zxp0zx7mpx9vfj`
197      * Always include this memo: `1523229`
198    * _BTC_: `3AxDtLvmEk7h61BFy7J2v2t4s9m9uzWVvY`
199    * _ETH_: `0x47B106506522f368c4c9110aF003a58dcD04beA1`
200    * _LTC_: `M9GY2KbonbYKspqX5mrys6yNNvFab4RMQX`
201    * _XLM_: `GDQP2KPQGKIHYJGXNUIYOMHARUARCA7DJT5FO2FFOOKY3B2WSQHG4W37`
202      * Always include this memo: `2561990448`
203    * _XTZ_: `tz1efFabxYdvPqNtdndC5y4usGSTvCH3RuhK`
204    * _ZEC_: `t1cBD4dJYNWs5TQk1JKFNy1Qkg3TBx8noXQ`
206 ## Important Statements
208 ***JAVA AND ALL OTHER RELATED TRADEMARKS AND COPYRIGHTS ARE OWNED BY ORACLE
209 CORPORATION <http://www.oracle.com/>.***
211 ***SQUIRRELJME IS NEITHER PRODUCED BY, ENDORSED BY, NOR SUPPORTED BY
212 _ORACLE CORPORATION_.***
214 ***ALL SOURCE CODE IS WRITTEN BY MYSELF WITH FUNCTIONALITY DETERMINED BY THE
215 DOCUMENTED APIS AND RUN-TIME BEHAVIOR. I HAVE NOT LOOKED AT THE SOURCE CODE FOR
216 OTHER IMPLEMENTATIONS, NEITHER FREE SOFTWARE NOR PROPRIETARY IMPLEMENTATIONS.
217 ESSENTIALLY SQUIRRELJME IS A CLEAN-ROOM IMPLEMENTATION OF THE DESIGN OF JAVA
218 ME 8. THE IMPLEMENTATIONS OF THE JAVA ME 8 APIS AND ASSOCIATED JSRS/JEPS IS
219 CONSIDERED BY MYSELF (STEPHANIE GAWRORISKI) TO BE IN THE FAIR USE.***
221 ***THIS SOFTWARE IS INCOMPLETE AND IN ITS CURRENT STATE IS NOT CURRENTLY
222 100% COMPATIBLE WITH JAVA ME 8. THERE ARE CURRENTLY NO STABLE RELEASED VERSIONS
223 OF THIS SOFTWARE. AS SUCH THE FIRST MAJOR VERSION RELEASE WILL BE WHEN IT IS
224 COMPATIBLE SO AS TO NOT VIOLATE POTENTIAL LICENSES, AND IF POSSIBLE BE VERIFIED
225 WITH ANY APPLICABLE TCKS (SO IT WOULD BE AN "OFFICIAL" IMPLEMENTATION).***