-
-
Notifications
You must be signed in to change notification settings - Fork 585
Draft
Conversation
Updating my old Symbian port to latest TIC-80 previews. Not sure if this is appropriate for inclusion in upstream, but I'll try nonetheless to perhaps gather some feedback.
This is WIP and will only work on Nokia E7. I need more S^3 phones to make keymaps for or start relying on the OS's IME which can be quite cumbersome both to set up and to use efficiently... Feedback very welcome.
How to build
You'll need a Linux box preloaded with common devtools.
- Setup your EPOCROOT using ERA
- Clone this PR (recursively ofc), then cd...
git-applythe attached patch (see below) tovendor/zipcmake -B _builddir/symbian -D CMAKE_TOOLCHAIN_FILE=build/symbian/cmake/toolchain-symbian-gcce.cmakecmake --build _builddir/symbian -j -t tic80-sis- Install
_builddir/symbian/tic80.sison your Symbian ^3 device (Nokia E7)
What's left to be done
- We need people to test this on real devices and get them to report bugs!
- Some languages are disabled, because they are unlikely to work without sending patches to upstream.
vendor/zip patch
diff --git a/src/zip.c b/src/zip.c
index 4f17ec5..376e865 100644
--- a/src/zip.c
+++ b/src/zip.c
@@ -28,6 +28,9 @@
#else
#include // needed for symlink() on BSD
+#ifdef __EPOC32__
+__declspec(dllimport)
+#endif
int symlink(const char *target, const char *linkpath); // needed on Linux
#define MKDIR(DIRNAME) mkdir(DIRNAME, 0755)
index 4f17ec5..376e865 100644
--- a/src/zip.c
+++ b/src/zip.c
@@ -28,6 +28,9 @@
#else
#include
+#ifdef __EPOC32__
+__declspec(dllimport)
+#endif
int symlink(const char *target, const char *linkpath); // needed on Linux
#define MKDIR(DIRNAME) mkdir(DIRNAME, 0755)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.