TIC-80
TIC-80 copied to clipboard
Symbian ^3 port
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. :cat:
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. :blush:
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) - :shipit:
What's left to be done
- We need people to test this on real devices and get them to report bugs! :grin:
- Some languages are disabled, because they are unlikely to work without sending patches to upstream. :disappointed:
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 <unistd.h> // 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)