Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various fixed for NetBSD X11 keymapping and Android sound and pen operation and enable native 64 bit builds on both NetBSD and Android #71

Open
nsloss opened this issue Feb 16, 2020 · 1 comment

Comments

@nsloss
Copy link

nsloss commented Feb 16, 2020

Hi I wasn't sure where to send this so I opened this issue.

Thanks for the great work on the Einstein emulator.

I've created a patch file with various fixes for NetBSD and Android 64 bit builds:

Summary of changes:
Various Android and NetBSD fixes:
BSD (NetBSD):
Make PortAudio the default sound backend.
Fix x11 keymap so keys are mapped correctly.
Fix x11 graphics window updating.
Fix portAudio sound playback issues (Mostly).
Use NetBSD /usr/pkg prefered install paths (Need to be done differently for
portability across different OSs).
Fix cmake build on NetBSD.
Prefer native build on 64 bit platforms (tested NetBSD/amd64 and Android/aarch64
This may need to be done differntly to still allow a native build on
32 bit platforms).
Android:
Fix build on 64 bit platforms aarch64/arm-v8.
Handle touch screen events in a thread so select and wordlist taps work.
Fix build for latest AndroidStudio SDK (11/2019).
Enable NEON acceleration by default.
Attept to improve preformance by speeding up screen refresh rate (Not working
as expected).
Fix audio play back and crash due to null dereference on play back start.

I hope this helps.

Best regards,

Nat
android-enintein-github-patch.txt

@MatthiasWM
Copy link
Collaborator

Phew, sorry, I only now saw your patch. Generally, it is helpful for us devs to have a separate patch file for each issue, or at least for each platform.

As for your Android patches, admittedly, I have not done much Android development in a while, and I am not sure when I will get back to it. Einstein worked find for a while, but newer versions of the OS broke my broken code even more, losing essential features. I wish we could get an experienced Android developer on board.

I saw your patches for the Linux version. By now, Einstein runs very well using FLTK 1.4 on Windows, MacOS and Linux, giving you a complete UI and even an integrated NewtonScript compiler. Probably a nice alternative to pure X11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants